Function at 0x40ecd1
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.0045a390
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
call fcn.0040eabf
mov dword [ebp - 0x1c], eax
mov ebx, dword [0x70925a]
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.004011bf
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ed58
push ebx
call fcn.00450d41
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40ed6b
mov eax, 0x46e281
push eax
push 1
mov ebx, 0x160
call fcn.0045a930
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ed94
push ebx
call fcn.00450d41
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.0045ae40
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fld qword [ebp - 0x28]
call fcn.0040121b
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x168
call fcn.00457e70
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0x7055f9
mov ecx, 2
call fcn.004011bf
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ee2c
push ebx
call fcn.00450d41
add esp, 4
lea eax, [ebp - 0x20]
push eax
push 0x709322
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 0x40ee52
push ebx
call fcn.00450d41
add esp, 4
cmp dword [ebp - 0x14], 0
jge 0x40ef27
push 0x70932a
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
cmp dword [0x70931e], 0
je 0x40ef10
push 0x70932e
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.00401bc9
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push dword [0x70931e]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40eebb
push 6
call fcn.00450d47
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40ef01
mov dword [ebp - 0x1c], esp
push dword [0x70931e]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40eeed
push 6
call fcn.00450d47
add esp, 4
mov dword [0x70931e], 0
mov dword [0x709332], 0
push 0x70932e
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x709322
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x40ef55
cmp dword [0x70931e], 0
jne 0x40ef55
push 0x70932a
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x709322
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 0x10