Function at 0x40f31b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0
mov ebx, 0x210
call fcn.0045cde0
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
call fcn.0040f094
mov dword [ebp - 0x1c], eax
mov ebx, dword [0x71a293]
add ebx, 0x44
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.0040118f
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f3a2
push ebx
call fcn.004538cb
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40f3b5
mov eax, 0x47f2f1
push eax
push 1
mov ebx, 0x160
call fcn.0045d380
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f3de
push ebx
call fcn.004538cb
add esp, 4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_closesocket
push dword [ebp - 4]
push dword [ebp - 8]
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 3
mov ebx, 0x1e0
call fcn.0045d890
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fld qword [ebp - 0x28]
call fcn.004011eb
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x168
call fcn.0045ab20
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0x7165ee
mov ecx, 2
call fcn.0040118f
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f476
push ebx
call fcn.004538cb
add esp, 4
lea eax, [ebp - 0x20]
push eax
push 0x71a33b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f49c
push ebx
call fcn.004538cb
add esp, 4
cmp dword [ebp - 0x14], 0
jge 0x40f598
mov ebx, dword [0x71a32f]
call fcn.00402f2e
mov eax, 2
cmp eax, ecx
jl 0x40f4c7
push 1
call fcn.004538d1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
cmp dword [0x71a337], 0
je 0x40f581
push 0x71a33f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.00401bd0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push dword [0x71a337]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40f52c
push 6
call fcn.004538d1
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40f572
mov dword [ebp - 0x1c], esp
push dword [0x71a337]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40f55e
push 6
call fcn.004538d1
add esp, 4
mov dword [0x71a337], 0
mov dword [0x71a343], 0
push 0x71a33f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x71a33b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x40f5ed
cmp dword [0x71a337], 0
jne 0x40f5ed
mov ebx, dword [0x71a32f]
call fcn.00402f2e
mov eax, 2
cmp eax, ecx
jl 0x40f5c6
push 1
call fcn.004538d1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x71a33b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 0x10