Function at 0x18013fc70
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3d0
mov rdx, rcx
lea rcx, [rsp + 0x230]
call fcn.180003380
cmp qword [rax + 0x18], 7
jbe 0x18013fc9d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.180003ab0
mov rax, qword [rsp + 0x250]
movsxd rcx, dword [rax + 4]
lea rax, [0x1801602b8]
mov qword [rsp + rcx + 0x250], rax
mov rax, qword [rsp + 0x250]
movsxd rcx, dword [rax + 4]
lea eax, [rcx - 0xb0]
mov dword [rsp + rcx + 0x24c], eax
lea rcx, [rsp + 0x230]
call fcn.180003310
cmp qword [rsp + 0x2e0], 0
je 0x180140373
xor r15d, r15d
mov qword [rsp + 0x398], r15
lea r8, [rsp + 0x360]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0xc0]
call fcn.18000f720
movdqa xmm0, xmmword [0x180160360]
movdqu xmmword [rsp + 0x1b8], xmm0
movabs rdi, 0xa8ce5db91a41f821
mov qword [rsp + 0x1c8], rdi
movabs rdi, 0xabe029e0b910e7d8
mov qword [rsp + 0x1d0], rdi
movabs rdi, 0x8d683d311751f608
mov qword [rsp + 0x1d8], rdi
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x210]
call fcn.18000f800
movsd xmm1, qword [rax]
movsd qword [rsp + 0xaf], xmm1
movzx eax, word [rax + 8]
mov word [rsp + 0xb7], ax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0xaf]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x18013fdc0
lea rdx, [rsp + 0xaf]
lea rcx, [rsp + 0x60]
call fcn.180016160
cmp byte [rsp + 0xc0], 1
jne 0x1801404ce
mov rax, qword [rsp + 0xc8]
mov r13, qword [rax]
mov rbx, qword [r13 + 8]
mov qword [rsp + 0xd0], rbx
mov dword [rsp + 0xd8], r15d
mov qword [rsp + 0xe0], r13
mov r12, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
cmp byte [rbx + 0x19], r15b
jne 0x18013feda
mov qword [rsp + 0xd0], rbx
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x60]
cmp r12, 0xf
cmova rdx, rax
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x18013fe50
mov rcx, qword [rcx]
mov qword [rsp + 0x198], r14
mov qword [rsp + 0x1b0], rdi
mov r8, rdi
cmp r14, rdi
cmovb r8, r14
call fcn.18014ae30
test eax, eax
je 0x18013fe81
jns 0x18013fe94
mov byte [rsp + 0x418], 0xff
mov al, 0xff
jmp 0x18013fe9e
cmp rdi, r14
jae 0x18013fe92
mov byte [rsp + 0x418], 0xff
mov al, 0xff
jmp 0x18013fe9e
jbe 0x18013feb7
mov byte [rsp + 0x420], 1
mov al, 1
mov byte [rsp + 0x428], al
test al, al
jns 0x18013febc
mov dword [rsp + 0xd8], r15d
mov rbx, qword [rbx + 0x10]
jmp 0x18013fed5
mov byte [rsp + 0x30], r15b
mov dword [rsp + 0xd8], 1
mov r13, rbx
mov qword [rsp + 0xe0], rbx
mov rbx, qword [rbx]
jmp 0x18013fe1a
cmp byte [r13 + 0x19], r15b
jne 0x18014049d
lea rdx, [r13 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18013fef6
mov rdx, qword [rdx]
lea rcx, [rsp + 0x60]
cmp r12, 0xf
cmova rcx, rax
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], r14
mov r8, r14
cmp rbx, r14
cmovb r8, rbx
call fcn.18014ae30
test eax, eax
je 0x18013ff31
jns 0x18013ff41
mov byte [rsp + 0x31], 0xff
mov al, 0xff
jmp 0x18013ff48
cmp r14, rbx
jae 0x18013ff3f
mov byte [rsp + 0x31], 0xff
mov al, 0xff
jmp 0x18013ff48
jbe 0x18013ff56
mov byte [rsp + 0x32], 1
mov al, 1
mov byte [rsp + 0x33], al
test al, al
js 0x18014049d
jmp 0x18013ff5b
mov byte [rsp + 0x34], r15b
movdqa xmm0, xmmword [0x1801607d0]
movdqu xmmword [rsp + 0x1e0], xmm0
movabs rax, 0xa8ce5db91a41f821
mov qword [rsp + 0x1f0], rax
movabs rax, 0xabe029e0b910e7d8
mov qword [rsp + 0x1f8], rax
movabs rax, 0x8d683d311751f608
mov qword [rsp + 0x200], rax
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x220]
call fcn.18000eca0
movsd xmm1, qword [rax]
movsd qword [rsp + 0xa0], xmm1
mov ecx, dword [rax + 8]
mov dword [rsp + 0xa8], ecx
movzx ecx, word [rax + 0xc]
mov word [rsp + 0xac], cx
movzx eax, byte [rax + 0xe]
mov byte [rsp + 0xae], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0xa0]
nop
inc rsi
cmp byte [rax + rsi], r15b
jne 0x180140000
mov r8, rsi
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.180016160
cmp byte [r13 + 0x40], 1
jne 0x1801404c9
mov rax, qword [r13 + 0x48]
mov r14, qword [rax]
mov rbx, qword [r14 + 8]
mov qword [rsp + 0xe8], rbx
mov dword [rsp + 0xf0], r15d
mov qword [rsp + 0xf8], r14
mov r13, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
nop dword [rax + rax]
cmp byte [rbx + 0x19], r15b
jne 0x18014010f
mov qword [rsp + 0xe8], rbx
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x40]
cmp r13, 0xf
cmova rdx, r12
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x180140091
mov rcx, qword [rcx]
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x208], rdi
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
call fcn.18014ae30
test eax, eax
je 0x1801400bf
jns 0x1801400cf
mov byte [rsp + 0x35], 0xff
mov al, 0xff
jmp 0x1801400d6
cmp rdi, rsi
jae 0x1801400cd
mov byte [rsp + 0x35], 0xff
mov al, 0xff
jmp 0x1801400d6
jbe 0x1801400ec
mov byte [rsp + 0x36], 1
mov al, 1
mov byte [rsp + 0x37], al
test al, al
jns 0x1801400f1
mov dword [rsp + 0xf0], r15d
mov rbx, qword [rbx + 0x10]
jmp 0x18014010a
mov byte [rsp + 0x38], r15b
mov dword [rsp + 0xf0], 1
mov r14, rbx
mov qword [rsp + 0xf8], rbx
mov rbx, qword [rbx]
jmp 0x180140060
cmp byte [r14 + 0x19], r15b
jne 0x1801404bd
lea rdx, [r14 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18014012b
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
cmp r13, 0xf
cmova rcx, r12
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1a8], rsi
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
call fcn.18014ae30
test eax, eax
je 0x180140166
jns 0x180140176
mov byte [rsp + 0x39], 0xff
mov al, 0xff
jmp 0x18014017d
cmp rsi, rbx
jae 0x180140174
mov byte [rsp + 0x39], 0xff
mov al, 0xff
jmp 0x18014017d
jbe 0x18014018b
mov byte [rsp + 0x3a], 1
mov al, 1
mov byte [rsp + 0x3b], al
test al, al
js 0x1801404bd
jmp 0x180140190
mov byte [rsp + 0x3c], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], r15
mov qword [rsp + 0x90], r15
mov eax, 0xf
mov qword [rsp + 0x98], rax
mov byte [rsp + 0x80], r15b
cmp byte [r14 + 0x40], 3
jne 0x1801404a9
mov rdx, qword [r14 + 0x48]
lea rcx, [rsp + 0x80]
cmp rcx, rdx
je 0x180140210
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], rax
jbe 0x1801401f1
mov rdx, qword [rdx]
lea rcx, [rsp + 0x80]
call fcn.180022390
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x40]
mov rax, qword [rsp + 0x98]
lea rbx, [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
cmp rax, 0xf
cmova rbx, rcx
jbe 0x180140272
lea rdx, [rax + 1]
mov qword [rsp + 0x100], rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180140263
add rdx, 0x27
mov qword [rsp + 0x100], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801404ae
call fcn.18010973c
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x40]
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], 0xf
mov byte [rsp + 0x80], r15b
cmp r13, 0xf
jbe 0x1801402d6
lea rdx, [r13 + 1]
mov qword [rsp + 0x108], rdx
mov rax, r12
cmp rdx, 0x1000
jb 0x1801402ce
add rdx, 0x27
mov qword [rsp + 0x108], rdx
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801404b3
mov rcx, r12
call fcn.18010973c
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r15b
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180140336
inc rdx
mov qword [rsp + 0x110], rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180140331
add rdx, 0x27
mov qword [rsp + 0x110], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801404b8
call fcn.18010973c
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r15b
movzx edx, byte [rsp + 0xc0]
lea rcx, [rsp + 0xc8]
call fcn.180003e80
lea rcx, [rsp + 0x250]
call fcn.180002390
mov rax, rbx
jmp 0x18014048a
movdqa xmm0, xmmword [0x1801614e0]
movdqu xmmword [rsp + 0x118], xmm0
movdqa xmm1, xmmword [0x180162580]
movdqu xmmword [rsp + 0x128], xmm1
mov byte [rsp + 0x138], 0x19
mov byte [rsp + 0x139], 0x39
mov byte [rsp + 0x13a], 0xf3
mov byte [rsp + 0x13b], 0x63
xor eax, eax
mov dword [rsp + 0x13c], eax
movabs rax, 0xf437ff3808c16f2b
mov qword [rsp + 0x140], rax
movabs rax, 0xc7df4ab33a54122c
mov qword [rsp + 0x148], rax
movabs rax, 0x4f46522c986050cc
mov qword [rsp + 0x150], rax
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x3a0]
call fcn.18000b8a0
movups xmm2, xmmword [rax]
movups xmmword [rsp + 0x158], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x168], xmm0
mov ecx, dword [rax + 0x20]
mov dword [rsp + 0x178], ecx
movzx eax, byte [rax + 0x24]
mov byte [rsp + 0x17c], al
lea r8, [rsp + 0x158]
mov edx, 0x100000
lea rcx, [0x18017bd90]
call fcn.1800010e0
mov dword [0x18017bd84], eax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9, [0x18017bd80]
mov r8d, eax
lea rdx, [0x18017bd90]
mov rcx, qword [0x18017bd78]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x250]
call fcn.180002390
nop
xor eax, eax
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, str.invalid_map_K__T__key
call fcn.180108a18
call fcn.1801107d8
call fcn.18011b998
call fcn.18011b998
call fcn.18011b998
lea rcx, str.invalid_map_K__T__key
call fcn.180108a18
call fcn.1801107d8
call fcn.1801107d8
int3