Function at 0x424380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ed21
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [section..data]
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 esi, edx
mov edi, ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [ebp + 8]
mov dword [edi + 0x10], 0
jb 0x4243c6
mov eax, dword [edi]
jmp 0x4243c8
mov eax, edi
mov byte [eax], 0
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4243dc
mov eax, dword [esi]
jmp 0x4243de
mov eax, esi
mov byte [eax], 0
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x4243f2
mov eax, dword [ebx]
jmp 0x4243f4
mov eax, ebx
mov byte [eax], 0
cmp dword [0x4a1190], 0
je 0x424655
xorps xmm0, xmm0
mov dword [ebp - 0x81c], 0
movq qword [ebp - 0x824], xmm0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 4], 0
mov eax, 0x4a1180
cmp dword [0x4a1194], 8
push ecx
cmovae eax, dword [0x4a1180]
push eax
push ecx
lea ecx, [ebp - 0x824]
call fcn.0040de10
test eax, eax
je 0x424477
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x424655
push eax
jmp 0x42464f
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x400
push eax
lea eax, [ebp - 0x814]
push eax
push str.XProxyServer
lea ecx, [ebp - 0x824]
call fcn.0040de80
test eax, eax
jne 0x424463
push 0xfde9
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x840]
call fcn.00426030
add esp, 4
mov ecx, edi
push eax
call fcn.00404330
cmp dword [ebp - 0x82c], 0x10
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4244de
push dword [ebp - 0x840]
call edi
add esp, 4
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x400
push eax
lea eax, [ebp - 0x814]
push eax
push str.XProxyUserName
lea ecx, [ebp - 0x824]
call fcn.0040de80
test eax, eax
jne 0x424644
push 0xfde9
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x840]
call fcn.00426030
add esp, 4
mov ecx, esi
push eax
call fcn.00404330
cmp dword [ebp - 0x82c], 0x10
jb 0x424543
push dword [ebp - 0x840]
call edi
add esp, 4
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push str.XProxyPassword
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424644
cmp dword [ebp - 0x828], 3
jne 0x424644
mov eax, dword [ebp - 0x818]
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x424671
xor ecx, ecx
push ecx
sub esp, 0x18
mov word [ebp + eax - 0x814], cx
mov ecx, esp
mov dword [ebp - 0x828], esp
push str.encrypt_B192E67D_8E42_4382_A359_E65945D1ED48
call fcn.00402e29
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x814]
mov ecx, esp
push eax
call fcn.00402e29
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 0
call fcn.004525d0
add esp, 0x30
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x840]
call fcn.00425f30
add esp, 4
mov ecx, ebx
push eax
call fcn.00404330
cmp dword [ebp - 0x82c], 0x10
jb 0x424615
push dword [ebp - 0x840]
call edi
add esp, 4
cmp dword [ebp - 0x848], 8
mov dword [ebp - 0x82c], 0xf
mov dword [ebp - 0x830], 0
mov byte [ebp - 0x840], 0
jb 0x424644
push dword [ebp - 0x85c]
call edi
add esp, 4
mov ebx, dword [ebp - 0x824]
test ebx, ebx
je 0x424655
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00452da4
mov esp, ebp
pop ebp
ret
call fcn.004533d3
int3