Function at 0x41a630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c70c
mov eax, dword fs:[0]
push eax
mov eax, 0x34d8
call fcn.004d7530
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34e0], 0
mov dword [ebp - 0x34dc], 0
mov dword [ebp - 0x34d8], 0
push 0x104a
lea eax, [ebp - 0x105c]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x34d4], 0x825
call fcn.004d9fe0
add esp, 0xc
lea ecx, [ebp - 0x34e0]
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call fcn.00419440
test eax, eax
je 0x41a6da
mov eax, dword [ebp - 0x34e0]
test eax, eax
je 0x41a931
push eax
jmp 0x41a92b
mov esi, dword [ebp - 0x34e0]
lea eax, [ebp - 0x34d0]
push eax
lea eax, [ebp - 0x34e4]
mov dword [ebp - 0x34e4], 0
push eax
lea eax, [ebp - 0x34cc]
mov dword [ebp - 0x34d0], 4
push eax
push 0
push str.ProxyEnable
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a926
cmp dword [ebp - 0x34cc], 4
jne 0x41a926
cmp dword [ebp - 0x34e4], 1
jne 0x41a926
lea eax, [ebp - 0x34d4]
push eax
lea eax, [ebp - 0x105c]
push eax
push str.ProxyServer
lea ecx, [ebp - 0x34e0]
call fcn.004194f0
test eax, eax
jne 0x41a926
mov eax, dword [0x5c6ad0]
mov dword [ebp - 0x34cc], eax
lea eax, [ebp - 0x105c]
shr eax, 0x10
test eax, eax
lea eax, [ebp - 0x105c]
jne 0x41a78e
movzx eax, ax
lea ecx, [ebp - 0x34cc]
push eax
call fcn.00413df0
jmp 0x41a7c4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41a7c4
push esi
lea ecx, [ebp - 0x34cc]
call fcn.00413af0
test eax, eax
je 0x41a7c4
lea eax, [esi + esi]
push eax
lea eax, [ebp - 0x105c]
push eax
push dword [ebp - 0x34cc]
call fcn.004d9a60
add esp, 0xc
push 0x3d
lea ecx, [ebp - 0x34cc]
mov byte [ebp - 4], 1
call fcn.00419fb0
test eax, eax
jle 0x41a904
push str.http
lea ecx, [ebp - 0x34cc]
call fcn.0041a0a0
test eax, eax
js 0x41a8d7
lea ecx, [eax + 5]
mov eax, dword [ebp - 0x34cc]
mov eax, dword [eax - 8]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x34d0]
push eax
lea ecx, [ebp - 0x34cc]
call fcn.00419fe0
lea eax, [ebp - 0x34d0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34cc]
call fcn.00415170
lea ecx, [ebp - 0x34d0]
mov byte [ebp - 4], 1
call fcn.00413c80
push 0x3b
lea ecx, [ebp - 0x34cc]
call fcn.00419fb0
test eax, eax
js 0x41a881
push eax
push 0
lea eax, [ebp - 0x34d4]
push eax
lea ecx, [ebp - 0x34cc]
call fcn.00419fe0
push eax
lea ecx, [ebp - 0x34cc]
mov byte [ebp - 4], 3
call fcn.00415170
lea ecx, [ebp - 0x34d4]
mov byte [ebp - 4], 1
call fcn.00413c80
lea ecx, [ebp - 0x34c8]
call fcn.004195c0
lea ecx, [ebp - 0x34c8]
call fcn.00419ec0
push dword [ebp - 0x34cc]
lea ecx, [ebp - 0x34c8]
call fcn.004196d0
test eax, eax
je 0x41a8d7
cmp dword [ebp - 0x1078], 0xffffffff
lea ecx, [edi + 4]
jne 0x41a8ef
lea eax, [ebp - 0x34c8]
push eax
call fcn.00413d20
lea eax, [ebp - 0x3486]
push eax
call fcn.004e1a93
add esp, 4
cwde
mov dword [edi + 8], eax
lea ecx, [ebp - 0x34cc]
call fcn.00413c80
lea ecx, [ebp - 0x34e0]
call fcn.00419420
jmp 0x41a931
lea eax, [ebp - 0x3486]
push eax
call fcn.00413d20
movzx eax, word [ebp - 0x107c]
jmp 0x41a8d4
lea ecx, [ebp - 0x34c8]
call fcn.004195c0
lea ecx, [ebp - 0x34c8]
call fcn.00419ec0
lea eax, [ebp - 0x105c]
push eax
jmp 0x41a89d
test esi, esi
je 0x41a931
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret