Function at 0x412dd9
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.00458920
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ebx, dword [0x6d1441]
add ebx, 0x44
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
call fcn.0041295d
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x412e55
mov eax, 0x4792d5
push eax
push 1
mov ebx, 0x160
call fcn.00458ec0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412e7e
push ebx
call fcn.00450b00
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.00459620
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, 0x6cd6b8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040c726
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412ef3
push ebx
call fcn.00450b00
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.0040c753
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x412fb5
push ebx
call fcn.00450b00
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x6d1541
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
cmp dword [ebp - 0x14], 0
jge 0x413075
push 0x6d1549
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
cmp dword [0x6d153d], 0
je 0x41305e
push 0x6d154d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00407494
push eax
push dword [0x6d153d]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x41304f
push dword [0x6d153d]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov dword [0x6d153d], 0
mov dword [0x6d1551], 0
push 0x6d154d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x6d1541
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x4130a3
cmp dword [0x6d153d], 0
jne 0x4130a3
push 0x6d1549
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x6d1541
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 0x4130b3
push ebx
call fcn.00450b00
add esp, 4
mov esp, ebp
pop ebp
ret 0x10