Function at 0x41cde0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x506e4f
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push esi
push edi
xor edi, edi
test byte [0x573898], 1
jne 0x41ce32
or dword [0x573898], 1
push 0x508530
mov dword [0x573724], edi
mov dword [0x573720], edi
mov dword [0x573728], edi
call fcn.004f03e3
add esp, 4
mov ecx, dword [0x573724]
cmp ecx, edi
mov dword [ebp - 0x14], ecx
je 0x41cea1
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x18], 8
lea esi, [ebx + 4]
jb 0x41ce4f
mov eax, dword [esi]
jmp 0x41ce51
mov eax, esi
push eax
call fcn.00417c30
cmp eax, edi
mov dword [ebp - 0x20], eax
je 0x41cea1
cmp dword [ebx + 0x18], 8
jb 0x41ce66
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
push esi
add eax, 0x58
push eax
call fcn.00428610
mov edi, eax
test edi, edi
je 0x41cea1
mov eax, dword [edi]
push 0
add eax, 0x1ce8
push 0
push eax
call fcn.004369a0
add esp, 0xc
call fcn.004f5dc0
test eax, eax
jne 0x41ceb6
mov eax, dword [ebp + 8]
push 0xb
push ebx
call fcn.0041fed0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [ebp - 0x3c]
push ecx
mov byte [ebp - 4], 1
call fcn.004f66a0
add esp, 4
test eax, eax
jne 0x41cf14
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], al
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x41cf20
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x10]
call dword [0x509114]
mov esi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
lea ecx, [edi + 0x14]
call esi
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
push eax
lea ecx, [ebp - 0x18]
call ebx
push str..qpk
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
push str.plugin_
lea ecx, [ebp - 0x14]
call ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_Util::FS::CombinePath_class_CTXStringW_const___class_CTXStringW_const__]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [0x509140]
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x1c]
call ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call ebx
push 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::GetString_void_const]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
xor ebx, ebx
cmp byte [ebp + 0x14], bl
je 0x41cfc9
mov ebx, 1
cmp byte [ebp + 0x18], 0
je 0x41cfd2
or ebx, 2
lea ecx, [edi + 0x38]
call esi
push eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0xfde9
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x74]
push ecx
mov byte [ebp - 4], 5
call fcn.00457e20
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [ebp - 0x5c], 0x10
mov eax, dword [ebp - 0x70]
jae 0x41d010
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCR80.dll_atof]
fcomp qword [0x52f360]
add esp, 4
mov dword [ebp + 0x14], 4
fnstsw ax
test ah, 5
jp 0x41d035
mov dword [ebp + 0x14], 3
lea ecx, [edi + 0x14]
call esi
push eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 7
call fcn.00457e20
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x41d070
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
push ecx
push eax
push 0x186a6
call fcn.0041ed20
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::GetString_void_const]
push eax
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 9
call esi
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
lea edx, [ebp - 0xc8]
push edx
push edi
lea eax, [ebp - 0x90]
add ecx, 0x20
push eax
push ecx
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 0xa
call fcn.00437c10
lea ecx, [ebp - 0x90]
mov bl, al
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
je 0x41d10e
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
push edx
add ecx, 4
call esi
push eax
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.0041fb20
push 0
push 0
push 0
call fcn.00413790
mov ecx, eax
mov eax, edi
call fcn.00436f60
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14