Function at 0x1002a990
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca276
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
mov eax, dword [0x100ed380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x120], edi
push 0
push str.C:_ascendancy_configs
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebx + 0x1c]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0x16
jb 0x1002adb3
cmp dword [ebx + 0x20], 0xf
lea eax, [ebx + 0xc]
push ecx
cmova eax, dword [ebx + 0xc]
push eax
push 0x16
push str.C:_ascendancy_configs_
push ecx
push dword [ebp - 0x120]
lea ecx, [ebp - 0x13c]
call fcn.10029320
push 4
push str..cfg
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.1002beb0
mov esi, eax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.100c6d80
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax + 4], 0
mov dword [ebp - 0x4c], eax
push esi
mov dword [eax], ecx
call fcn.1002bf10
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 4
call fcn.10028230
mov eax, dword [ebp - 0x13c]
push 8
push eax
mov dword [ebp - 0x13c], 0
call fcn.100c75e0
push 0xc0
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0x10
lea ecx, [ebp - 0x110]
call fcn.1002b920
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
push ecx
cmova eax, dword [ebp - 0x48]
lea ecx, [ebp - 0xf8]
push 3
push eax
call fcn.1002bfc0
test eax, eax
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x110]
push 0
je 0x1002ab02
add ecx, dword [eax + 4]
push 0
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x1002ab0d
add ecx, dword [eax + 4]
push 2
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebp - 0xac], 0
jne 0x1002ab49
lea ecx, [ebp - 0xf8]
call fcn.1002bc80
test eax, eax
jne 0x1002ab3d
push eax
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [ebp - 0x111], 0
jmp 0x1002ad15
mov byte [ebp - 4], 6
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.100c6d80
lea ecx, [ebp - 0x30]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x30], eax
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x110]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140D.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x1002acca
nop word [eax + eax]
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 0xa
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x110]
call fcn.1002c6e0
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 0x24c0
ja 0x1002ad80
mov ecx, edi
xor edi, edi
mov dword [ebp - 0x11c], ecx
mov al, byte [ecx]
xor esi, esi
mov dword [ebp - 0x118], eax
nop
cmp edi, edx
jbe 0x1002ac63
push str.string_subscript_out_of_range
push 0x100d5f90
push 0
push 0xfe2
push 0x100d6160
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x1002ac3b
int3
push 0
push 0xfe2
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexstring
push 0x100d60c4
push str._string_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
mov edx, dword [ebp - 0x1c]
add esp, 0x14
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
movzx eax, al
cmova ecx, dword [ebp - 0x2c]
cmp byte [edi + ecx], 0x31
jne 0x1002ac7c
bts eax, esi
jmp 0x1002ac7f
btr eax, esi
inc esi
mov dword [ebp - 0x118], eax
inc edi
cmp esi, 8
jl 0x1002ac10
mov ecx, dword [ebp - 0x11c]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x11c], ecx
cmp edi, 0x24c0
jb 0x1002ac04
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140D.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
mov edi, dword [ebp - 0x120]
test al, al
jne 0x1002abc0
lea ecx, [ebp - 0xf8]
call fcn.1002bc80
test eax, eax
jne 0x1002acf1
push eax
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [ebp - 0x111], 1
lea ecx, [ebp - 0x30]
call fcn.10028230
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x30], 0
call fcn.100c75e0
add esp, 8
lea ecx, [ebp - 0x110]
call fcn.1002a8d0
lea ecx, [ebp - 0x4c]
call fcn.10028230
mov eax, dword [ebp - 0x4c]
push 8
push eax
mov dword [ebp - 0x4c], 0
call fcn.100c75e0
add esp, 8
lea ecx, [ebx + 8]
call fcn.10028230
mov ecx, dword [ebx + 8]
push 8
push ecx
mov dword [ebx + 8], 0
call fcn.100c75e0
mov al, byte [ebp - 0x111]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100c6d50
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
lea ecx, [ebp - 0xf8]
call fcn.1002bc80
test eax, eax
jne 0x1002ada7
push eax
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [ebp - 0x111], 0
jmp 0x1002acf8
call fcn.1001c540
int3