Function at 0x53dbe0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x653191
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
mov eax, dword [esp + 0x360]
mov edi, dword [esp + 0x358]
mov ebp, dword [esp + 0x35c]
mov ebx, dword [esp + 0x364]
mov esi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], eax
call fcn.00402500
mov dword [esp + 0x350], 0
push ebp
push edi
lea ecx, [esp + 0x1c]
push str._s:_s
push ecx
call fcn.00402f70
mov eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x53dc90
test dl, dl
je 0x53dc8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x53dc90
add eax, 2
add ecx, 2
test dl, dl
jne 0x53dc70
xor eax, eax
jmp 0x53dc95
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, ecx
jne 0x53dcde
mov edx, dword [esi + 0x60]
mov eax, dword [esp + 0x2c]
push edx
push 0x66dea8
push eax
call fcn.00402f70
mov ecx, dword [esi + 0x64]
push ecx
push 0x66dea8
push ebx
call fcn.00402f70
add esp, 0x18
mov dword [esp + 0x350], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, 1
jmp 0x53e027
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x24]
call fcn.00402500
mov byte [esp + 0x350], 1
push ebp
push edi
lea edx, [esp + 0x2c]
push str.SoftwareDownloadManagerProxyServers_s:_s
push edx
call fcn.00402f70
mov ecx, dword [esp + 0x34]
add esp, 0x10
lea eax, [esp + 0x20]
push eax
push 0xf003f
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x53ddf1
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0x681654
push ecx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x53dde1
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x40]
push edx
push 0x66dea8
push edi
call fcn.00402f70
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x4c]
push eax
push str.EncPassword
push 0x104
push ecx
call fcn.005acac0
add esp, 0x1c
test eax, eax
je 0x53dde1
lea edx, [esp + 0x40]
push edx
push 0x66dea8
push ebx
call fcn.00402f70
mov eax, dword [esp + 0x20]
push eax
lea eax, [esi + 0x5c]
push 0x66dea8
push eax
mov dword [esp + 0x40], 1
call fcn.00402f70
mov ecx, dword [edi]
push ecx
lea edx, [esi + 0x60]
push 0x66dea8
push edx
call fcn.00402f70
mov eax, dword [ebx]
push eax
push 0x66dea8
add esi, 0x64
push esi
call fcn.00402f70
add esp, 0x30
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x53dffe
push pe_nt_image_headers32
lea edx, [esp + 0x248]
push 0
push edx
call fcn.00615eb0
mov edx, dword [0x752bcc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x248]
push ecx
push 0
push 0
push str.HttpProxy
push edx
mov dword [esp + 0x34], pe_nt_image_headers32
call ebp
test eax, eax
jne 0x53dffe
lea eax, [esp + 0x244]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53de47
sub eax, edx
je 0x53dffe
mov edx, dword [0x752bcc]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], ax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push str.HttpPort
push edx
mov dword [esp + 0x34], 0xa
call ebp
test eax, eax
jne 0x53dffe
lea eax, [esp + 0x34]
push eax
call fcn.00617001
mov edi, eax
add esp, 4
test edi, edi
jle 0x53dffe
lea ecx, [esp + 0x18]
call fcn.00402500
mov byte [esp + 0x350], 2
push edi
lea ecx, [esp + 0x248]
push ecx
lea edx, [esp + 0x20]
push str._s:_ld
push edx
call fcn.00402f70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.006172ee
add esp, 0x18
test eax, eax
jne 0x53dfed
push pe_nt_image_headers32
push eax
lea edx, [esp + 0x14c]
push edx
call fcn.00615eb0
push pe_nt_image_headers32
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00615eb0
mov eax, dword [0x752bcc]
add esp, 0x18
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x148]
push edx
push 0
push 0
push str.HttpUserName
push eax
mov dword [esp + 0x34], pe_nt_image_headers32
call ebp
test eax, eax
jne 0x53dfed
lea eax, [esp + 0x144]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53df50
sub eax, edx
je 0x53dfed
mov edx, dword [0x752bcc]
lea ecx, [esp + 0x40]
push ecx
push str.HttpEncPassword
push str.HttpPasword
push pe_nt_image_headers32
push edx
call fcn.005af970
add esp, 0x14
test eax, eax
je 0x53dfed
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x144]
push eax
push 0x66dea8
push edi
call fcn.00402f70
lea ecx, [esp + 0x4c]
push ecx
push 0x66dea8
push ebx
call fcn.00402f70
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esi + 0x5c]
push 0x66dea8
push eax
mov dword [esp + 0x4c], 1
call fcn.00402f70
mov eax, dword [edi]
push eax
lea ecx, [esi + 0x60]
push 0x66dea8
push ecx
call fcn.00402f70
mov edx, dword [ebx]
push edx
push 0x66dea8
add esi, 0x64
push esi
call fcn.00402f70
add esp, 0x3c
mov byte [esp + 0x350], 1
lea ecx, [esp + 0x18]
call fcn.00402570
mov byte [esp + 0x350], 0
lea ecx, [esp + 0x24]
call fcn.00402570
mov dword [esp + 0x350], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.006157d3
add esp, 0x340
ret 0x10