Function at 0x1400112d0
Capabilities:
Create directory

Disassembly:
jmp 0x1400120f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xd68
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x25e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd88]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0xd20], rax
lea rcx, [0x140025028]
call fcn.140011415
lea rcx, [0x14001c508]
call fcn.1400111ea
lea rcx, [0x14001c528]
call fcn.1400111ea
lea rcx, [0x14001c560]
call fcn.1400111ea
lea rcx, [0x14001c598]
call fcn.1400111ea
lea rdx, [rbp + 4]
lea rcx, [0x14001c5bc]
call fcn.1400110af
cmp dword [rbp + 4], 1
jne 0x1400122bc
mov rax, qword [rbp + 0xd50]
mov eax, dword [rax + 0x800]
mov dword [rbp + 0x24], eax
imul eax, dword [rbp + 0x24], 3
cdqe
mov qword [rbp + 0xd18], rax
mov eax, 4
mov rcx, qword [rbp + 0xd18]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x48], rax
mov r8, qword [rbp + 0xd50]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rbp + 0x24]
call fcn.1400113e3
mov rax, qword [rbp + 0xd50]
xor edx, edx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__access]
test eax, eax
je 0x140012215
mov rax, qword [rbp + 0xd50]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__mkdir]
test eax, eax
je 0x140012215
lea rcx, [0x14001c5c0]
call fcn.1400111ea
jmp 0x140012530
mov rax, qword [rbp + 0xd50]
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.140011154
lea rdx, [0x14001c5d4]
lea rcx, [rbp + 0x70]
call fcn.140011253
mov rax, qword [rbp + 0xd50]
add rax, 0x400
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.140011253
lea rdx, [0x14001c350]
lea rcx, [rbp + 0x70]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x488], rax
cmp qword [rbp + 0x488], 0
jne 0x140012284
lea rcx, [0x14001c5d8]
call fcn.1400111ea
jmp 0x140012530
lea r8, [rbp + 0x70]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rbp + 0x24]
call fcn.1400113ca
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rbp + 0x24]
call fcn.140011226
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_free]
jmp 0x140012530
cmp dword [rbp + 4], 2
jne 0x140012530
mov rax, qword [rbp + 0xd50]
mov eax, dword [rax + 0x800]
mov dword [rbp + 0x4a4], eax
movsxd rax, dword [rbp + 0x4a4]
mov qword [rbp + 0xd18], rax
mov eax, 0xc
mov rcx, qword [rbp + 0xd18]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x4c8], rax
mov r8, qword [rbp + 0xd50]
mov rdx, qword [rbp + 0x4c8]
mov ecx, dword [rbp + 0x4a4]
call fcn.1400113c0
mov rax, qword [rbp + 0xd50]
xor edx, edx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__access]
test eax, eax
je 0x140012365
mov rax, qword [rbp + 0xd50]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__mkdir]
test eax, eax
je 0x140012365
lea rcx, [0x14001c5c0]
call fcn.1400111ea
jmp 0x140012530
mov rax, qword [rbp + 0xd50]
mov rdx, rax
lea rcx, [rbp + 0x4f0]
call fcn.140011154
lea rdx, [0x14001c5d4]
lea rcx, [rbp + 0x4f0]
call fcn.140011253
mov rax, qword [rbp + 0xd50]
add rax, 0x400
mov rdx, rax
lea rcx, [rbp + 0x4f0]
call fcn.140011253
lea rdx, [0x14001c350]
lea rcx, [rbp + 0x4f0]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x908], rax
cmp qword [rbp + 0x908], 0
jne 0x1400123e0
lea rcx, [0x14001c5d8]
call fcn.1400111ea
jmp 0x140012530
mov r8d, dword [rbp + 0x4a4]
lea rdx, [0x14001c354]
mov rcx, qword [rbp + 0x908]
call fcn.1400113c5
mov dword [rbp + 0x924], 0
jmp 0x140012414
mov eax, dword [rbp + 0x924]
inc eax
mov dword [rbp + 0x924], eax
mov eax, dword [rbp + 0x4a4]
cmp dword [rbp + 0x924], eax
jge 0x14001247f
movsxd rax, dword [rbp + 0x924]
imul rax, rax, 0xc
movsxd rcx, dword [rbp + 0x924]
imul rcx, rcx, 0xc
movsxd rdx, dword [rbp + 0x924]
imul rdx, rdx, 0xc
mov r8, qword [rbp + 0x4c8]
mov eax, dword [r8 + rax + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp + 0x4c8]
mov r9d, dword [rax + rcx + 4]
mov rax, qword [rbp + 0x4c8]
mov r8d, dword [rax + rdx]
lea rdx, str._d__d__d_n
mov rcx, qword [rbp + 0x908]
call fcn.1400113c5
jmp 0x140012406
lea rcx, [0x14001c360]
call fcn.1400111ea
mov edx, dword [rbp + 0x4a4]
lea rcx, [0x14001c354]
call fcn.1400111ea
mov dword [rbp + 0x944], 0
jmp 0x1400124b7
mov eax, dword [rbp + 0x944]
inc eax
mov dword [rbp + 0x944], eax
mov eax, dword [rbp + 0x4a4]
cmp dword [rbp + 0x944], eax
jge 0x140012516
movsxd rax, dword [rbp + 0x944]
imul rax, rax, 0xc
movsxd rcx, dword [rbp + 0x944]
imul rcx, rcx, 0xc
movsxd rdx, dword [rbp + 0x944]
imul rdx, rdx, 0xc
mov r8, qword [rbp + 0x4c8]
mov r9d, dword [r8 + rax + 8]
mov rax, qword [rbp + 0x4c8]
mov r8d, dword [rax + rcx + 4]
mov rax, qword [rbp + 0x4c8]
mov edx, dword [rax + rdx]
lea rcx, str._d__d__d_n
call fcn.1400111ea
jmp 0x1400124a9
mov rcx, qword [rbp + 0x908]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rcx, qword [rbp + 0x4c8]
call qword [sym.imp.ucrtbased.dll_free]
lea rcx, [rbp - 0x30]
lea rdx, [0x14001c310]
call fcn.140011393
mov rcx, qword [rbp + 0xd20]
xor rcx, rbp
call fcn.140011203
lea rsp, [rbp + 0xd38]
pop rdi
pop rbp
ret