Function at 0x403520
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x427056
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x1c], ebx
push 0x432590
lea ecx, [esp + 0x18]
mov dword [esp + 0x130], ebx
call fcn.0041c915
mov edx, dword [esp + 0x14]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push 0x20019
push ebx
push ebx
push ebx
push edx
push 0x80000002
mov byte [esp + 0x150], 1
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x34], ebx
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4039d0
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edi
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push 0x432584
push ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebx
call edi
cmp eax, ebx
jne 0x4035ef
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.ws2_32.dll_inet_addr]
push eax
call dword [sym.imp.ws2_32.dll_htonl]
mov ecx, dword [esi + 0x1f8]
push eax
push ebx
push 0x465
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
lea edx, [esp + 0x14]
lea eax, [esi + 0x21c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push 0x432578
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call edi
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x10]
lea ebx, [esi + 0x22c]
push edx
lea eax, [esp + 0x18]
push ebx
push eax
push 0
push 0x43256c
push ebp
mov dword [esp + 0x28], 4
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x234]
push ecx
lea edx, [esp + 0x18]
push eax
push edx
push 0
push 0x432560
push ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 4
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x238]
push ecx
lea edx, [esp + 0x18]
push eax
push edx
push 0
push 0x432554
push ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 4
call edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x10], eax
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0x432548
push ebp
mov dword [esp + 0x38], 0x104
call edi
lea eax, [esp + 0x10]
lea ecx, [esi + 0x23c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0x43253c
push ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 4
call edi
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 4
push eax
lea ecx, [esi + 0x244]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0x43252c
push ebp
call edi
lea eax, [esp + 0x10]
lea ecx, [esi + 0x24c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0x43251c
push ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 4
call edi
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ebp, [esi + 0x248]
push eax
lea ecx, [esp + 0x18]
push ebp
push ecx
push 0
push 0x43250c
push edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 4
call edi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40379a
lea eax, [esp + 0x28]
lea ecx, [esi + 0x230]
push eax
call fcn.0041ca30
cmp dword [esi + 0x234], 0x200
jbe 0x4037b0
mov dword [esi + 0x234], 0x200
mov ecx, dword [ebx]
push ecx
push 0x3f8
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov edx, dword [ebx]
mov ecx, esi
push edx
push 0x3f6
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov eax, dword [ebx]
mov edx, dword [esi + 0x238]
and eax, edx
mov ecx, esi
push eax
push 0x3f4
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov ecx, dword [ebx]
push ecx
push 0x3f7
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov edx, dword [ebx]
mov ecx, esi
push edx
push 0x3fa
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov eax, dword [ebx]
mov edx, dword [esi + 0x238]
and eax, edx
mov ecx, esi
push eax
push 0x3fe
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov ecx, dword [ebx]
push ecx
push 0x402
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov eax, dword [ebp]
xor edx, edx
test eax, eax
sete dl
push edx
push 0x3f3
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov edx, dword [ebp]
xor eax, eax
test edx, edx
sete al
push eax
push 0x3f8
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov ebx, dword [ebp]
xor ecx, ecx
test ebx, ebx
sete cl
push ecx
push 0x3f6
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov ecx, dword [ebp]
mov eax, dword [esi + 0x238]
xor edx, edx
test ecx, ecx
sete dl
and edx, eax
mov ecx, esi
push edx
push 0x3f4
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov edx, dword [ebp]
xor eax, eax
test edx, edx
sete al
push eax
push 0x3f7
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov edi, dword [ebp]
xor ecx, ecx
test edi, edi
sete cl
push ecx
push 0x3fa
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov eax, dword [ebp]
xor edx, edx
test eax, eax
sete dl
push edx
push 0x3fe
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov edx, dword [ebp]
xor eax, eax
test edx, edx
sete al
push eax
push 0x402
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov edi, dword [ebp]
xor ecx, ecx
test edi, edi
sete cl
push ecx
push 0x408
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
mov eax, dword [ebp]
xor edx, edx
test eax, eax
sete dl
push edx
push 0x409
mov ecx, esi
call fcn.0041f73c
mov ecx, eax
call fcn.0041f96d
push 0
mov ecx, esi
call fcn.0041edd0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 0
call fcn.0041c8a7
mov eax, dword [esp + 0x18]
pop edi
pop ebp
test eax, eax
je 0x4039b9
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret
push ebx
push ebx
push 0x4324f4
mov ecx, esi
call fcn.0041e674
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0
call fcn.0041c8a7
mov ecx, dword [esp + 0x124]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret