Function at 0x41ae10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00418bb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 3
push 0x140
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::TrimRight
push 0x435bd4
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::TrimRight_1
push 0x435bd4
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
push 0x435bd4
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::TrimRight_1
mov ecx, dword [ebp - 0x24]
push ecx
push 0x436110
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
call fcn.00408e10
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x24]
add edx, 0x2c
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
and edx, 0x10
test edx, edx
je 0x41b0ab
mov eax, dword [ebp - 0x24]
add eax, 0x2c
push eax
push 0x43610c
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x41b0ab
mov ecx, dword [ebp - 0x24]
add ecx, 0x2c
push ecx
push 0x436108
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x41b0ab
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00418cd0
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xac]
push edx
push 0x435bd4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x28]
push ecx
call sub.MFC42.DLL_operator_2
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [ebp - 0x28]
call fcn.00408e10
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 0xb
push 0x435bd4
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x50]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xc4]
call fcn.00408e10
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.004300a4
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0xd
call fcn.0041ae10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x18]
call fcn.00418cd0
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xd4]
push edx
push 0x435bd4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x60]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xe4]
call fcn.00408e10
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408e10
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x60]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41b19c
jmp 0x41b44c
mov edx, dword [ebp - 0x24]
add edx, 0x2c
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xec]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x24]
cmp dword [ecx], 0x10
jne 0x41b35b
mov edx, dword [ebp - 0x24]
add edx, 0x2c
push edx
push 0x43610c
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x41b35b
mov eax, dword [ebp - 0x24]
add eax, 0x2c
push eax
push 0x436108
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x41b35b
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00418cd0
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xf8]
push edx
push 0x435bd4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x70]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call sub.MFC42.DLL_operator_2
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x70]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [ebp - 0x2c]
call fcn.00408e10
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 0x17
push 0x435bd4
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x7c]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x110]
call fcn.00408e10
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push eax
call fcn.004300a4
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x19
call fcn.0041ae10
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
jmp 0x41b185
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x18]
call fcn.00418cd0
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x120]
push edx
push 0x435bd4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x88]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x128], edx
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x130]
call fcn.00408e10
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408e10
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x8c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41b185
cmp dword [ebp - 0x20], 0
je 0x41b45c
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00418c20
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc