Function at 0x140009180
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
sub rsp, 0xe8
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rcx, qword [0x140040fb0]
cmp dword [rcx + 0x24cdab4], 0
je 0x1400095aa
mov qword [r11 + 0x10], rbp
lea rdx, str.EEPHRD_r
mov qword [r11 - 8], rdi
add rcx, 0x24cca20
mov qword [r11 + 8], rbx
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
xor ebp, ebp
mov rdi, 0xffffffffffffffff
cmp dword [rdx + 0x24cda50], 1
jne 0x140009226
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140009226
add rdx, 0x24cca20
mov r8, rdi
nop
inc r8
cmp byte [rdx + r8], bpl
jne 0x140009200
mov rcx, qword [rbx + 0xe00028]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], ebp
mov r8d, 0x3e8
call fcn.14000ade0
movsxd r8, eax
test eax, eax
jle 0x140009592
mov rbx, qword [0x140040fb0]
mov edx, ebp
mov qword [rsp + 0x100], rsi
movaps xmmword [rsp + 0xd0], xmm6
mov byte [r8 + rbx + 0x1db2a20], bpl
mov rcx, qword [rbx + 0x2582e38]
mov r9d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140009297
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140009290
mov dword [rcx + 0xe0001c], ebp
inc edx
cmp edx, r8d
jl 0x140009270
lea r10, [rbx + 0x1db2a27]
mov r11, rbp
mov r8d, ebp
mov r9d, ebp
mov rdx, rbp
nop word [rax + rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400092c9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x1400092d4
cmp cl, 0x2d
jne 0x1400092df
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x1400092b0
jmp 0x1400092e7
cmp cl, 0x2c
jne 0x1400092e7
inc rdx
add r10, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r10]
cmovne eax, r8d
mov dword [rsp + r11*4 + 0x40], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x14000930f
sub cl, 0x2c
cmp cl, 1
ja 0x14000931b
inc r11
cmp r11, 0x1000
jl 0x1400092a1
movsd xmm6, qword [0x14003a6a0]
lea rcx, [rsp + 0x44]
mov esi, 3
lea rdx, [rbx + 0x1802108]
mov r8d, esi
nop word [rax + rax]
mov eax, dword [rcx - 4]
lea rdx, [rdx + 0x20]
sub eax, 0x8000
lea rcx, [rcx + 0x10]
movd xmm0, eax
mov eax, dword [rcx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x28], xmm0
movd xmm0, eax
mov eax, dword [rcx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rcx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x18], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rdx - 0x10], xmm0
sub r8, 1
jne 0x140009340
lea rcx, [rbx + 0x24cca20]
lea rdx, str.EEAMPRD_r
call fcn.1400010b0
mov rdx, qword [0x140040fb0]
cmp dword [rdx + 0x24cda50], 1
jne 0x140009419
mov rbx, qword [rdx + 0x2582e38]
cmp dword [rbx + 8], 1
je 0x140009419
add rdx, 0x24cca20
nop dword [rax]
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x1400093f0
mov rcx, qword [rbx + 0xe00028]
lea r9, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], ebp
mov r8d, 0x3e8
call fcn.14000ade0
movsxd r8, eax
test eax, eax
jle 0x140009582
mov rbx, qword [0x140040fb0]
mov edx, ebp
mov byte [r8 + rbx + 0x1db2a20], bpl
mov rcx, qword [rbx + 0x2582e38]
mov r9d, dword [rcx + 0xe00018]
nop
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140009477
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140009470
mov dword [rcx + 0xe0001c], ebp
inc edx
cmp edx, r8d
jl 0x140009450
lea r10, [rbx + 0x1db2a28]
mov r11, rbp
mov r8d, ebp
mov r9d, ebp
mov rdx, rbp
nop word [rax + rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400094a9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x1400094b4
cmp cl, 0x2d
jne 0x1400094bf
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140009490
jmp 0x1400094c7
cmp cl, 0x2c
jne 0x1400094c7
inc rdx
add r10, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r10]
cmovne eax, r8d
mov dword [rsp + r11*4 + 0x40], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x1400094ef
sub cl, 0x2c
cmp cl, 1
ja 0x1400094fb
inc r11
cmp r11, 0x1000
jl 0x140009481
lea rcx, [rsp + 0x44]
lea rdx, [rbx + 0x18020a8]
nop word [rax + rax]
mov eax, dword [rcx - 4]
lea rdx, [rdx + 0x20]
sub eax, 0x8000
lea rcx, [rcx + 0x10]
movd xmm0, eax
mov eax, dword [rcx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x28], xmm0
movd xmm0, eax
mov eax, dword [rcx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rcx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rdx - 0x18], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rdx - 0x10], xmm0
sub rsi, 1
jne 0x140009510
mov rsi, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xd0]
mov rbx, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140011800
add rsp, 0xe8
ret