Function at 0x403a30
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42708c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
push 0x432590
lea ecx, [esp + 0x28]
mov dword [esp + 0x158], ebx
call fcn.0041c915
mov eax, dword [0x432858]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push 0x80000002
mov byte [esp + 0x178], 2
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x2c], ebx
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x403ac3
lea ecx, [esp + 0xc]
call fcn.00403f60
mov ecx, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x403b0b
push ebx
push ebx
push 0x4324f4
mov ecx, esi
call fcn.0041e674
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 1
call fcn.0041c8a7
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], bl
call fcn.0041c8a7
lea ecx, [esp + 0xc]
mov dword [esp + 0x154], 0xffffffff
call fcn.00403f60
jmp 0x403f3a
mov eax, dword [esi + 0x1f8]
push ebp
lea edx, [esp + 0x20]
push edi
push edx
push ebx
push 0x466
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov ebp, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push 0x432584
push ecx
mov dword [esp + 0x28], ebx
call ebp
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.ws2_32.dll_inet_addr]
push eax
call dword [sym.imp.ws2_32.dll_htonl]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
mov edi, 4
push 0x43256c
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], edi
call ebp
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push 0x432560
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edi
call ebp
lea edx, [esp + 0x1c]
lea eax, [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push 0x432554
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edi
call ebp
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x50]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
push ecx
push edx
mov dword [esp + 0x34], 0x104
mov dword [esp + 0x28], ebx
push ebx
mov eax, dword [esp + 0x24]
push 0x432548
push eax
call ebp
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x24]
call fcn.0041ca30
lea edx, [esp + 0x1c]
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
mov edi, 4
push 0x43253c
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edi
call ebp
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push 0x43252c
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edi
call ebp
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push 0x432578
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edi
call ebp
lea edx, [esp + 0x1c]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push 0x43251c
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edi
call ebp
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x40]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push 0x43250c
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edi
call ebp
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x234]
cmp ecx, eax
jne 0x403d58
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x238]
cmp edx, eax
jne 0x403d58
mov eax, dword [esi + 0x230]
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.0040d5ac
add esp, 8
test eax, eax
jne 0x403d58
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 0x23c]
cmp ecx, eax
jne 0x403d58
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
cmp edx, eax
jne 0x403d58
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x244]
cmp eax, ecx
jne 0x403d58
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x21c]
cmp ecx, eax
jne 0x403d58
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x24c]
cmp edx, eax
jne 0x403d58
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x248]
cmp eax, ecx
je 0x403f08
cmp dword [esp + 0x164], ebx
je 0x403da0
mov ecx, dword [0x432858]
mov dword [esp + 0x10], ecx
push 0xfaf
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 3
call fcn.0041fa88
mov edx, dword [esp + 0x10]
push ebx
push ebx
push edx
mov ecx, esi
call fcn.0041e674
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 2
call fcn.0041c8a7
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ws2_32.dll_htonl_1]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.ws2_32.dll_inet_ntoa]
mov edi, eax
push edi
call dword [sym.imp.kernel32.dll_lstrlen]
mov ecx, dword [esp + 0x14]
inc eax
push eax
push edi
mov edi, dword [sym.imp.advapi32.dll_RegSetValueExA]
push 1
push ebx
push 0x432584
push ecx
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x21c]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push ebx
push 0x432578
push ecx
mov dword [esp + 0x30], edx
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x22c]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push ebx
push 0x43256c
push ecx
mov dword [esp + 0x30], edx
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x234]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push ebx
push 0x432560
push ecx
mov dword [esp + 0x30], edx
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x238]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push ebx
push 0x432554
push ecx
mov dword [esp + 0x30], edx
call edi
mov ebp, dword [esi + 0x230]
push ebp
call dword [sym.imp.kernel32.dll_lstrlen]
mov edx, dword [esp + 0x14]
inc eax
push eax
push ebp
push 1
push ebx
push 0x432548
push edx
call edi
mov eax, dword [esi + 0x244]
lea ecx, [esp + 0x18]
push 4
push ecx
mov dword [esp + 0x20], eax
push 4
mov edx, dword [esp + 0x20]
push ebx
push 0x43252c
push edx
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x24c]
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push ebx
push 0x43251c
push edx
mov dword [esp + 0x30], eax
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x248]
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push ebx
push 0x43250c
push edx
mov dword [esp + 0x30], eax
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x23c]
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push ebx
push 0x43253c
push edx
mov dword [esp + 0x30], eax
call edi
cmp eax, ebx
je 0x403f08
push ebx
push ebx
push 0x4325c8
mov ecx, esi
call fcn.0041e674
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 1
call fcn.0041c8a7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], bl
call fcn.0041c8a7
mov eax, dword [esp + 0x14]
pop edi
cmp eax, ebx
pop ebp
je 0x403f3a
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 4