Function at 0x6e5a36
Capabilities:
Create directory

Disassembly:
mov eax, 0xc28920
call fcn.00be12c8
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov esi, 0xd3e998
push str.th_MapleTV
lea eax, [ebp - 0x10]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.0044e655
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push dword [edi + 0x18]
push esi
push eax
call fcn.0044e655
add esp, 0x10
cmp dword [ebp + 0xc], ebx
je 0x6e5a8e
mov dword [ebp - 0x2c], ebx
jmp 0x6e5aa8
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.0042d265
mov ecx, edi
call fcn.006e5c4f
push 1
push 2
push 0x80000000
push dword [ebp - 0x10]
push dword [edi + 0x10]
call dword [sym.imp.wininet.dll_FtpOpenFileA]
mov esi, eax
cmp esi, ebx
jne 0x6e5b08
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x6e5ad8
add eax, 0xfffffff4
push eax
call fcn.0042db7e
pop ecx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x6e5aec
add eax, 0xfffffff4
push eax
call fcn.0042db7e
pop ecx
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x6e5b01
add eax, 0xfffffff4
push eax
call fcn.0042db7e
pop ecx
xor eax, eax
jmp 0x6e5c3e
push ebx
push esi
call dword [sym.imp.wininet.dll_FtpGetFileSize]
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.wininet.dll_InternetCloseHandle]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push str.C:WINDOWSApplication_Data
mov esi, 0xd3cd30
lea eax, [ebp - 0x28]
push esi
push eax
mov byte [ebp - 4], 6
call fcn.0044e655
add esp, 0xc
push str.C:WINDOWSApplication_DataNexon
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.0044e655
add esp, 0xc
push str.C:WINDOWSApplication_DataNexonMapleStory
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.0044e655
add esp, 0xc
push str.C:WINDOWSApplication_DataNexonMapleStoryMapleTV
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0044e655
mov esi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
add esp, 0xc
push ebx
push dword [ebp - 0x28]
call esi
push ebx
push dword [ebp - 0x24]
call esi
push ebx
push dword [ebp - 0x20]
call esi
push ebx
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x18], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push dword [edi + 0x18]
mov byte [ebp - 4], 7
push 0xd3e998
push eax
call fcn.0044e655
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp dword [ebp - 0x2c], eax
je 0x6e5bda
push ebx
push 0x80000000
push ebx
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [edi + 0x10]
call dword [sym.imp.wininet.dll_FtpGetFileA]
test eax, eax
jne 0x6e5bda
xor esi, esi
jmp 0x6e5bdd
push 1
pop esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00406a50
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00406a50
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00406a50
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00406a50
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00406a50
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00406a50
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00406a50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406a50
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8