Function at 0x43d370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3d66
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005a52f0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005a52f0
add esp, 0x18
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call fcn.00405670
mov esi, dword [ebp - 0x444]
test eax, eax
jne 0x43d481
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 4
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x454]
push eax
push 0
push str.ProxyEnable
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x42c], eax
test esi, esi
je 0x43d49b
push esi
call eax
mov eax, dword [ebp - 0x42c]
xor esi, esi
mov edi, dword [ebp - 0x424]
test esi, esi
je 0x43d4a8
push esi
call eax
test edi, edi
je 0x43d6cc
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x450]
call fcn.00405670
mov esi, dword [ebp - 0x450]
test eax, eax
jne 0x43d6c1
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.ProxyServer
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43d6c1
mov eax, dword [ebp - 0x428]
cmp eax, 1
je 0x43d51e
cmp eax, 2
jne 0x43d6c1
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x43d6b8
test al, 1
jne 0x43d6c1
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
jne 0x43d6c1
xor eax, eax
cmp ax, word [ebp - 0x218]
je 0x43d6c1
lea eax, [ebp - 0x218]
push eax
call fcn.005a9374
lea eax, [ebp - 0x218]
mov dword [ebx], 2
push str.socks
push eax
call fcn.005a4f11
add esp, 0xc
test eax, eax
je 0x43d5a2
lea ecx, [eax + 0xc]
mov dword [ebx], 3
lea edx, [ebp - 0x420]
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x43d590
jmp 0x43d5fc
lea eax, [ebp - 0x218]
push str.http
push eax
call fcn.005a4f11
add esp, 8
mov dword [ebx], 2
test eax, eax
je 0x43d5e2
lea ecx, [eax + 0xa]
lea edx, [ebp - 0x420]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x43d5d0
jmp 0x43d5fc
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x43d5e4
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x43d6f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x424]
call fcn.00406c20
test al, al
jne 0x43d662
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d640
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00406ed0
push dword [ebp - 0x434]
mov edi, dword [ebp - 0x438]
lea eax, [ebp - 0x424]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.0043d700
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x424]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d6a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
xor ecx, ecx
mov edx, 1
cmp dword [eax - 0xc], ecx
cmovne ecx, edx
mov dword [ebp - 0x430], ecx
jmp 0x43d6c1
xor eax, eax
mov word [ebp - 0x218], ax
test esi, esi
je 0x43d6cc
push esi
call dword [ebp - 0x42c]
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00405600
int3