Function at 0x414e70
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
jmp 0x414e92
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
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
push 0x4ca20b
push dword [0x4d239a]
call fcn.00403bed
add esp, 8
cmp eax, 0
je 0x414f3b
mov eax, dword [0x4d239a]
test eax, eax
je 0x414f36
push eax
mov ebx, eax
call fcn.00401354
inc eax
push eax
call fcn.004b919a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x415171
call fcn.0040ccb2
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x414f56
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x414f7c
push ebx
call fcn.004b91a0
add esp, 4
call fcn.0040ca2f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
xor eax, eax
call dword [0x4d26ca]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x414fad
push 0x13f
push 0x40371eb
push 6
call fcn.004b91a6
add esp, 0xc
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x1c], eax
call fcn.0040cd84
mov dword [ebp - 0x20], eax
call fcn.00415187
mov dword [ebp - 0x24], eax
call fcn.0040d0a0
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov ecx, 6
call fcn.00401f52
add esp, 0x18
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41502e
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41503e
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41504e
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41505e
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41506e
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41507e
push ebx
call fcn.004b91a0
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x415091
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4150b7
push ebx
call fcn.004b91a0
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.0040be48
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4150d3
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4150e7
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x415107
push eax
mov ebx, eax
call fcn.00401354
inc eax
push eax
call fcn.004b919a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x4d239a]
test ebx, ebx
je 0x41511b
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [0x4d239a], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41513d
push eax
mov ebx, eax
call fcn.00401354
inc eax
push eax
call fcn.004b919a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x415171
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x415182
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret