Function at 0x422ae9
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 [0x6d9564], 0
je 0x422e19
push dword [ebp + 8]
call fcn.00422e4b
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x422b48
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0x6d9500]
call fcn.00402c41
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 0x422c18
mov ebx, dword [0x6d9500]
call fcn.00402c5a
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x422b8e
push 4
call fcn.00458c83
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x422ba1
push 1
call fcn.00458c83
add esp, 4
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 0x422bd0
mov eax, 0x4812d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x422be4
mov eax, 0x4812d5
push eax
push 4
mov ebx, 0x148
call fcn.00460310
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x422c10
mov dword [ebp - 4], 1
jmp 0x422c18
pop eax
pop ebx
pop ecx
jmp 0x422b60
add esp, 0xc
cmp dword [ebp - 4], 1
jne 0x422e19
cmp dword [0x6d9564], 0
je 0x422e19
push 0x6d9574
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004078d2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
push dword [0x6d9564]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x422c75
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x422e0a
mov dword [ebp - 0x18], esp
push dword [0x6d9564]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x422ca7
push 6
call fcn.00458c83
add esp, 4
mov dword [0x6d9564], 0
mov dword [0x6d9578], 0
mov eax, 0x6d60dc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00408e00
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x422cdf
push ebx
call fcn.00458c7d
add esp, 4
lea eax, [ebp - 8]
push eax
call fcn.00408e00
mov dword [ebp - 0x20], eax
mov eax, 0x4af074
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408e00
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x422d0f
push ebx
call fcn.00458c7d
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.00408e42
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x422dca
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x30
mov eax, 0x6d60c9
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push dword [0x6d9518]
push 0x6d94d8
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 0x422e0a
push ebx
call fcn.00458c7d
add esp, 4
push 0x6d9574
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 1
jmp 0x422e23
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x422e34
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x422e44
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8