Function at 0x432f80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6231
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x4e50cc]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x82c], eax
mov dword [edi + 0x10], 0
jb 0x432fca
mov ecx, dword [edi]
mov byte [ecx], 0
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x432fde
mov ecx, dword [esi]
jmp 0x432fe0
mov ecx, esi
mov byte [ecx], 0
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x432ff2
mov eax, dword [eax]
mov byte [eax], 0
cmp dword [0x4e5374], 0
je 0x4332ae
xorps xmm0, xmm0
mov dword [ebp - 0x820], 0
movq qword [ebp - 0x828], xmm0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 4], 0
mov eax, 0x4e5364
cmp dword [0x4e5378], 8
push ecx
cmovae eax, dword [0x4e5364]
push eax
push ecx
lea ecx, [ebp - 0x828]
call fcn.00431b80
test eax, eax
je 0x433075
mov eax, dword [ebp - 0x828]
test eax, eax
je 0x4332ae
push eax
jmp 0x4332a8
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x400
push eax
lea eax, [ebp - 0x814]
push eax
push str.XProxyServer
lea ecx, [ebp - 0x828]
call fcn.00431bf0
test eax, eax
jne 0x433061
push 0xfde9
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x844]
call fcn.00434c10
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x818], eax
cmp edi, eax
je 0x4330f6
cmp dword [edi + 0x14], 0x10
jb 0x4330dd
push dword [edi]
call ebx
mov eax, dword [ebp - 0x818]
add esp, 4
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push eax
mov byte [edi], 0
call fcn.00402f06
cmp dword [ebp - 0x830], 0x10
jb 0x43310a
push dword [ebp - 0x844]
call ebx
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 - 0x828]
call fcn.00431bf0
mov edi, dword [ebp - 0x828]
test eax, eax
jne 0x4332a3
push 0xfde9
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x844]
call fcn.00434c10
add esp, 4
mov dword [ebp - 0x81c], eax
cmp esi, eax
je 0x43318f
cmp dword [esi + 0x14], 0x10
jb 0x433176
push dword [esi]
call ebx
mov eax, dword [ebp - 0x81c]
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.00402f06
cmp dword [ebp - 0x830], 0x10
jb 0x4331a3
push dword [ebp - 0x844]
call ebx
add esp, 4
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x81c]
push eax
push 0
push str.XProxyPassword
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4332a3
cmp dword [ebp - 0x81c], 3
jne 0x4332a3
mov eax, dword [ebp - 0x818]
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x4332ca
xor ecx, ecx
push ecx
sub esp, 0x18
mov word [ebp + eax - 0x814], cx
mov ecx, esp
mov dword [ebp - 0x81c], esp
push str.encrypt_B192E67D_8E42_4382_A359_E65945D1ED48
call fcn.00402d59
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x814]
mov ecx, esp
push eax
call fcn.00402d59
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0
call fcn.004858d0
add esp, 0x30
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x844]
call fcn.00434be0
mov ecx, dword [ebp - 0x82c]
add esp, 4
push eax
call fcn.004088f8
cmp dword [ebp - 0x830], 0x10
jb 0x433274
push dword [ebp - 0x844]
call ebx
add esp, 4
cmp dword [ebp - 0x84c], 8
mov dword [ebp - 0x830], 0xf
mov dword [ebp - 0x834], 0
mov byte [ebp - 0x844], 0
jb 0x4332a3
push dword [ebp - 0x860]
call ebx
add esp, 4
test edi, edi
je 0x4332ae
push edi
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.004a5ae0
mov esp, ebp
pop ebp
ret
call fcn.004a5e52
int3