Function at 0x40abac
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
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 - 0x18], 0
jmp 0x40abf1
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
fninit
mov dword [ebp - 0x1c], esp
push 0
xor eax, eax
call dword [0x4ab26a]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40ac5c
push 0x52
push 0x41442b7
push 6
call fcn.00493af3
add esp, 0xc
cmp dword [0x4ab0fa], 0
je 0x40ac7d
cmp dword [0x4ab0fe], 0
jne 0x40ac7d
mov eax, 1
jmp 0x40ac82
mov eax, 0
test eax, eax
je 0x40acd0
push 0x80000301
push 0
push dword [0x4ab0fa]
push 1
mov ebx, 0x198
call fcn.004956c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040aa33
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40acc8
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x40b45e
push 0x80000301
push 0
push dword [0x4ab102]
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc4
call fcn.00494d50
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
je 0x40ad19
cmp dword [0x4ab102], 0xffffffff
je 0x40ad19
xor eax, eax
jmp 0x40ad1e
mov eax, 1
test eax, eax
je 0x40ad6c
call fcn.0040b4b4
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ad54
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ad68
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x4ab102]
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xc4
call fcn.00494d50
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
je 0x40adb5
cmp dword [0x4ab102], 0xffffffff
je 0x40adb5
xor eax, eax
jmp 0x40adba
mov eax, 1
test eax, eax
je 0x40ae08
call fcn.0040b583
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40adf0
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ae04
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x4ab102]
push 0x80000301
push 0
push 4
push 2
mov ebx, 0xc4
call fcn.00494d50
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
je 0x40ae51
cmp dword [0x4ab102], 0xffffffff
je 0x40ae51
xor eax, eax
jmp 0x40ae56
mov eax, 1
test eax, eax
je 0x40aea4
call fcn.0040b806
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ae8c
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40aea0
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x4ab102]
push 0x80000301
push 0
push 8
push 2
mov ebx, 0xc4
call fcn.00494d50
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 8
je 0x40aeed
cmp dword [0x4ab102], 0xffffffff
je 0x40aeed
xor eax, eax
jmp 0x40aef2
mov eax, 1
test eax, eax
je 0x40af40
call fcn.0040b8d8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40af28
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40af3c
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x4ab102]
push 0x80000301
push 0
push 0x10
push 2
mov ebx, 0xc4
call fcn.00494d50
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10
je 0x40af89
cmp dword [0x4ab102], 0xffffffff
je 0x40af89
xor eax, eax
jmp 0x40af8e
mov eax, 1
test eax, eax
je 0x40aff6
call fcn.0040bbf4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40afde
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40aff2
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x4ab102]
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc4
call fcn.00494d50
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x20
je 0x40b03f
cmp dword [0x4ab102], 0xffffffff
je 0x40b03f
xor eax, eax
jmp 0x40b044
mov eax, 1
test eax, eax
je 0x40b092
call fcn.0040bc6b
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b07a
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b08e
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x4ab102]
push 0x80000301
push 0
push 0x40
push 2
mov ebx, 0xc4
call fcn.00494d50
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x40
je 0x40b0db
cmp dword [0x4ab102], 0xffffffff
je 0x40b0db
xor eax, eax
jmp 0x40b0e0
mov eax, 1
test eax, eax
je 0x40b12e
call fcn.0040c3a5
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b116
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b12a
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x4ab102]
push 0x80000301
push 0
push 0x80
push 2
mov ebx, 0xc4
call fcn.00494d50
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x80
je 0x40b17a
cmp dword [0x4ab102], 0xffffffff
je 0x40b17a
xor eax, eax
jmp 0x40b17f
mov eax, 1
test eax, eax
je 0x40b1d1
push 1
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.0040d589
test eax, eax
je 0x40b1d1
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 3
call fcn.00401451
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b1cd
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [0x4ab106]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b1fe
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40b215
mov eax, 0x4a520f
push eax
push 1
mov ebx, 0x130
call fcn.00495790
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40b2a4
mov dword [ebp - 0x1c], esp
push 0x1388
push 0
push 0x10
push 0x4a58b4
push 0x4a58bf
push 0
xor eax, eax
call dword [0x4ab28e]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40b27c
push 0x8d8
push 0x41442b7
push 6
call fcn.00493af3
add esp, 0xc
push 0
call fcn.00493acf
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x40b2a4
push 0
mov ebx, 0x350
call fcn.00495060
add esp, 4
jmp 0x40b286
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40b2b7
mov eax, 0x4a520f
push eax
push 1
mov ebx, 0x198
call fcn.004956c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b2e1
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040a99c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b305
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040f485
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40b335
call fcn.0040f580
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
call fcn.0040faa7
lea eax, [ebp - 0x18]
push eax
call fcn.00403326
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40b366
mov eax, 0x4a523b
push eax
push 3
mov ebx, 0x19c
call fcn.00495c40
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b392
push ebx
call fcn.00493aed
add esp, 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x80000101
jne 0x40b3aa
and eax, 0xff
jmp 0x40b3ff
cmp ecx, 0x80000201
jne 0x40b3b5
cwde
jmp 0x40b3ff
cmp ecx, 0x80000301
je 0x40b3ff
cmp ecx, 0x80000401
je 0x40b3ff
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000501
je 0x40b3ef
cmp ecx, 0x80000601
je 0x40b3f4
push 0xaa7
push 0x41442b7
push 2
call fcn.00493af3
add esp, 0xc
fld dword [ebp - 0x30]
jmp 0x40b3fa
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
call fcn.00401504
mov dword [0x4ab0fa], eax
mov dword [0x4ab0fe], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40b42a
push eax
mov ebx, eax
call fcn.004013e6
inc eax
push eax
call fcn.00493ae7
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40b45e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b46f
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b47f
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b48f
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b49f
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b4af
push ebx
call fcn.00493aed
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret