Function at 0x408a80
Capabilities:
Create directory

Disassembly:
sub esp, 0x67c
mov eax, dword [0x517b6c]
xor eax, esp
mov dword [esp + 0x678], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x102
lea eax, [esp + 0x16c]
push ebp
push eax
mov esi, ecx
mov dword [esp + 0x2c], vtable.CFIND.0
mov dword [esp + 0x30], ebp
call fcn.004b2fa0
push 0x102
lea ecx, [esp + 0x27a]
push ebp
push ecx
call fcn.004b2fa0
push 0x140
lea edx, [esp + 0x44]
push ebp
push edx
call fcn.004b2fa0
push 0x106
lea eax, [esp + 0x4a4]
push ebp
push eax
call fcn.004b2fa0
push 0x106
lea ecx, [esp + 0x3a8]
push ebp
push ecx
call fcn.004b2fa0
xor eax, eax
push 0x102
lea edx, [esp + 0x5c4]
push ebp
push edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x3b4], eax
mov byte [esp + 0x3b8], al
call fcn.004b2fa0
add esp, 0x48
push ebp
push ebp
push ebp
push ebp
push 0x102
lea eax, [esp + 0x598]
push eax
push 5
lea ecx, [esp + 0x388]
push ecx
push esi
call fcn.004ad6f7
push ebp
push ebp
lea edx, [esp + 0x5b0]
push edx
lea eax, [esp + 0x39c]
push eax
lea ecx, [esp + 0x4b0]
push 0x106
push ecx
call fcn.004ad5f0
add esp, 0x3c
lea edx, [esp + 0x47c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
cmp ebp, ebx
jge 0x408c83
jmp 0x408ba0
mov al, byte [esp + ebp + 0x47c]
cmp al, 0x5c
lea edi, [esp + ebp + 0x47c]
jne 0x408bc0
test ebp, ebp
jle 0x408bf2
cmp byte [esp + ebp + 0x373], 0x3a
jne 0x408bf2
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 1
push esi
lea ecx, [esp + ebp + 0x378]
push edi
push ecx
call fcn.004b0200
add ebp, esi
add esp, 0xc
cmp ebp, ebx
jl 0x408ba0
lea ecx, [esp + 0x374]
lea edi, [esp + 0x20]
mov byte [esp + ebp + 0x374], 0
call fcn.004087d0
test al, al
jne 0x408c68
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x378]
xor esi, esi
push eax
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x408c70
push 0x2010
push str.CFOLDER::CreateFolder
push 0x4dcbac
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x24]
cmp eax, esi
mov dword [esp + 0x20], vtable.CFIND.0
je 0x408c64
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x408c9c
cmp al, 1
je 0x408cb5
cmp al, 2
je 0x408cb5
mov byte [esp + ebp + 0x374], 0x5c
add ebp, 1
cmp ebp, ebx
jl 0x408ba0
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x20], vtable.CFIND.0
je 0x408c9a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x688]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004acfa0
add esp, 0x67c
ret
mov eax, dword [esp + 0x24]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
je 0x408ce2
push eax
call esi
push 0x140
lea ecx, [esp + 0x2c]
push 0
push ecx
mov dword [esp + 0x30], 0
call fcn.004b2fa0
add esp, 0xc
push 0x2010
push str.CFOLDER::CreateFolder
push 0x4dcbcc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x20], vtable.CFIND.0
je 0x408d0c
push eax
call esi
xor al, al
jmp 0x408c9c