Function at 0x472520
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9e9c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4fafc0]
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.00479250
add esp, 4
test eax, eax
je 0x472568
mov eax, 1
jmp 0x472a47
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 0x472669
nop word [eax + eax]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0047df30
add esp, 8
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
push 0x4dfb00
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 0x47265d
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 0x4725b0
jmp 0x472669
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 0x472a35
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, eax
jge 0x472a63
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 0x4729b6
push 0x4dc0cc
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 0x4729b6
push dword [ebp - 0x244]
lea eax, [ebp - 0x248]
push eax
call fcn.00478e20
add esp, 8
push 2
lea eax, [ebp - 0x268]
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 0x4dbde8
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 - 0x268]
mov byte [ebp - 4], 5
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
test esi, esi
jne 0x47275d
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
lea ecx, [ebp - 0x248]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4729b6
jmp 0x4727bc
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 0x4727ac
test byte [ebp - 0x220], 0x10
je 0x4727ac
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4729b6
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 1
lea eax, [ebp - 0x264]
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 0x4e0944
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 - 0x264]
mov byte [ebp - 4], 4
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4729b6
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 0x4dbde8
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 0x4728d5
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__4]
push esi
push 0x4dbc48
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 0x47287c
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4729b6
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__4]
push 0
push 0x4dbc48
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 0x4728bf
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x254]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4729b6
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 0x4dc0c4
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 0x4729a8
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__4]
push esi
push 0x4dc0cc
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 0x472952
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4729b6
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__4]
push 0
push 0x4dc0cc
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 0x472992
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4729b6
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 0x4729d6
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
sub edi, 1
js 0x472a35
mov eax, dword [ebp - 0x274]
jmp 0x472690
push 0x4e1808
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.00466800
push dword [eax]
mov byte [ebp - 4], 0xd
call fcn.00493c40
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 0x472a3a
mov esi, 1
lea ecx, [ebp - 0x27c]
call fcn.004bd108
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.004beb23
mov esp, ebp
pop ebp
ret
call sub.mfc140u.dll_AfxThrowInvalidArgException
int3