Function at 0x451730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f5eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
push ebx
push esi
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], esp
push str.ExceptionProxyServers
mov dword [ebp - 4], 0
call fcn.0044b680
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x20]
push eax
call fcn.0044b780
test eax, eax
je 0x4517a7
push 0
push 0
mov ecx, ebx
call fcn.004f5f50
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.0044b700
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x44]
mov byte [ebp - 4], 6
sub eax, 0
je 0x451897
dec eax
je 0x45185c
dec eax
je 0x451821
push 0
push 0
mov ecx, ebx
call fcn.004f5f50
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00537b04
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00537b04
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00537b04
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00537b04
jmp 0x45178a
push str.UseHttpsProxy
lea ecx, [ebp - 0x28]
call fcn.00537c8d
push str.HttpsProxy
lea ecx, [ebp - 0x20]
call fcn.00537c8d
push str.HttpsPort
lea ecx, [ebp - 0x1c]
call fcn.00537c8d
push str.HttpsUserName
lea ecx, [ebp - 0x18]
call fcn.00537c8d
push str.HttpsPasword
jmp 0x4518d0
push str.UseHttpProxy
lea ecx, [ebp - 0x28]
call fcn.00537c8d
push str.HttpProxy
lea ecx, [ebp - 0x20]
call fcn.00537c8d
push str.HttpPort
lea ecx, [ebp - 0x1c]
call fcn.00537c8d
push str.HttpUserName
lea ecx, [ebp - 0x18]
call fcn.00537c8d
push str.HttpPasword
jmp 0x4518d0
push str.UseFtpProxy
lea ecx, [ebp - 0x28]
call fcn.00537c8d
push str.FtpProxy
lea ecx, [ebp - 0x20]
call fcn.00537c8d
push str.FtpPort
lea ecx, [ebp - 0x1c]
call fcn.00537c8d
push str.FtpUserName
lea ecx, [ebp - 0x18]
call fcn.00537c8d
push str.FtpPasword
lea ecx, [ebp - 0x24]
call fcn.00537c8d
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x2c]
push ecx
mov ecx, dword [0x5ba8bc]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x14], 4
call esi
test eax, eax
jne 0x4517d5
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4517d5
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x144]
lea edx, [ebp - 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x144]
push edx
mov edx, dword [0x5ba8bc]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], 0x100
call esi
test eax, eax
jne 0x4517d5
lea edi, [ebp - 0x144]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4517d5
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x34], eax
push ecx
mov ecx, dword [0x5ba8bc]
push edx
push eax
mov word [ebp - 0x30], ax
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0xa
push eax
push ecx
call esi
test eax, eax
jne 0x4517d5
lea edx, [ebp - 0x38]
push edx
call fcn.0051c937
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
jle 0x4517d5
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x244]
mov edx, dword [ebp - 0x18]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x344]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x244]
push eax
mov eax, dword [0x5ba8bc]
push ecx
push 0
push 0
mov edi, 0x100
push edx
push eax
mov dword [ebp - 0x14], edi
call esi
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x344]
push ecx
mov ecx, dword [0x5ba8bc]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x14], edi
call esi
lea edi, [ebp - 0x244]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x451a3b
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x344]
lea eax, [ebp - 0x244]
push edx
push eax
lea edx, [ebp - 0x144]
push ecx
push edx
mov ecx, ebx
call fcn.004f60c0
jmp 0x4517e0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x144]
push eax
push ecx
jmp 0x4517d9