Function at 0x401430
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x43adb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x244]
xor ebx, ebx
lea ecx, [esp + 0x240]
mov dword [esp + 0x238], ebx
mov dword [eax], ebx
call sub.MFC42.DLL_CString::TrimLeft_1
lea ecx, [esp + 0x240]
call sub.MFC42.DLL_CString::TrimRight_2
mov ecx, dword [esp + 0x240]
cmp dword [ecx - 8], ebx
jne 0x4014a6
lea ecx, [esp + 0x240]
mov dword [esp + 0x238], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffe
jmp 0x4016b5
push 0x5c
lea ecx, [esp + 0x244]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebx
jge 0x4014d9
lea ecx, [esp + 0x240]
mov dword [esp + 0x238], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffd
jmp 0x4016b5
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x248]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x244]
mov byte [esp + 0x23c], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x238], bl
call sub.MFC42.DLL_CString::CString
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x129]
mov byte [esp + 0x128], bl
xor ebp, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x240]
lea ecx, [esp + 0x20]
push eax
push 0x44a040
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor esi, esi
cmp ecx, ebx
mov dword [esp + 0x14], ecx
mov byte [esp + 0x13], bl
jle 0x40162b
cmp byte [esp + esi + 0x20], 0x5c
jne 0x40161e
cmp byte [esp + 0x13], bl
jne 0x40158e
mov byte [esp + 0x13], 1
jmp 0x40161e
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x128]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push esi
lea eax, [esp + 0x12c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
cmp ebp, ebx
jne 0x4015f0
mov edi, dword [esp + 0x244]
lea edx, [esp + 0x128]
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
call fcn.00401250
add esp, 8
cmp eax, ebx
jne 0x401619
cmp dword [edi], 0xb7
jne 0x40167d
jmp 0x401619
lea eax, [esp + 0x128]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
jne 0x401619
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x244]
cmp eax, 0xb7
mov dword [ecx], eax
jne 0x40167d
mov ecx, dword [esp + 0x14]
inc ebp
inc esi
cmp esi, ecx
jl 0x401573
cmp ebp, ebx
jne 0x401657
mov esi, dword [esp + 0x244]
lea edx, [esp + 0x240]
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.00401250
add esp, 8
cmp eax, ebx
jne 0x401699
mov eax, dword [esi]
jmp 0x401676
lea eax, [esp + 0x20]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
jne 0x401699
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x244]
mov dword [ecx], eax
cmp eax, 0xb7
je 0x401699
lea ecx, [esp + 0x240]
mov dword [esp + 0x238], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
jmp 0x4016b5
lea ecx, [esp + 0x240]
mov dword [esp + 0x238], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x22c
ret