Function at 0x472150
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c532c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4f4f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
call fcn.00478ca0
add esp, 4
test eax, eax
je 0x472198
mov eax, 1
jmp 0x472675
lea ecx, [ebp - 0x27c]
call sub.mfc140u.dll_CStringArray::CStringArray
push ebx
push dword [ebp - 0x274]
lea ecx, [ebp - 0x27c]
mov dword [ebp - 4], 0
call sub.mfc140u.dll_CStringArray::SetAtGrow
push ebx
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov eax, dword [ebx]
xor edi, edi
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], edi
jle 0x472299
nop word [eax + eax]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0047db20
add esp, 8
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
push 0x4daab0
lea ecx, [ebp - 0x250]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
push dword [ebp - 0x250]
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x47228d
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call sub.mfc140u.dll_CStringArray::SetAtGrow
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebx]
inc edi
cmp edi, dword [eax - 0xc]
jl 0x4721e0
jmp 0x472299
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x274]
lea edi, [eax - 1]
test edi, edi
js 0x472663
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, eax
jge 0x472691
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x244]
lea eax, [eax + edi*4]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 4
cmp dword [eax - 0xc], 0
je 0x4725e4
push 0x4d7074
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
test eax, eax
je 0x4725e4
push dword [ebp - 0x244]
lea eax, [ebp - 0x248]
push eax
call fcn.00478840
add esp, 8
push 2
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
push 0x4d6d90
mov ecx, eax
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 5
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
test esi, esi
jne 0x47238f
push dword [ebp - 0x248]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
add esp, 8
mov byte [ebp - 4], 4
neg eax
lea ecx, [ebp - 0x248]
sbb esi, esi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
add esi, 1
je 0x4723ea
jmp 0x4725e4
lea eax, [ebp - 0x240]
xorps xmm0, xmm0
push eax
push dword [ebp - 0x248]
movlpd qword [ebp - 0x240], xmm0
movlpd qword [ebp - 0x238], xmm0
movlpd qword [ebp - 0x230], xmm0
call sub.mfc140u.dll_CFile::GetStatus
test eax, eax
je 0x4723da
test byte [ebp - 0x220], 0x10
je 0x4723da
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4725e4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
push 0x4db8f4
mov ecx, eax
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4725e4
push 2
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
push 0x4d6d90
mov ecx, eax
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 4
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x472503
push 2
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
push esi
push 0x4d6bf0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x254]
test eax, eax
jns 0x4724aa
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4725e4
inc eax
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
push 0
push 0x4d6bf0
lea ecx, [ebp - 0x258]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x258]
test eax, eax
jns 0x4724ed
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x254]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4725e4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 2
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
push 0x4d706c
mov ecx, eax
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x4725d6
push 2
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
push esi
push 0x4d7074
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x24c]
test eax, eax
jns 0x472580
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4725e4
inc eax
push eax
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
push 0
push 0x4d7074
lea ecx, [ebp - 0x250]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x250]
test eax, eax
jns 0x4725c0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4725e4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
push dword [ebp - 0x244]
call ebx
test eax, eax
je 0x472604
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
sub edi, 1
js 0x472663
mov eax, dword [ebp - 0x274]
jmp 0x4722c0
push 0x4dc7b8
lea ecx, [ebp - 0x25c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__20]
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00466260
push dword [eax]
mov byte [ebp - 4], 0xd
call fcn.00493950
add esp, 0x10
lea ecx, [ebp - 0x260]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x25c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor esi, esi
jmp 0x472668
mov esi, 1
lea ecx, [ebp - 0x27c]
call fcn.004bd2e9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee1d
mov esp, ebp
pop ebp
ret
call sub.mfc140u.dll_AfxThrowInvalidArgException
int3