Function at 0x401d8e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
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
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.004aa8c0
add esp, 0x10
push 0x80000301
push 0
push 7
push 0x80000301
push 0
push 3
push 2
mov ebx, 0x94
call fcn.004aa8f0
add esp, 0x1c
mov dword [ebp - 0x20], eax
push 1
push 2
push dword [ebp - 0x20]
call fcn.0040277e
mov dword [ebp - 0x24], eax
push str..exe
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401cb4
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401e47
push ebx
call fcn.004a9c82
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401e5b
push ebx
call fcn.004a9c82
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x64
push 1
mov ebx, 0x67c
call fcn.004aa970
add esp, 0x10
push 0
mov ebx, 0x104
call fcn.004aa980
add esp, 4
mov dword [ebp - 0x20], eax
push 0
mov ebx, pe_nt_image_headers32
call fcn.004aaa10
add esp, 4
mov dword [ebp - 0x24], eax
push str..bak
push dword [ebp - 0x24]
push 0x4bb3fe
push dword [ebp - 0x20]
mov ecx, 4
call fcn.00401cb4
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401ed7
push ebx
call fcn.004a9c82
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401ee7
push ebx
call fcn.004a9c82
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401efa
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x244
call fcn.004aaaa0
add esp, 0x10
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401f1d
push ebx
call fcn.004a9c82
add esp, 4
mov dword [ebp - 0x20], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x401f46
push 0x16c
push 0x401d7e6
push 6
call fcn.004a9c88
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401f65
push eax
mov ebx, eax
call fcn.0040138e
inc eax
push eax
call fcn.004a9c7c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401f76
push ebx
call fcn.004a9c82
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4bb400
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x401fab
mov eax, 0x4bb20b
push eax
push 4
mov ebx, 0x148
call fcn.004aaab0
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x401fd0
jmp 0x40273a
push 0
mov ebx, 0x104
call fcn.004aa980
add esp, 4
mov dword [ebp - 0x20], eax
push 0
mov ebx, pe_nt_image_headers32
call fcn.004aaa10
add esp, 4
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x4bb3fe
push dword [ebp - 0x20]
mov ecx, 3
call fcn.00401cb4
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402025
push ebx
call fcn.004a9c82
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402035
push ebx
call fcn.004a9c82
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x402048
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x268
call fcn.004aabe0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40206e
push ebx
call fcn.004a9c82
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402082
push ebx
call fcn.004a9c82
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.004aa8c0
add esp, 0x10
push 0x80000301
push 0
push 0x14
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x94
call fcn.004aa8f0
add esp, 0x1c
push eax
call fcn.00402e14
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4020e5
push ebx
call fcn.004a9c82
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4020fc
mov eax, 0x4bb404
push eax
push 1
mov ebx, 0x194
call fcn.004aac50
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402125
mov eax, 0x4bb404
push eax
push 0x80000301
push 0
push dword [ebp - 0x20]
push 0x80000301
push 0
push 0x381
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40214f
mov eax, 0x4bb404
push eax
push 4
mov ebx, 0x1b4
call fcn.004aac60
add esp, 0x34
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402179
push ebx
call fcn.004a9c82
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x14
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x94
call fcn.004aa8f0
add esp, 0x1c
push eax
call fcn.00402e14
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4021c4
push ebx
call fcn.004a9c82
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4021db
mov eax, 0x4bb404
push eax
push 1
mov ebx, 0x194
call fcn.004aac50
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402204
mov eax, 0x4bb404
push eax
push 0x80000301
push 0
push dword [ebp - 0x20]
push 0x80000301
push 0
push 0x4f
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40222e
mov eax, 0x4bb404
push eax
push 4
mov ebx, 0x1b4
call fcn.004aac60
add esp, 0x34
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402258
push ebx
call fcn.004a9c82
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x24e
push 0x80000301
push 0
push 0x24
push 2
mov ebx, 0x94
call fcn.004aa8f0
add esp, 0x1c
push eax
call fcn.00402e14
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x4bb40c
push dword [ebp - 0xc]
mov ecx, 3
call fcn.00401d10
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4022ba
push ebx
call fcn.004a9c82
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4022ce
push ebx
call fcn.004a9c82
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getpeername
push 0
lea eax, [ebp - 0xc]
push eax
push 1
mov ebx, 0xc
mov eax, 0x4b09d0
call fcn.004aa770
add esp, 0x10
mov dword [ebp - 0x14], eax
add dword [ebp - 0x14], 0x400
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x402311
mov eax, 0x4bb404
push eax
push 1
mov ebx, 0x194
call fcn.004aac50
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x4bb417]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401d67
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x402463
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401d67
push 0x80000301
push 0
push eax
push 1
mov ebx, 0xa5c
call fcn.004aae60
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xcccccccc
jne 0x402458
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fadd qword [0x4bb41f]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401d67
push 0x80000301
push 0
push eax
push 1
mov ebx, 0xa5c
call fcn.004aae60
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xcccccccc
jne 0x402458
inc dword [ebp - 0x1c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fadd qword [0x4bb427]
fstp qword [ebp - 0x34]
push 0x80000301
push 0
push 0x3b9aca04
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x94
call fcn.004aa8f0
add esp, 0x1c
push eax
fld qword [ebp - 0x34]
call fcn.00401d67
push eax
call fcn.00402f4e
cmp dword [ebp - 0x1c], 0x32
jle 0x402454
jmp 0x402463
add dword [ebp - 0x18], 4
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x40234d
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x402475
jmp 0x40273a
push 0
mov ebx, 0x104
call fcn.004aa980
add esp, 4
mov dword [ebp - 0x20], eax
push 0
mov ebx, pe_nt_image_headers32
call fcn.004aaa10
add esp, 4
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x4bb3fe
push dword [ebp - 0x20]
mov ecx, 3
call fcn.00401cb4
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4024ca
push ebx
call fcn.004a9c82
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4024da
push ebx
call fcn.004a9c82
add esp, 4
push 0
mov ebx, 0x104
call fcn.004aa980
add esp, 4
mov dword [ebp - 0x2c], eax
push str..bak
push dword [ebp - 4]
push 0x4bb3fe
push dword [ebp - 0x2c]
mov ecx, 4
call fcn.00401cb4
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40251f
push ebx
call fcn.004a9c82
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x402532
mov eax, 0x4bb20b
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x402546
mov eax, 0x4bb20b
push eax
push 2
mov ebx, 0x248
call fcn.004aae70
add esp, 0x1c
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402569
push ebx
call fcn.004a9c82
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402579
push ebx
call fcn.004a9c82
add esp, 4
push 0
mov ebx, 0x104
call fcn.004aa980
add esp, 4
mov dword [ebp - 0x20], eax
push dword [ebp - 4]
push 0x4bb3fe
push dword [ebp - 0x20]
mov ecx, 3
call fcn.00401cb4
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4025b9
push ebx
call fcn.004a9c82
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4025cc
mov eax, 0x4bb404
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4025e0
mov eax, 0x4bb20b
push eax
push 2
mov ebx, 0x26c
call fcn.004aae90
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402603
push ebx
call fcn.004a9c82
add esp, 4
push 0
mov ebx, 0x104
call fcn.004aa980
add esp, 4
mov dword [ebp - 0x20], eax
push 0x4bb400
push dword [ebp - 4]
push 0x4bb3fe
push dword [ebp - 0x20]
mov ecx, 4
call fcn.00401cb4
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402648
push ebx
call fcn.004a9c82
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_bind
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40266d
mov eax, 0x4bb20b
push eax
push 3
mov ebx, 0x2c0
call fcn.004aaf30
add esp, 0x28
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402690
push ebx
call fcn.004a9c82
add esp, 4
push 0
mov ebx, 0x104
call fcn.004aa980
add esp, 4
mov dword [ebp - 0x20], eax
push 0
mov ebx, pe_nt_image_headers32
call fcn.004aaa10
add esp, 4
mov dword [ebp - 0x24], eax
push str..bak
push dword [ebp - 0x24]
push 0x4bb3fe
push dword [ebp - 0x20]
mov ecx, 4
call fcn.00401cb4
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4026ea
push ebx
call fcn.004a9c82
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4026fa
push ebx
call fcn.004a9c82
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40270d
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x244
call fcn.004aaaa0
add esp, 0x10
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402730
push ebx
call fcn.004a9c82
add esp, 4
push 0
call fcn.004a9c64
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40274a
push ebx
call fcn.004a9c82
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40275a
push ebx
call fcn.004a9c82
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40276a
push ebx
call fcn.004a9c82
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40277a
push ebx
call fcn.004a9c82
add esp, 4
mov esp, ebp
pop ebp
ret