Function at 0x443520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5dcc
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov byte [ebp - 0x27d], cl
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov ecx, edi
push 1
sub esp, 8
call fcn.00449020
push 1
push 0xffffffffffffffff
push 0x4f0be4
mov ecx, edi
mov ebx, eax
call fcn.00448fa0
push ebx
mov dword [ebp - 0x288], eax
mov ecx, edi
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0044e1d0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
push str.HKCU
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.004abafd
add esp, 8
test eax, eax
je 0x443739
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push str.HKEY_CURRENT_USER
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.004abafd
add esp, 8
test eax, eax
je 0x443739
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push str.HKLM
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.004abafd
add esp, 8
test eax, eax
je 0x443732
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push str.HKEY_LOCAL_MACHINE
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.004abafd
add esp, 8
test eax, eax
je 0x443732
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push str.HKCR
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.004abafd
add esp, 8
test eax, eax
je 0x44372b
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push str.HKEY_CLASSES_ROOT
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.004abafd
add esp, 8
test eax, eax
je 0x44372b
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push str.HKEY_USERS
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.004abafd
add esp, 8
test eax, eax
jne 0x4436f7
mov esi, reloc.WS2_32.dll_closesocket
jmp 0x44373e
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push str.HKEY_CURRENT_CONFIG
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.004abafd
add esp, 8
test eax, eax
jne 0x443724
mov esi, VariantCopy
jmp 0x44373e
xor bl, bl
jmp 0x44388f
mov esi, SysReAllocString
jmp 0x44373e
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x44373e
mov esi, SysReAllocString
mov eax, dword [ebp - 0x288]
mov ecx, edi
sub eax, ebx
dec eax
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0044e1d0
mov eax, dword [ebp - 0x288]
mov ecx, edi
push 0xffffffffffffffff
inc eax
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0044e1d0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x23c], 0
je 0x443817
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x24c]
mov edx, 0x100
cmovae ecx, dword [ebp - 0x24c]
xor eax, eax
cmp byte [ebp - 0x27d], al
cmovne eax, edx
or eax, 0x20019
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x443817
cmp dword [ebp - 0x250], 8
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x28c], 0x104
push ecx
push 0
lea eax, [ebp - 0x264]
cmovae eax, dword [ebp - 0x264]
push 0
push eax
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4438cb
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov eax, dword [ebp - 0x250]
cmp eax, 8
jb 0x443837
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x254], 0
cmp eax, 8
jb 0x443872
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x4438ad
inc ecx
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call fcn.00433600
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x21c]
push eax
call fcn.00439260
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x443819