Function at 0x420ed8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
cmp dword [0x684ff3], 0
je 0x4211ba
push dword [ebp + 8]
call fcn.004211ec
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x420f37
push ebx
call fcn.00450dc2
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0x684f57]
call fcn.004029de
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x420fe8
mov ebx, dword [0x684f57]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x420fa0
mov eax, 0x4792d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x420fb4
mov eax, 0x4792d5
push eax
push 4
mov ebx, 0x148
call fcn.00458450
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x420fe0
mov dword [ebp - 4], 1
jmp 0x420fe8
pop eax
pop ebx
pop ecx
jmp 0x420f4f
add esp, 0xc
cmp dword [ebp - 4], 1
jne 0x4211ba
cmp dword [0x684ff3], 0
je 0x4211ba
push 0x685003
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004074b1
push eax
push dword [0x684ff3]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4211ab
push dword [0x684ff3]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov dword [0x684ff3], 0
mov dword [0x685007], 0
mov eax, 0x681d0c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040c74d
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x421080
push ebx
call fcn.00450dc2
add esp, 4
lea eax, [ebp - 8]
push eax
call fcn.0040c74d
mov dword [ebp - 0x20], eax
mov eax, 0x4a7046
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040c74d
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4210b0
push ebx
call fcn.00450dc2
add esp, 4
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 - 0x28]
push 1
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x1c]
call fcn.0040c77a
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42116b
push ebx
call fcn.00450dc2
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x30
mov eax, 0x681cf9
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push dword [0x684f6f]
push 0x684f2f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4211ab
push ebx
call fcn.00450dc2
add esp, 4
push 0x685003
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 1
jmp 0x4211c4
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4211d5
push ebx
call fcn.00450dc2
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4211e5
push ebx
call fcn.00450dc2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8