Function at 0x4bed50
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x1448]
mov eax, 0x1448
call fcn.0048fb00
push 0xffffffffffffffff
push 0x4e669c
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.004d3680
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 0x4bedfe
mov edx, 0x530b80
lea ecx, [ebp - 0x10]
call fcn.0043a300
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 0x4bedf5
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.004d3680
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 0x4bee57
mov edx, 0x530bf0
lea ecx, [ebp - 0x10]
call fcn.0043a300
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 0x4bee54
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.0044ce50
mov ebx, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
cmp eax, 0x104
ja 0x4bef50
test eax, eax
je 0x4bef50
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x1034]
call fcn.00406260
test eax, eax
je 0x4bef50
mov edx, 0x51b4c0
lea ecx, [ebp - 0x14]
call fcn.004d3680
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.0041d540
cmp eax, 0xffffffff
je 0x4bef38
test al, 0x10
je 0x4bef38
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4bef50
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.004d3680
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 0x4bf34f
lea ecx, [ebp + 0x123c]
call fcn.00406260
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.004d3680
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0x30]
mov esi, dword [eax]
call fcn.00403e80
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.004d3680
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 0x4bf0c7
mov edx, 0x523260
lea ecx, [ebp + 0x30]
call fcn.004d3680
mov esi, eax
mov edx, 0x51b4c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x18]
call fcn.004d3680
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.00406260
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.004d3680
sub esp, 0xc
mov byte [ebp - 4], 0x16
mov ecx, dword [eax]
xor edx, edx
call fcn.004a2dc0
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 0x4bf244
mov edx, dword [ebp - 0x14]
sub esp, 0x10
mov ecx, esi
call fcn.00438510
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4bf244
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.004bc8c0
add esp, 8
mov edx, 0x40000000
push 0
push 2
push ecx
mov ecx, dword [ebp - 0x10]
push 0
call fcn.00401230
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x4bf23d
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.004d69f0
add esp, 8
test eax, eax
je 0x4bf221
nop dword [eax]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4bf221
push ecx
lea ecx, [ebp + 0x14]
push ecx
push eax
lea edx, [ebp + 0x34]
mov ecx, edi
call fcn.004a4a10
lea eax, [ebp + 0x30]
mov ecx, esi
push eax
push 0x1000
lea edx, [ebp + 0x34]
call fcn.004d69f0
add esp, 0x14
test eax, eax
jne 0x4bf1f0
mov ecx, edi
call fcn.0050c0f0
mov ecx, dword [ebp - 0x10]
call fcn.004b2c30
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov ecx, esi
call fcn.004dda60
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 0x4bf33d
mov ecx, dword [ebp + 0x20]
call fcn.004b2c30
test eax, eax
je 0x4bf33d
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.0040f800
mov edx, dword [ebp + 0x28]
lea ecx, [ebp + 0x123c]
xor eax, eax
mov word [ebp + 0x123c], ax
call fcn.00406260
mov edx, dword [ebp + 0x145c]
lea ecx, [ebp + 0x123c]
call fcn.00406260
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.004b2c30
test eax, eax
je 0x4bf334
push dword [ebp - 0x1c]
lea eax, [ebp + 0x1450]
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0046aee0
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.00409630
push ecx
test al, al
mov ecx, esp
lea eax, [ebp + 0x28]
push eax
jne 0x4bf370
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
call fcn.004213a0
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.004c2f50
xor al, al
jmp 0x4bf3b5
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
call fcn.004213a0
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.004c2f50
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.0048cc46
lea esp, [ebp + 0x1448]
pop ebp
ret 0x24