Function at 0x4722e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c572c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4f4fa0]
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.00478f50
add esp, 4
test eax, eax
je 0x472328
mov eax, 1
jmp 0x472805
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 0x472429
nop word [eax + eax]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0047dec0
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 0x47241d
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 0x472370
jmp 0x472429
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 0x4727f3
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, eax
jge 0x472821
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 0x472774
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 0x472774
push dword [ebp - 0x244]
lea eax, [ebp - 0x248]
push eax
call fcn.00478af0
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 0x47251f
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 0x47257a
jmp 0x472774
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 0x47256a
test byte [ebp - 0x220], 0x10
je 0x47256a
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x472774
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 0x472774
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 0x472693
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 0x47263a
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x472774
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 0x47267d
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x254]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x472774
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 0x472766
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 0x472710
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x472774
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 0x472750
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x472774
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 0x472794
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
sub edi, 1
js 0x4727f3
mov eax, dword [ebp - 0x274]
jmp 0x472450
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.004663f0
push dword [eax]
mov byte [ebp - 4], 0xd
call fcn.00493d10
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 0x4727f8
mov esi, 1
lea ecx, [ebp - 0x27c]
call fcn.004bd6a9
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.004bf1dd
mov esp, ebp
pop ebp
ret
call sub.mfc140u.dll_AfxThrowInvalidArgException
int3