Function at 0x40abb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x520e3b
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x574674]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push ebp
push esi
mov eax, dword [0x574674]
xor eax, esp
push eax
lea eax, [esp + 0x844]
mov dword fs:[0], eax
mov eax, dword [esp + 0x858]
mov ebp, dword [esp + 0x854]
xor esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov eax, 0x566d2c
mov ebx, ecx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], esi
mov word [esp + 0x28], si
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40ac20
sub eax, edx
sar eax, 1
push eax
push 0x566d2c
lea ecx, [esp + 0x2c]
call fcn.00402110
lea ecx, [esp + 0x18]
push ecx
push 0xf013f
push esi
mov dword [esp + 0x858], esi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40acaa
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x2c]
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
push edx
mov ecx, edi
mov word [edi + 4], si
call fcn.00401e80
cmp dword [esp + 0x3c], 8
jb 0x40ae09
mov eax, dword [esp + 0x28]
push eax
call fcn.00418473
add esp, 4
jmp 0x40ae09
mov edx, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x14]
push ecx
push esi
push 0xf013f
push esi
push esi
push esi
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edx
call ebx
test eax, eax
je 0x40ad10
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x2c]
push ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
mov ecx, edi
mov word [edi + 4], si
call fcn.00401e80
cmp dword [esp + 0x3c], 8
jb 0x40ae09
mov edx, dword [esp + 0x28]
push edx
call fcn.00418473
add esp, 4
jmp 0x40ae09
mov ecx, dword [esp + 0x10]
push esi
lea eax, [esp + 0x18]
push eax
push esi
push 0xf013f
push esi
push esi
push esi
push ebp
push ecx
call ebx
test eax, eax
je 0x40ad79
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebx
mov eax, dword [esp + 0x14]
push eax
call ebx
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x2c]
push ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
mov ecx, edi
mov word [edi + 4], si
call fcn.00401e80
cmp dword [esp + 0x3c], 8
jb 0x40ae09
mov edx, dword [esp + 0x28]
push edx
call fcn.00418473
add esp, 4
jmp 0x40ae09
push 0x7fe
lea eax, [esp + 0x46]
push esi
push eax
mov word [esp + 0x4c], si
call fcn.00437ec0
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x44]
push edx
push esi
push esi
push eax
push ecx
mov dword [esp + 0x34], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebx
mov ecx, dword [esp + 0x18]
push ecx
call ebx
lea eax, [esp + 0x40]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40add7
sub eax, edx
sar eax, 1
mov ecx, edi
jne 0x40adf6
lea edx, [esp + 0x24]
push edx
call fcn.00401e20
jmp 0x40ae00
lea eax, [esp + 0x40]
push eax
call fcn.00401de0
lea ecx, [esp + 0x24]
call fcn.00401e50
mov eax, edi
mov ecx, dword [esp + 0x844]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.004338df
add esp, 0x840
ret