Function at 0x4e30c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a120
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x584f80]
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.0049dcc0
add esp, 4
test eax, eax
je 0x4e3108
mov eax, 1
jmp 0x4e35bf
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_1
push ebx
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__28]
mov eax, dword [ebx]
xor edi, edi
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], edi
jle 0x4e3201
nop word [eax + eax]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004a4030
add esp, 8
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
push 0x53fcd4
lea ecx, [ebp - 0x250]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
push dword [ebp - 0x250]
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
lea ecx, [ebp - 0x250]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4e31f5
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call sub.mfc140u.dll_CStringArray::SetAtGrow_1
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__26]
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 0x4e3150
jmp 0x4e3201
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 0x4e35ad
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, eax
jge 0x4e35db
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__28]
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
je 0x4e352e
push 0x538994
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
test eax, eax
je 0x4e352e
push dword [ebp - 0x244]
lea eax, [ebp - 0x248]
push eax
call fcn.00462d40
add esp, 8
push 2
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
push 0x533140
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
lea ecx, [ebp - 0x268]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
test esi, esi
jne 0x4e32ed
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], 3
lea ecx, [ebp - 0x248]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4e352e
jmp 0x4e334c
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 0x4e333c
test byte [ebp - 0x220], 0x10
je 0x4e333c
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4e352e
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
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__18]
push 0x540c40
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
lea ecx, [ebp - 0x264]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4e352e
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__17]
push 0x533140
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
lea ecx, [ebp - 0x25c]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x4e3455
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__13]
push esi
push 0x532e9c
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
lea ecx, [ebp - 0x254]
test eax, eax
jns 0x4e33fc
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4e352e
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__13]
push 0
push 0x532e9c
lea ecx, [ebp - 0x258]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
lea ecx, [ebp - 0x258]
test eax, eax
jns 0x4e343f
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x254]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4e352e
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
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__17]
push 0x53898c
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
lea ecx, [ebp - 0x260]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x4e3520
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__13]
push esi
push 0x538994
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
lea ecx, [ebp - 0x24c]
test eax, eax
jns 0x4e34ca
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4e352e
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__13]
push 0
push 0x538994
lea ecx, [ebp - 0x250]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
lea ecx, [ebp - 0x250]
test eax, eax
jns 0x4e350a
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4e352e
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
push dword [ebp - 0x244]
call ebx
test eax, eax
je 0x4e354e
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
sub edi, 1
js 0x4e35ad
mov eax, dword [ebp - 0x274]
jmp 0x4e3228
push 0x540c44
lea ecx, [ebp - 0x25c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0045edd0
push dword [eax]
mov byte [ebp - 4], 8
call fcn.004b9a50
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 0x4e35b2
mov esi, 1
lea ecx, [ebp - 0x27c]
call fcn.005052c9
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.00506d06
mov esp, ebp
pop ebp
ret
call sub.mfc140u.dll_AfxThrowInvalidArgException
int3