Function at 0x417efa
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
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
jmp 0x417f38
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
mov dword [ebp - 0x18], esp
push 0
xor eax, eax
call dword [0x4baf64]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x417f95
push 0x43
push 0x4026879
push 6
call fcn.00446bbb
add esp, 0xc
cmp dword [0x4bac7c], 0
jne 0x418083
push 0xa0000101
push 0
push 0x482de0
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xa0000101
push 0
push 0x482e04
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x417ffd
mov eax, 0x479858
push eax
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41801d
mov eax, 0x479858
push eax
push 4
mov ebx, 0x300
call fcn.00447710
add esp, 0x34
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x418040
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x418050
push ebx
call fcn.00446bb5
add esp, 4
mov dword [ebp - 0x18], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4baf38]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x418083
push 0x1f7
push 0x4026879
push 6
call fcn.00446bbb
add esp, 0xc
mov ebx, dword [ebp + 0x24]
mov dword [ebx], 0
cmp dword [0x4bad40], 0
jne 0x4180fd
push 0x4bad20
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4180fd
call fcn.004183d6
mov dword [ebp - 0x18], eax
call fcn.00418498
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4bad20
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4180e9
push ebx
call fcn.00446bb5
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x4180fd
mov eax, 0x4798e6
jmp 0x41839e
mov ebx, dword [ebp + 0x24]
mov dword [ebx], 1
cmp dword [ebp + 0x34], 0
je 0x4181a2
call fcn.0040fa50
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418146
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x3eb
push 1
mov ebx, 0x9dc
call fcn.00449280
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x418199
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4182f1
cmp dword [ebp + 0x1c], 0
je 0x418235
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4181c8
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00446baf
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 0x4181d9
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x3e9
push 1
mov ebx, 0x9dc
call fcn.00449280
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41822c
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4182f1
push dword [ebp + 8]
call fcn.00418592
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418254
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x2c], 0
je 0x41829e
push 0x80000301
push 0
push dword [ebp + 0x2c]
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x418295
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4182f1
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x9dc
call fcn.00449280
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4182ed
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 8], eax
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418304
mov eax, 0x4798e6
push eax
push 1
mov ebx, 0x194
call fcn.00447950
add esp, 0x10
mov dword [ebp - 0xc], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00419132
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x418348
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0
je 0x41837a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x418370
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00446baf
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41839e
lea eax, [ebp - 0x10]
push eax
call fcn.0041a224
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x41839e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4183af
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4183bf
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4183cf
push ebx
call fcn.00446bb5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x34