Function at 0x404102
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
jmp 0x40411d
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 ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
mov dword [ebp - 4], esp
push 0
xor eax, eax
call dword [0x4d262a]
nop
nop
cmp dword [ebp - 4], esp
je 0x4041b5
push 0x30
push 0x4037134
push 6
call fcn.004b91a6
add esp, 0xc
fninit
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4041cc
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x178
call fcn.004badc0
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4041f5
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40421b
push ebx
call fcn.004b91a0
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004045cd
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404250
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404260
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x4d22e2]
test ebx, ebx
je 0x404277
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [0x4d22e2], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004045cd
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4042d1
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4042e1
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x4d22e6]
test ebx, ebx
je 0x4042f8
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [0x4d22e6], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004045cd
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404352
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404362
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x4d22ea]
test ebx, ebx
je 0x404379
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [0x4d22ea], eax
mov eax, 0x4ca5b6
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004047f3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4043a3
push ebx
call fcn.004b91a0
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004045cd
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4043d8
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4043e8
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x4d22ee]
test ebx, ebx
je 0x4043ff
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [0x4d22ee], eax
mov eax, str.C15525691BAE8850560D954A079F1D50E747239BD157F13B3BCBADA13D9B00F8C61D3137C72757ACE82F1BFA5299CB0A7095C8845C37C5D49A57623F8633B4D4C1DBC6932A88A25B08D4A3CD16F7E6681430371FE1243B829B30A87DF97CBB0B9F29FBBE0733F9954E0B3E562CFF71018B31D8B4D5664F1A4654EED6CFCEF501
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004047f3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404429
push ebx
call fcn.004b91a0
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004045cd
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40445e
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40446e
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x4d22f2]
test ebx, ebx
je 0x404485
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [0x4d22f2], eax
push reloc.WS2_32.dll_connect
push 0
push str.7E21FFCD
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004045cd
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4044e1
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4044f1
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x4d22f6]
test ebx, ebx
je 0x404508
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [0x4d22f6], eax
mov eax, dword [ebp + 0x24]
mov dword [0x4d22fa], eax
cmp dword [0x4d22fe], 0
jne 0x40453f
push 0
mov ebx, 4
mov eax, 0x4bfd70
call fcn.004b9cc0
add esp, 4
mov dword [0x4d22fe], eax
mov eax, dword [ebp + 0x14]
mov dword [0x4d2302], eax
push 0x4ca20b
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00403bed
add esp, 8
cmp eax, 0
je 0x4045b1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404577
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00404a61
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4045a9
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 8]
mov dword [0x4d2306], eax
jmp 0x4045c1
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 0x2c