Function at 0x1400d13d0
Capabilities:
Write file on windows

Disassembly:
movsxd r9, dword [rdx + 0x10]
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
mov r10, r8
mov r8d, dword [rax + r9*4]
lea eax, [r9 + 1]
mov dword [rdx + 0x10], eax
mov rdx, r10
jmp 0x1400d1590
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
lea rcx, [rsp + 0x60]
mov r12d, r8d
mov rdi, rdx
mov r14d, r15d
mov qword [rsp + 0x50], r15
call fcn.140061e90
movsd xmm0, qword [str.Windows_Icon]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x14020d4a0]
movzx ecx, word [rdi + 0x48]
mov r9d, 0x7f0
mov dword [rbp - 0x68], eax
movzx eax, byte [0x14020d4a4]
lea r8d, [r15 + 8]
mov byte [rbp - 0x64], al
mov eax, 0x10
lea r10d, [r15 + 1]
lea edx, [rax - 0xc]
mov word [rsp + 0x64], ax
cmp cx, r9w
jne 0x1400d1636
mov edx, 0x18
mov eax, 0x20
cmp word [rdi + 0x4c], dx
cmove ax, dx
jmp 0x1400d1666
movzx eax, word [rdi + 0x58]
cmp ax, 0x10
jle 0x1400d1646
movzx eax, r8w
jmp 0x1400d1666
cmp ax, dx
jle 0x1400d1655
movzx eax, dx
mov word [rsp + 0x72], dx
jmp 0x1400d166b
cmp ax, 2
jle 0x1400d1662
mov eax, 2
jmp 0x1400d1666
movzx eax, r10w
mov word [rsp + 0x72], ax
mov word [rsp + 0x70], r10w
cmp cx, r9w
jne 0x1400d168f
mov dword [rbp - 0x80], r15d
cmp ax, 0x20
jne 0x1400d1688
or dword [rsp + 0x60], 0x20
jmp 0x1400d1696
or dword [rsp + 0x60], r8d
jmp 0x1400d1696
mov dword [rbp - 0x80], 0x80100
mov r8d, dword [rdi + 0x50]
cwde
imul eax, r8d
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, eax
mov dword [rsp + 0x7c], eax
test al, 3
je 0x1400d16bc
and ecx, 0xfffffffc
add ecx, 4
mov dword [rsp + 0x7c], ecx
lea eax, [r8 + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov r13d, eax
test al, 3
je 0x1400d16d8
and r13d, 0xfffffffc
add r13d, 4
lea ebx, [rcx + r13]
mov rcx, qword [rsi]
imul ebx, dword [rdi + 0x54]
call fcn.1401c2310
mov edx, r12d
mov r12, qword [rsp + 0x38]
xor r8d, r8d
mov esi, eax
mov rcx, qword [r12]
call fcn.1401c1f88
movsx r9d, word [rsp + 0x72]
mov r8d, dword [rdi + 0x54]
mov edx, dword [rdi + 0x50]
mov rcx, r12
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebx
call fcn.1400d1b20
test ax, ax
jne 0x1400d172a
mov eax, 6
jmp 0x1400d19c6
mov rcx, qword [r12]
xor r8d, r8d
mov edx, esi
call fcn.1401c1f88
movsx r9d, word [rsp + 0x72]
mov r8d, dword [rdi + 0x54]
mov edx, dword [rdi + 0x50]
mov rcx, r12
mov dword [rsp + 0x20], ebx
call fcn.1400d1bf0
test ax, ax
je 0x1400d1720
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14005fe70
mov dword [rsp + 0x40], eax
test ax, ax
jne 0x1400d19c6
mov eax, 0x7f0
cmp word [rdi + 0x48], ax
je 0x1400d17e7
movzx ecx, byte [rsp + 0x72]
mov eax, 1
mov esi, r15d
shl eax, cl
test eax, eax
jle 0x1400d17e7
mov rbx, r15
mov rax, qword [rbp - 0x78]
mov rdx, qword [r12]
movzx ecx, byte [rbx + rax + 2]
call fcn.1401c1ae4
mov rax, qword [rbp - 0x78]
mov rdx, qword [r12]
movzx ecx, byte [rbx + rax + 1]
call fcn.1401c1ae4
mov rax, qword [rbp - 0x78]
mov rdx, qword [r12]
movzx ecx, byte [rbx + rax]
call fcn.1401c1ae4
mov rdx, qword [r12]
xor ecx, ecx
call fcn.1401c1ae4
movzx ecx, byte [rsp + 0x72]
mov eax, 1
inc esi
shl eax, cl
lea rbx, [rbx + 3]
cmp esi, eax
jl 0x1400d1791
mov rsi, r15
mov qword [rsp + 0x48], r15
cmp word [rdi + 0x5e], si
jl 0x1400d1828
cmp word [rsp + 0x72], 8
jg 0x1400d1828
mov ebx, dword [rdi + 0x54]
mov eax, ebx
imul eax, dword [rsp + 0x7c]
movsxd rcx, eax
call fcn.1401bee78
imul ebx, r13d
movsxd rcx, ebx
mov rsi, rax
mov qword [rsp + 0x48], rax
call fcn.1401bee78
mov qword [rsp + 0x50], rax
mov rbx, qword [rsp + 0x38]
mov r12d, r15d
cmp dword [rdi + 0x54], r15d
jle 0x1400d1969
mov dword [rsp + 0x30], r15d
nop
mov r8d, 1
mov edx, r12d
mov rcx, rdi
call fcn.1400629c0
test rsi, rsi
je 0x1400d1928
movsxd rcx, dword [rsp + 0x7c]
mov rdx, qword [rsp + 0x68]
mov eax, r12d
mov r8, rcx
imul eax, ecx
movsxd r14, eax
add r14, rsi
movsxd rsi, dword [rsp + 0x30]
add rsi, qword [rsp + 0x50]
mov rcx, r14
call fcn.1401bd6e0
mov ebx, r15d
xor r10b, r10b
xor r11b, r11b
cmp dword [rdi + 0x50], ebx
jle 0x1400d18dc
nop dword [rax]
nop word [rax + rax]
movsx r8d, word [rsp + 0x72]
mov edx, ebx
mov rcx, r14
add r10b, r10b
call fcn.1400d1310
movzx edx, al
cmp dx, word [rdi + 0x5e]
jne 0x1400d18c0
or r10b, 1
inc r11b
cmp r11b, 8
jne 0x1400d18d5
mov byte [rsi], r10b
inc rsi
xor r11b, r11b
xor r10b, r10b
inc ebx
cmp ebx, dword [rdi + 0x50]
jl 0x1400d18a0
mov r11d, r15d
cmp dword [rdi + 0x50], r15d
jle 0x1400d191e
nop word [rax + rax]
movsx r8d, word [rsp + 0x72]
mov edx, r11d
mov rcx, r14
call fcn.1400d1310
movzx edx, al
cmp dx, word [rdi + 0x5e]
jne 0x1400d1915
mov edx, r11d
mov rcx, r14
call fcn.1400d19f0
inc r11d
cmp r11d, dword [rdi + 0x50]
jl 0x1400d18f0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
movsxd rdx, dword [rsp + 0x7c]
mov r9, qword [rbx]
test rsi, rsi
mov r8d, 1
cmovne rcx, r14
call fcn.1401c24f8
cmp rax, 1
jne 0x1400d1961
add dword [rsp + 0x30], r13d
inc r12d
cmp r12d, dword [rdi + 0x54]
jl 0x1400d1840
jmp 0x1400d1969
mov dword [rsp + 0x40], 4
test rsi, rsi
je 0x1400d1996
movsxd r8, dword [rdi + 0x54]
mov r9, qword [rbx]
mov rcx, qword [rsp + 0x50]
movsxd rdx, r13d
call fcn.1401c24f8
mov rcx, rsi
call fcn.1401be23c
mov rcx, qword [rsp + 0x50]
call fcn.1401be23c
jmp 0x1400d19ba
mov eax, dword [rdi + 0x54]
imul eax, r13d
test eax, eax
jle 0x1400d19ba
mov rdx, qword [rbx]
xor ecx, ecx
call fcn.1401c1ae4
mov eax, dword [rdi + 0x54]
inc r15d
imul eax, r13d
cmp r15d, eax
jl 0x1400d19a1
mov rcx, rdi
call fcn.14005dcb0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1401bd600
mov rbx, qword [rsp + 0x178]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret