Function at 0x140125f10
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140377790]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edx, edx
lea rcx, [0x1405458e0]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rdx
mov byte [rsp + rdx + 0x12f], al
test al, al
jne 0x140125f40
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x130]
repne scasb al, byte [rdi]
mov eax, dword [str.mods_]
lea rcx, [rsp + 0x130]
mov dword [rdi - 1], eax
movzx eax, word [0x140328cf4]
mov word [rdi + 3], ax
call sub.MSVCR90.dll__mkdir
lea r9, str.bikes_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.misc_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.misc_fonts
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.miscpitboard
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.rider_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.rider_animations_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.rider_boots_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.rider_fonts_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.riderhelmetcams_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.riderhelmets_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.riderprotections_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.rider_riders_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.rider_ridersdefault_mx
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.rider_ridersdefault_mxgloves
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.rider_ridersdefault_mxpaints
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.tracks_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.tracksenduro_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.tracksmotocross_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.tracks_supercross_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.tracks_supermoto_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea r9, str.tyres_
lea r8, [rsp + 0x130]
lea rdx, str._s_s
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_sprintf
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll__mkdir
lea rax, [rsp + 0x130]
lea rdx, [rsp + 0x130]
sub rbx, rax
nop dword [rax + rax]
movzx eax, byte [rdx]
inc rdx
mov byte [rbx + rdx - 1], al
test al, al
jne 0x140126310
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140291ec0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret