Function at 0x40a00a
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.004b919a
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.004b919a
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x4ca252
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 0x40a09c
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 [0x4d2392], 0
je 0x40a0e9
jmp 0x40b09e
call fcn.0040b181
test eax, eax
je 0x40a105
mov dword [0x4d2392], 1
jmp 0x40b09e
mov eax, 0x4ca91c
test eax, eax
je 0x40a121
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004b919a
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 0x40a132
push ebx
call fcn.004b91a0
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 0x40a170
push 0x187
push 0x4037223
push 6
call fcn.004b91a6
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.0040b29d
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a1a6
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x4ca932
mov ecx, 2
call fcn.00401fae
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 0x40a1db
mov eax, 0x4ca252
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40a1ef
mov eax, 0x4ca252
push eax
push 3
mov ebx, 0x1ac
call fcn.004bc190
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a215
push ebx
call fcn.004b91a0
add esp, 4
cmp dword [ebp - 0x34], 0xffffffff
je 0x40a2a1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ca95f
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ca95f
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
mov dword [0x4d2392], 1
cmp dword [0x4d2392], 0
jne 0x40b065
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ca999]
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.00402005
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x40a300
push 0x440
push 0x4037223
push 6
call fcn.004b91a6
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ca999]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 1
fld qword [ebp - 0x3c]
call fcn.00402005
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.004bc300
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, 0x4ca9a1
xor ecx, ecx
test eax, eax
je 0x40a351
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x40]
xor ebx, ebx
test eax, eax
je 0x40a362
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40a379
dec eax
test ecx, ecx
je 0x40a379
call fcn.00409f5e
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 0x40a399
push ebx
call fcn.004b91a0
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x40a425
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ca9aa
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ca9aa
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
mov dword [0x4d2392], 1
cmp dword [0x4d2392], 0
jne 0x40b065
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ca999]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
push 0x1c
push dword [ebp - 0x10]
fld qword [ebp - 0x3c]
call fcn.00402005
push eax
xor eax, eax
call dword [0x4d2636]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x40a47e
push 0x6bf
push 0x4037223
push 6
call fcn.004b91a6
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 0x40a4c9
push 0x6f3
push 0x4037223
push 6
call fcn.004b91a6
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 0x40a517
push 0x736
push 0x4037223
push 6
call fcn.004b91a6
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ca9e4]
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.00402005
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x40a569
push 0x78b
push 0x4037223
push 6
call fcn.004b91a6
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 0x40a5a3
push 0x7c8
push 0x4037223
push 6
call fcn.004b91a6
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.0040b29d
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a5ea
push ebx
call fcn.004b91a0
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 [0x4ca9ec]
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.00402005
push eax
push 0xffffffff
call fcn.0040b29d
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a650
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4ca9e4]
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.00402005
push eax
push 0xffffffff
call fcn.0040b29d
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a6a2
push ebx
call fcn.004b91a0
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.0040b29d
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a6dc
push ebx
call fcn.004b91a0
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.0040b362
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 0x40aaea
mov ebx, dword [ebp - 0x24]
call fcn.00402f14
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a735
push 0x9b2
push 0x4037223
push 4
call fcn.004b91a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a752
push 0x9b2
push 0x4037223
push 1
call fcn.004b91a6
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 0x40aae2
mov ebx, dword [ebp - 0x24]
call fcn.00402f14
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a794
push 0xa0f
push 0x4037223
push 4
call fcn.004b91a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a7b1
push 0xa0f
push 0x4037223
push 1
call fcn.004b91a6
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.00402f14
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a7e5
push 0xa0f
push 0x4037223
push 4
call fcn.004b91a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a802
push 0xa0f
push 0x4037223
push 1
call fcn.004b91a6
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 [0x4ca847]
fnstsw ax
test ah, 1
je 0x40aae2
mov ebx, dword [ebp - 0x24]
call fcn.00402f14
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a86c
push 0xa52
push 0x4037223
push 4
call fcn.004b91a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a889
push 0xa52
push 0x4037223
push 1
call fcn.004b91a6
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.00402f14
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a8bd
push 0xa52
push 0x4037223
push 4
call fcn.004b91a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a8da
push 0xa52
push 0x4037223
push 1
call fcn.004b91a6
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 0x40a923
push 0xa52
push 0x4037223
push 6
call fcn.004b91a6
add esp, 0xc
mov ebx, dword [ebp - 0x24]
call fcn.00402f14
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a94a
push 0xabc
push 0x4037223
push 4
call fcn.004b91a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a967
push 0xabc
push 0x4037223
push 1
call fcn.004b91a6
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.00402f14
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40a99b
push 0xabc
push 0x4037223
push 4
call fcn.004b91a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a9b8
push 0xabc
push 0x4037223
push 1
call fcn.004b91a6
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.0040b29d
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a9fd
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
call fcn.00402f14
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40aa28
push 0xb07
push 0x4037223
push 4
call fcn.004b91a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40aa45
push 0xb07
push 0x4037223
push 1
call fcn.004b91a6
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.00402f14
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40aa79
push 0xb07
push 0x4037223
push 4
call fcn.004b91a6
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40aa96
push 0xb07
push 0x4037223
push 1
call fcn.004b91a6
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 0x40aadd
push 0xb07
push 0x4037223
push 6
call fcn.004b91a6
add esp, 0xc
jmp 0x40aaea
pop eax
pop ebx
pop ecx
jmp 0x40a700
add esp, 0xc
cmp dword [0x4d2392], 0
jne 0x40ab76
push dword [ebp - 4]
push 0x4ca932
mov ecx, 2
call fcn.00401fae
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 0x40ab2b
mov eax, 0x4ca252
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40ab3f
mov eax, 0x4ca252
push eax
push 3
mov ebx, 0x1ac
call fcn.004bc190
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ab65
push ebx
call fcn.004b91a0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40ab76
mov eax, 1
jmp 0x40ab7b
mov eax, 0
test eax, eax
je 0x40ac05
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ca9f4
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4ca9f4
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
mov dword [0x4d2392], 1
cmp dword [0x4d2392], 0
jne 0x40ac8e
push dword [ebp - 4]
push 0x4ca932
mov ecx, 2
call fcn.00401fae
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 0x40ac43
mov eax, 0x4ca252
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40ac57
mov eax, 0x4ca252
push eax
push 3
mov ebx, 0x1ac
call fcn.004bc190
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ac7d
push ebx
call fcn.004b91a0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40ac8e
mov eax, 1
jmp 0x40ac93
mov eax, 0
test eax, eax
je 0x40ad1d
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4caa2e
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4caa2e
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
mov dword [0x4d2392], 1
cmp dword [0x4d2392], 0
jne 0x40ada6
push dword [ebp - 4]
push 0x4ca932
mov ecx, 2
call fcn.00401fae
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 0x40ad5b
mov eax, 0x4ca252
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40ad6f
mov eax, 0x4ca252
push eax
push 3
mov ebx, 0x1ac
call fcn.004bc190
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ad95
push ebx
call fcn.004b91a0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40ada6
mov eax, 1
jmp 0x40adab
mov eax, 0
test eax, eax
je 0x40ae35
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4caa68
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4caa68
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
mov dword [0x4d2392], 1
cmp dword [0x4d2392], 0
jne 0x40aebe
push dword [ebp - 4]
push 0x4ca932
mov ecx, 2
call fcn.00401fae
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 0x40ae73
mov eax, 0x4ca252
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40ae87
mov eax, 0x4ca252
push eax
push 3
mov ebx, 0x1ac
call fcn.004bc190
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40aead
push ebx
call fcn.004b91a0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40aebe
mov eax, 1
jmp 0x40aec3
mov eax, 0
test eax, eax
je 0x40af4d
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4caaa2
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4caaa2
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
mov dword [0x4d2392], 1
cmp dword [0x4d2392], 0
jne 0x40afd6
push dword [ebp - 4]
push 0x4ca932
mov ecx, 2
call fcn.00401fae
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 0x40af8b
mov eax, 0x4ca252
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40af9f
mov eax, 0x4ca252
push eax
push 3
mov ebx, 0x1ac
call fcn.004bc190
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40afc5
push ebx
call fcn.004b91a0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40afd6
mov eax, 1
jmp 0x40afdb
mov eax, 0
test eax, eax
je 0x40b065
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4caadc
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca93d
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x4caadc
push 4
mov ebx, 0x300
call fcn.004bab80
add esp, 0x34
mov dword [0x4d2392], 1
mov dword [0x4d2392], 1
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x40b098
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b0ae
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b0be
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b0da
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b0ea
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b0fa
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b10a
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b128
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b124
imul eax, dword [ebx]
jmp 0x40b119
mov ecx, eax
test ecx, ecx
je 0x40b163
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004b91a0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004b91a0
add esp, 4
pop ebx
call fcn.004b91a0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b12e
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b17b
push ebx
call fcn.004b91a0
add esp, 4
mov esp, ebp
pop ebp
ret 4