Function at 0x4021ef
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x79c
mov eax, dword [0x41e340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x53f]
push ebx
push eax
mov dword [ebp - 0x79c], ecx
mov byte [ebp - 0x540], bl
call fcn.00409f10
add esp, 0xc
lea eax, [ebp - 0x66f]
push 0x12b
push ebx
push eax
mov byte [ebp - 0x670], bl
call fcn.00409f10
add esp, 0xc
lea eax, [ebp - 0x437]
push 0x10d
push ebx
push eax
mov byte [ebp - 0x438], bl
call fcn.00409f10
add esp, 0xc
lea eax, [ebp - 0x327]
push 0x103
push ebx
push eax
mov byte [ebp - 0x328], bl
call fcn.00409f10
add esp, 0xc
lea eax, [ebp - 0x10f]
push 0x103
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.00409f10
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40229f
sub ecx, edx
push ecx
push edi
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00405e4c
push 0x10d
lea eax, [ebp - 0x21f]
push ebx
push eax
mov byte [ebp - 0x220], bl
call fcn.00409f10
add esp, 0x1c
lea eax, [ebp - 0x220]
push esi
push str._s.
mov esi, 0x10e
push esi
push eax
call fcn.00404c6b
push esi
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.00409f10
add esp, 0x1c
lea eax, [ebp - 0x220]
push 0x41b880
push eax
call fcn.00404c90
pop ecx
pop ecx
jmp 0x402342
lea eax, [ebp - 0x220]
mov ecx, esi
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x438]
push 0x10e
push eax
call fcn.00405e4c
lea eax, [esi + 1]
push 0x41b880
push eax
call fcn.00404c90
add esp, 0x18
mov esi, eax
test esi, esi
jne 0x402314
push edi
push str.MKD__s_r_n
lea eax, [ebp - 0x670]
push 0x104
push eax
call fcn.00404c6b
mov edi, dword [ebp - 0x79c]
add esp, 0x10
lea eax, [ebp - 0x670]
push ebx
push eax
mov ecx, edi
call fcn.00401d5d
test al, al
je 0x4024e1
lea eax, [ebp - 0x798]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00405176
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
je 0x4024d6
test byte [ebp - 0x798], 0x10
je 0x402440
lea ecx, [ebp - 0x774]
cmp byte [ecx], 0x2e
jne 0x4023c3
movzx eax, byte [ecx + 1]
test al, al
je 0x4024ac
push 3
lea eax, [ebp - 0x774]
push 0x41b808
push eax
call fcn.00412563
add esp, 0xc
test eax, eax
je 0x4024ac
lea eax, [ebp - 0x774]
push eax
lea eax, [ebp - 0x110]
push eax
push str._s_s
push 0x104
push eax
call fcn.00404c6b
add esp, 0x14
lea eax, [ebp - 0x774]
push eax
lea eax, [ebp - 0x438]
push eax
push str._s_s
lea eax, [ebp - 0x328]
push 0x104
push eax
call fcn.00404c6b
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x328]
push eax
mov ecx, edi
call fcn.004021ef
jmp 0x4024a8
lea eax, [ebp - 0x774]
push eax
lea eax, [ebp - 0x438]
push eax
push str._s_s
lea eax, [ebp - 0x328]
push 0x104
push eax
call fcn.00404c6b
add esp, 0x14
lea eax, [ebp - 0x774]
push eax
lea eax, [ebp - 0x110]
push eax
push str._s_s
lea eax, [ebp - 0x540]
push 0x104
push eax
call fcn.00404c6b
add esp, 0x14
lea eax, [ebp - 0x540]
push 0x41b7b0
push eax
lea eax, [ebp - 0x328]
push eax
mov ecx, edi
call fcn.004024f4
test al, al
je 0x4024c5
lea eax, [ebp - 0x798]
push eax
push esi
call fcn.0040529b
pop ecx
pop ecx
test eax, eax
je 0x40239f
jmp 0x4024c7
mov bl, 1
push esi
call fcn.004053b0
pop ecx
test bl, bl
jne 0x4024d6
mov al, 1
jmp 0x4024e3
push str.CFTP::UpLoadFile____ERROR__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004042fc
leave
ret 8