Function at 0x401000
Capabilities:
Allocate thread local storage

Disassembly:
push 0x58
push 0
push 0x461438
call fcn.00418110
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x46143c], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x461438], eax
call fcn.004020b8
call fcn.0042ddd0
call fcn.0042d32f
call fcn.0042d295
call fcn.0042d0d0
call fcn.0042c570
call fcn.0042a582
call fcn.00429db0
call fcn.00429356
call fcn.00428477
call fcn.0042839e
call fcn.004281c7
call fcn.00427bd8
call fcn.004275d9
call fcn.0042756b
call fcn.004273fa
call fcn.004260f7
call fcn.00426030
call fcn.00425937
call fcn.00424c05
call fcn.0042496e
mov dword [0x461464], 0x15
mov edx, str.FTP_
lea ecx, [0x461444]
call fcn.00402008
mov edx, dword [0x461444]
push dword [0x462a08]
push edx
call fcn.0042de10
lea eax, [0x461488]
push eax
call fcn.0042de60
mov edx, 0x45f504
lea ecx, [0x46147c]
call fcn.00402008
push 0x2710
call fcn.0042d130
mov dword [0x46146c], eax
mov eax, str.127.0.0.1
push eax
push 1
push dword [0x461464]
push 0
call fcn.00424d82
and eax, eax
je 0x4013a2
push dword [0x462a08]
push dword [0x462a08]
mov edx, str.MHCJ_FTP_Server_v1.0__127.0.0.1:
push edx
call fcn.0042de10
push dword [0x462a08]
push dword [0x462a08]
mov eax, dword [0x461464]
cdq
push edx
push eax
call fcn.0042c860
pop eax
mov edx, 0x45f07a
push edx
call fcn.0042de10
add dword [0x462a08], 2
push 0x28
push 0x140
push 0xc8
push 0x64
push 0
mov edx, dword [0x45f53c]
add dword [esp + 0x14], edx
call fcn.00426455
pop dword [0x462a08]
mov eax, str.MHCJ_FTP_Server_is_Ready.
push eax
push 0x1e
push 0x12c
push 0xa
push 0xa
push 0
call fcn.00425c7e
call fcn.00426523
mov dword [0x461474], eax
push dword [0x461474]
mov ebx, 0x333c
cmp ebx, dword [esp]
jne 0x4011db
mov dword [0x461460], 1
pop eax
mov ebx, dword [0x461474]
and ebx, ebx
jne 0x4011b7
call fcn.004251a1
mov dword [0x461468], eax
cmp dword [0x461468], 0
je 0x40137d
call fcn.004251c4
mov dword [0x461480], eax
push dword [0x461468]
mov ebx, 1
cmp ebx, dword [esp]
jne 0x4012c2
push dword [0x462a08]
push dword [0x462a08]
mov edx, str.New_client
push edx
call fcn.0042de10
push dword [0x462a08]
push dword [0x462a08]
mov eax, dword [0x461480]
cdq
push edx
push eax
call fcn.0042c860
pop eax
mov edx, str.connected__
push edx
call fcn.0042de10
add dword [0x462a08], 2
push 0
mov edx, dword [0x45f53c]
add dword [esp + 4], edx
call fcn.00425c9e
pop dword [0x462a08]
push dword [0x462a08]
push dword [0x462a08]
mov edx, str.220___MHCJ_FTP_Server_v1.0_ready
push edx
call fcn.0042de10
mov edx, dword [0x46147c]
push edx
call fcn.0042de10
add dword [0x462a08], 2
push dword [0x461480]
mov edx, dword [0x45f53c]
add dword [esp + 4], edx
call fcn.0042525b
pop dword [0x462a08]
jmp 0x40137a
mov ebx, 4
cmp ebx, dword [esp]
jne 0x40132b
push dword [0x462a08]
push dword [0x462a08]
mov edx, str.Client
push edx
call fcn.0042de10
push dword [0x462a08]
push dword [0x462a08]
mov eax, dword [0x461480]
cdq
push edx
push eax
call fcn.0042c860
pop eax
mov edx, str._disconnected.
push edx
call fcn.0042de10
add dword [0x462a08], 2
push 0
mov edx, dword [0x45f53c]
add dword [esp + 4], edx
call fcn.00425c9e
pop dword [0x462a08]
jmp 0x40137a
mov ebx, 2
cmp ebx, dword [esp]
jne 0x40137a
push 0x7d0
push dword [0x46146c]
push dword [0x461480]
call fcn.0042526d
mov dword [0x46148c], eax
mov ebx, dword [0x46148c]
cmp ebx, 3
jle 0x401375
push 0
mov ebx, dword [0x46146c]
add ebx, dword [0x46148c]
add ebx, 0xfffffffe
push ebx
call fcn.0042d150
call fcn.004013bd
pop eax
jmp 0x401387
push 0x14
call fcn.00426039
mov ebx, dword [0x461460]
cmp ebx, 1
jne 0x4011b7
push 0
call fcn.00424b58
jmp 0x4013b8
push 0
mov eax, str.Cant_create_the_server__port_in_use__.
push eax
mov eax, str.Error
push eax
call fcn.004249a5
jmp 0x401d70
push 0
call 0x401d8f
call fcn.0042dda0
push dword [0x461438]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess
call fcn.00424bd9
call fcn.004258db
call sub.ole32.dll_OleUninitialize
call fcn.004260d4
call fcn.004273e9
call fcn.004275bb
call fcn.004281bb
call fcn.00428391
call fcn.0042846b
call fcn.0042c590
call fcn.0042d323
call fcn.0042d587
call fcn.0042d597
call fcn.0042d0c0
ret