Function at 0x4b07f0
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x1448]
mov eax, 0x1448
call fcn.00485230
push 0xffffffffffffffff
push 0x4e03ac
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, 0x52f230
mov dword [ebp - 4], eax
lea ecx, [ebp + 0x30]
call fcn.004c6fd0
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 0x4b089e
mov edx, 0x530b60
lea ecx, [ebp - 0x10]
call fcn.00509d60
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 0x4b0895
lea eax, [ebp + 4]
push eax
call edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x52f230
mov dword [ebp], 0
lea ecx, [ebp + 0x30]
call fcn.004c6fd0
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 0x4b08f7
mov edx, 0x530bd0
lea ecx, [ebp - 0x10]
call fcn.00509d60
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 0x4b08f4
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__18]
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__18]
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__19]
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__18]
lea edx, [ebp + 0x1034]
mov byte [ebp - 4], 4
mov ecx, 0x104
call fcn.004ad800
mov ebx, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
cmp eax, 0x104
ja 0x4b09f0
test eax, eax
je 0x4b09f0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x1034]
call fcn.0042ecb0
test eax, eax
je 0x4b09f0
mov edx, 0x51b4c0
lea ecx, [ebp - 0x14]
call fcn.004c6fd0
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__19]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
call fcn.004a4d30
cmp eax, 0xffffffff
je 0x4b09d8
test al, 0x10
je 0x4b09d8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4b09f0
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__19]
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.004c6fd0
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 0x4b0def
lea ecx, [ebp + 0x123c]
call fcn.0042ecb0
push 0x51a9b8
lea ecx, [ebp + 0x24]
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], 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__19]
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__18]
mov edx, 0x51b4c0
mov dword [ebp - 0x14], 3
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.004c6fd0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0x30]
mov esi, dword [eax]
call fcn.0044ad90
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.004c6fd0
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 0x4b0b67
mov edx, 0x523260
lea ecx, [ebp + 0x30]
call fcn.004c6fd0
mov esi, eax
mov edx, 0x51b4c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x18]
call fcn.004c6fd0
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.0042ecb0
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__18]
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__19]
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__19]
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__19]
mov edx, 0x51b380
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x18]
xor bl, bl
call fcn.004c6fd0
sub esp, 0xc
mov byte [ebp - 4], 0x16
mov ecx, dword [eax]
xor edx, edx
call fcn.0049dca0
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 0x4b0ce4
mov edx, dword [ebp - 0x14]
sub esp, 0x10
mov ecx, esi
call fcn.0041c220
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b0ce4
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.004f48a0
add esp, 8
mov edx, 0x40000000
push 0
push 2
push ecx
mov ecx, dword [ebp - 0x10]
push 0
call fcn.0048bdf0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x4b0cdd
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.004b2b10
add esp, 8
test eax, eax
je 0x4b0cc1
nop dword [eax]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4b0cc1
push ecx
lea ecx, [ebp + 0x14]
push ecx
push eax
lea edx, [ebp + 0x34]
mov ecx, edi
call fcn.00416860
lea eax, [ebp + 0x30]
mov ecx, esi
push eax
push 0x1000
lea edx, [ebp + 0x34]
call fcn.004b2b10
add esp, 0x14
test eax, eax
jne 0x4b0c90
mov ecx, edi
call fcn.0041cc70
mov ecx, dword [ebp - 0x10]
call fcn.0049a410
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov ecx, esi
call fcn.0043c970
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 0x4b0ddd
mov ecx, dword [ebp + 0x20]
call fcn.0049a410
test eax, eax
je 0x4b0ddd
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__19]
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__19]
mov byte [ebp - 4], 0x10
call fcn.0043aa40
mov edx, dword [ebp + 0x28]
lea ecx, [ebp + 0x123c]
xor eax, eax
mov word [ebp + 0x123c], ax
call fcn.0042ecb0
mov edx, dword [ebp + 0x145c]
lea ecx, [ebp + 0x123c]
call fcn.0042ecb0
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__18]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp + 0x18]
call fcn.0049a410
test eax, eax
je 0x4b0dd4
push dword [ebp - 0x1c]
lea eax, [ebp + 0x1450]
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00460630
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__19]
mov byte [ebp - 4], 0x18
call fcn.004c4fa0
push ecx
test al, al
mov ecx, esp
lea eax, [ebp + 0x28]
push eax
jne 0x4b0e10
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
call fcn.0048dbc0
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.004c6f80
xor al, al
jmp 0x4b0e55
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
call fcn.0048dbc0
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.004c6f80
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.00482396
lea esp, [ebp + 0x1448]
pop ebp
ret 0x24