Function at 0x41ef3b
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x41ef5d
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 - 8], esp
push 0
xor eax, eax
call dword [0x522f25]
nop
nop
cmp dword [ebp - 8], esp
je 0x41efc8
push 0x3f
push 0x414d09d
push 6
call fcn.004acf13
add esp, 0xc
push 0x80000301
push 0
push dword [0x522c89]
push 1
mov ebx, 0xc
mov eax, 0x4b5860
call fcn.004ad830
add esp, 0x10
push 1
call fcn.00419b49
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41f00c
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x9dc
call fcn.004aeba0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f032
push ebx
call fcn.004acf0d
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41f170
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x522f2d]
nop
nop
cmp dword [ebp - 8], esp
je 0x41f06f
push 0xcf
push 0x414d09d
push 6
call fcn.004acf13
add esp, 0xc
call fcn.00418ac5
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41f087
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x194
call fcn.004ae020
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41f0fa
push 0x5f5e100
call fcn.0041994a
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401a2b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f0dd
push ebx
call fcn.004acf0d
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f0f1
push ebx
call fcn.004acf0d
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41f074
push 1
push 2
push 0x407f4000
push 0
call fcn.004168ee
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x522f99]
nop
nop
cmp dword [ebp - 8], esp
je 0x41f142
push 0x212
push 0x414d09d
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x522f95]
nop
nop
cmp dword [ebp - 8], esp
je 0x41f170
push 0x22e
push 0x414d09d
push 6
call fcn.004acf13
add esp, 0xc
push 3
call fcn.00419b49
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41f190
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x9dc
call fcn.004aeba0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f1b6
push ebx
call fcn.004acf0d
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41f2f4
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x522f2d]
nop
nop
cmp dword [ebp - 8], esp
je 0x41f1f3
push 0x2b9
push 0x414d09d
push 6
call fcn.004acf13
add esp, 0xc
call fcn.00418ac5
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41f20b
mov eax, 0x4bf219
push eax
push 1
mov ebx, 0x194
call fcn.004ae020
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41f27e
push 0x5f5e100
call fcn.0041994a
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401a2b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f261
push ebx
call fcn.004acf0d
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f275
push ebx
call fcn.004acf0d
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41f1f8
push 1
push 2
push 0x407f4000
push 0
call fcn.004168ee
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x522f99]
nop
nop
cmp dword [ebp - 8], esp
je 0x41f2c6
push 0x3fc
push 0x414d09d
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x522f95]
nop
nop
cmp dword [ebp - 8], esp
je 0x41f2f4
push 0x418
push 0x414d09d
push 6
call fcn.004acf13
add esp, 0xc
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41f31d
nop
nop
nop
nop
nop
nop
push 0x80000301
push 0
push dword [0x522c89]
push 1
mov ebx, 0x10
mov eax, 0x4b5880
call fcn.004ad830
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f357
push ebx
call fcn.004acf0d
add esp, 4
mov esp, ebp
pop ebp
ret