Function at 0x40df50
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594fce
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x14]
call fcn.004a2910
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004a2910
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004a2910
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 4]
push ecx
push 0x5a3158
lea edx, [ebp - 0x14]
push edx
call fcn.004098b0
add esp, 0xc
push 0x5a3178
lea eax, [ebp - 0x10]
push eax
call fcn.004098b0
add esp, 8
push 0x5a2e82
lea ecx, [ebp - 0x18]
call fcn.00409090
cmp dword [ebp + 8], 0
je 0x40e25f
mov ecx, dword [ebp - 0x88]
add ecx, 0x1c
push ecx
mov edx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, edx
call fcn.00408fd0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x88]
add ecx, 0x20
push ecx
mov edx, esp
mov dword [ebp - 0x20], esp
push ecx
mov ecx, edx
call fcn.00408fd0
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 2
call fcn.00497e90
add esp, 8
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jge 0x40e113
mov eax, dword [ebp - 0x88]
movzx ecx, byte [eax + 0x5d]
cmp ecx, 2
jne 0x40e113
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5a31ac
call fcn.00408ff0
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x5a31b0
call fcn.00408ff0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00408fd0
mov dword [ebp - 0xac], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 2
call fcn.00492e20
add esp, 0x14
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x40e113
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408330
jmp 0x40e508
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, 0x61c730
call fcn.00406730
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
push edx
push str.__s___afterreboot__s
lea eax, [ebp - 0x18]
push eax
call fcn.004098b0
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00408330
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00408fd0
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x88]
add ecx, 4
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push ecx
mov ecx, edx
call fcn.00408fd0
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00408fd0
mov dword [ebp - 0xcc], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 2
call fcn.00492e20
add esp, 0x14
push 0
mov eax, dword [ebp - 0x88]
add eax, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.00408fd0
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x5a31d0
call fcn.00408ff0
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x14]
push eax
call fcn.00408fd0
mov dword [ebp - 0xe0], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 2
call fcn.00492e20
add esp, 0x14
jmp 0x40e4e1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x5a31dc
call fcn.00408ff0
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00408fd0
mov dword [ebp - 0xec], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 2
call fcn.00493210
add esp, 0x10
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 1
jne 0x40e330
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x5a2e83
call fcn.00408ff0
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x5a31e4
call fcn.00408ff0
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ecx
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00408fd0
mov dword [ebp - 0x104], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 2
call fcn.00492e20
add esp, 0x14
push 0
mov eax, dword [ebp - 0x88]
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
call fcn.00408fd0
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00408fd0
mov dword [ebp - 0x110], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 2
call fcn.00493210
add esp, 0x10
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 1
jne 0x40e40d
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x5a2e93
call fcn.00408ff0
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x88]
add ecx, 4
push ecx
mov edx, esp
mov dword [ebp - 0x6c], esp
push ecx
mov ecx, edx
call fcn.00408fd0
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00408fd0
mov dword [ebp - 0x128], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 2
call fcn.00492e20
add esp, 0x14
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x5a31ec
call fcn.00408ff0
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00408fd0
mov dword [ebp - 0x134], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 2
call fcn.00493210
add esp, 0x10
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 1
jne 0x40e4e1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x5a2e9a
call fcn.00408ff0
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x5a31f8
call fcn.00408ff0
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x148], ecx
mov byte [ebp - 4], 0x13
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00408fd0
mov dword [ebp - 0x14c], eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 2
call fcn.00492e20
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4