Function at 0x412b9f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
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
mov dword [ebp - 0x1c], 0
push 0
mov ebx, 0x210
call fcn.00451c70
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ebx, dword [0x54ae44]
add ebx, 0x44
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
call fcn.00412723
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x412c1b
mov eax, 0x4732d5
push eax
push 1
mov ebx, 0x160
call fcn.00452210
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412c44
push ebx
call fcn.00449e4f
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.00452970
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.00401131
mov dword [ebp - 0x14], eax
mov eax, 0x54771f
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040c6e5
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412cb9
push ebx
call fcn.00449e4f
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
push 1
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x24]
call fcn.0040c712
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x412d7b
push ebx
call fcn.00449e4f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x54af40
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x108]
cmp dword [ebp - 0x14], 0
jge 0x412e3b
push 0x54af48
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
cmp dword [0x54af3c], 0
je 0x412e24
push 0x54af4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407453
push eax
push dword [0x54af3c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x412e15
push dword [0x54af3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov dword [0x54af3c], 0
mov dword [0x54af50], 0
push 0x54af4c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x54af40
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x412e69
cmp dword [0x54af3c], 0
jne 0x412e69
push 0x54af48
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x54af40
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x412e79
push ebx
call fcn.00449e4f
add esp, 4
mov esp, ebp
pop ebp
ret 0x10