Function at 0x4c8150
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x1448]
mov eax, 0x1448
call fcn.0048c7c0
push 0xffffffffffffffff
push 0x4eb02c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp + 0x1444], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1470]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, 0x52f250
mov dword [ebp - 4], eax
lea ecx, [ebp + 0x30]
call fcn.004a7880
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp + 0x30]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x4c81fe
mov edx, 0x530b80
lea ecx, [ebp - 0x10]
call fcn.004db320
push dword [eax]
push esi
call edi
lea ecx, [ebp - 0x10]
mov edi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test edi, edi
je 0x4c81f5
lea eax, [ebp + 4]
push eax
call edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x52f250
mov dword [ebp], 0
lea ecx, [ebp + 0x30]
call fcn.004a7880
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp + 0x30]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4c8257
mov edx, 0x530bf0
lea ecx, [ebp - 0x10]
call fcn.004db320
push dword [eax]
push esi
call edi
lea ecx, [ebp - 0x10]
mov edi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test edi, edi
je 0x4c8254
lea eax, [ebp]
push eax
lea eax, [ebp + 4]
push eax
call edi
push esi
call ebx
push dword [ebp]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
push 0x51a9b8
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
lea eax, [ebp + 0x1c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
push 0x51a9b8
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
lea edx, [ebp + 0x1034]
mov byte [ebp - 4], 4
mov ecx, 0x104
call fcn.005024e0
mov ebx, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
cmp eax, 0x104
ja 0x4c8350
test eax, eax
je 0x4c8350
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x1034]
call fcn.0050bdf0
test eax, eax
je 0x4c8350
mov edx, 0x51b4c0
lea ecx, [ebp - 0x14]
call fcn.004a7880
lea ecx, [ebp + 0x1034]
mov byte [ebp - 4], 5
push ecx
push dword [eax]
lea eax, [ebp + 0x2c]
push eax
call ebx
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
call fcn.00431330
cmp eax, 0xffffffff
je 0x4c8338
test al, 0x10
je 0x4c8338
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4c8350
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x30]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp + 0x2c]
mov dword [ebp - 0x14], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, 0x51b4c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.004a7880
mov byte [ebp - 4], 8
push dword [ebp + 0x30]
push dword [eax]
lea eax, [ebp + 0x28]
push eax
call ebx
add esp, 0xc
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, dword [ebp + 0x28]
cmp dword [edx - 0xc], 0
je 0x4c874f
lea ecx, [ebp + 0x123c]
call fcn.0050bdf0
push 0x51a9b8
lea ecx, [ebp + 0x24]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
lea eax, [ebp + 0x1450]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0x30]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
push 0x51a9b8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov edx, 0x51b4c0
mov dword [ebp - 0x14], 3
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.004a7880
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0x30]
mov esi, dword [eax]
call fcn.0050e4c0
push eax
lea eax, [ebp - 0x10]
push esi
push eax
call ebx
add esp, 0xc
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, 0x51b4c0
lea ecx, [ebp + 0x2c]
call fcn.004a7880
mov byte [ebp - 4], 0xd
push dword [edi]
push dword [eax]
lea eax, [ebp + 0x24]
push eax
call ebx
add esp, 0xc
lea ecx, [ebp + 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, dword [ebp + 0x24]
cmp dword [edx - 0xc], 0
jne 0x4c84c7
mov edx, 0x523260
lea ecx, [ebp + 0x30]
call fcn.004a7880
mov esi, eax
mov edx, 0x51b4c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x18]
call fcn.004a7880
mov byte [ebp - 4], 0xf
push dword [esi]
push dword [eax]
lea eax, [ebp + 0x24]
push eax
call ebx
add esp, 0xc
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, dword [ebp + 0x24]
lea ecx, [ebp + 0x123c]
call fcn.0050bdf0
lea eax, [ebp + 0x123c]
push eax
lea ecx, [ebp + 0x20]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
lea eax, [ebp + 0x24]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea eax, [ebp + 0x1450]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov edx, 0x51b380
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x18]
xor bl, bl
call fcn.004a7880
sub esp, 0xc
mov byte [ebp - 4], 0x16
mov ecx, dword [eax]
xor edx, edx
call fcn.004abac0
add esp, 0xc
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x18]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4c8644
mov edx, dword [ebp - 0x14]
sub esp, 0x10
mov ecx, esi
call fcn.00406ed0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4c8644
push 0x104
lea eax, [ebp + 0x1138]
mov dword [ebp + 0x2c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [ebp + 0x2c]
mov edx, 5
mov ecx, esi
push eax
lea eax, [ebp + 0x1138]
push eax
call fcn.00432e70
add esp, 8
mov edx, 0x40000000
push 0
push 2
push ecx
mov ecx, dword [ebp - 0x10]
push 0
call fcn.004cf210
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x4c863d
lea eax, [ebp + 0x30]
mov dword [ebp + 0x30], 0
push eax
push 0x1000
lea edx, [ebp + 0x34]
mov dword [ebp + 0x14], 0
mov ecx, esi
call fcn.004b9b70
add esp, 8
test eax, eax
je 0x4c8621
nop dword [eax]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4c8621
push ecx
lea ecx, [ebp + 0x14]
push ecx
push eax
lea edx, [ebp + 0x34]
mov ecx, edi
call fcn.004153a0
lea eax, [ebp + 0x30]
mov ecx, esi
push eax
push 0x1000
lea edx, [ebp + 0x34]
call fcn.004b9b70
add esp, 0x14
test eax, eax
jne 0x4c85f0
mov ecx, edi
call fcn.00446f70
mov ecx, dword [ebp - 0x10]
call fcn.005075e0
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov ecx, esi
call fcn.004135d0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test bl, bl
je 0x4c873d
mov ecx, dword [ebp + 0x20]
call fcn.005075e0
test eax, eax
je 0x4c873d
push ecx
lea eax, [ebp + 0x28]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
push ecx
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 0x17
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov byte [ebp - 4], 0x10
call fcn.00440440
mov edx, dword [ebp + 0x28]
lea ecx, [ebp + 0x123c]
xor eax, eax
mov word [ebp + 0x123c], ax
call fcn.0050bdf0
mov edx, dword [ebp + 0x145c]
lea ecx, [ebp + 0x123c]
call fcn.0050bdf0
lea eax, [ebp + 0x123c]
push eax
lea ecx, [ebp + 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp + 0x18]
call fcn.005075e0
test eax, eax
je 0x4c8734
push dword [ebp - 0x1c]
lea eax, [ebp + 0x1450]
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00467bb0
push ecx
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 0x19
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov byte [ebp - 4], 0x18
call fcn.004321c0
push ecx
test al, al
mov ecx, esp
lea eax, [ebp + 0x28]
push eax
jne 0x4c8770
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
call fcn.00407470
lea ecx, [ebp + 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x1450]
call fcn.004db5e0
xor al, al
jmp 0x4c87b5
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
call fcn.00407470
lea ecx, [ebp + 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x1450]
call fcn.004db5e0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1444]
xor ecx, ebp
call fcn.00489916
lea esp, [ebp + 0x1448]
pop ebp
ret 0x24