Function at 0x140002ab0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
mov eax, 0x168
call fcn.140005800
sub rsp, rax
mov r8d, dword [0x1400308f8]
lea rbx, [0x140031e80]
mov edx, dword [0x1400308fc]
mov eax, r8d
movsxd r9, dword [0x1400308e4]
sub eax, edx
mov rsi, rcx
cmp eax, 2
jl 0x140002afa
mov rax, qword [rbx + r9*8]
cmp dword [rax + 0xc], 0
jg 0x140003284
mov eax, edx
sub eax, r8d
cmp eax, 2
jl 0x140002b12
mov rax, qword [rbx + r9*8]
cmp dword [rax + 0xc], 0
jl 0x140003284
mov rcx, qword [rbx + r9*8]
mov qword [rsp + 0x158], rdi
cmp dword [rcx + 0xc], 0
jle 0x140002b32
inc r8d
mov dword [0x1400308f8], r8d
cmp dword [rcx + 0xc], 0
jge 0x140002b3c
inc edx
mov dword [0x1400308fc], edx
mov dword [0x1400308d4], 0
call fcn.140003310
movsxd rdi, dword [0x14002f024]
cmp edi, dword [0x1400308e4]
mov dword [0x1400308d4], 1
mov dword [rsp + 0x190], edi
jg 0x140003225
lea rdx, [0x14002f038]
mov qword [rsp + 0x160], rbp
mov qword [rsp + 0x150], r12
mov ecx, 0x50
sub rcx, rdx
mov qword [rsp + 0x148], r13
mov qword [rsp + 0x198], rcx
mov r12d, 0x88
mov qword [rsp + 0x140], r14
mov ecx, 0x98
sub rcx, rdx
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x30], rcx
mov r14d, 0x80
mov ecx, 0x54
movaps xmmword [rsp + 0x120], xmm6
sub rcx, rdx
movaps xmmword [rsp + 0x110], xmm7
mov qword [rsp + 0x38], rcx
mov r15d, 0x84
mov ecx, 0x9c
movaps xmmword [rsp + 0x100], xmm8
sub rcx, rdx
mov ebp, 0x8c
mov qword [rsp + 0x90], rcx
mov r13d, 0x48
mov ecx, 0x58
mov r9d, 0x90
sub rcx, rdx
sub r9, rdx
mov qword [rsp + 0x40], rcx
mov r10d, 0x4c
mov ecx, 0xa0
mov qword [rsp + 0xe8], r9
sub rcx, rdx
sub r10, rdx
mov qword [rsp + 0x98], rcx
mov r11d, 0x94
mov ecx, 0x5c
mov qword [rsp + 0xf0], r10
sub rcx, rdx
sub r11, rdx
mov qword [rsp + 0x48], rcx
sub r14, rdx
mov ecx, 0xa4
mov qword [rsp + 0xf8], r11
sub rcx, rdx
sub r15, rdx
mov qword [rsp + 0xa0], rcx
sub r12, rdx
mov ecx, 0x60
sub rbp, rdx
sub rcx, rdx
sub r13, rdx
mov qword [rsp + 0x50], rcx
mov ecx, 0xa8
sub rcx, rdx
mov qword [rsp + 0xa8], rcx
mov ecx, 0x64
sub rcx, rdx
mov qword [rsp + 0x58], rcx
mov ecx, 0xac
sub rcx, rdx
mov qword [rsp + 0xb0], rcx
mov ecx, 0x68
sub rcx, rdx
mov qword [rsp + 0x60], rcx
mov ecx, 0xb0
sub rcx, rdx
mov qword [rsp + 0xb8], rcx
mov ecx, 0x6c
sub rcx, rdx
mov qword [rsp + 0x68], rcx
mov ecx, 0xb4
sub rcx, rdx
mov qword [rsp + 0xc0], rcx
mov ecx, 0x70
sub rcx, rdx
mov qword [rsp + 0x70], rcx
mov ecx, 0xb8
sub rcx, rdx
movsd xmm6, qword [0x140022b98]
lea rbx, [rbx + rdi*8]
movsd xmm7, qword [0x140022ba8]
movsd xmm8, qword [0x140022ba0]
mov qword [rsp + 0xc8], rcx
mov ecx, 0x74
sub rcx, rdx
mov qword [rsp + 0x78], rcx
mov ecx, 0xbc
sub rcx, rdx
mov qword [rsp + 0xd0], rcx
mov ecx, 0x78
sub rcx, rdx
mov qword [rsp + 0x80], rcx
mov ecx, 0xc0
sub rcx, rdx
mov qword [rsp + 0xd8], rcx
mov ecx, 0x7c
sub rcx, rdx
mov qword [rsp + 0x88], rcx
mov ecx, 0xc4
sub rcx, rdx
mov qword [rsp + 0xe0], rcx
mov rax, qword [rbx]
lea rcx, [0x140031e80]
mov rsi, qword [rsp + 0x198]
mov r8, rdx
mov rdi, qword [rsp + 0x30]
mov dword [rax], 3
movsxd rax, dword [0x1400308e4]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rbx]
mov eax, dword [rax + 0xc]
mov dword [rcx + 0xc], eax
nop dword [rax]
mov rcx, qword [rbx]
lea rdx, [r8 + r13]
mov eax, dword [rdx + rcx]
imul eax, dword [r8 - 8]
mov dword [rdx + rcx], eax
lea rdx, [r10 + r8]
mov rcx, qword [rbx]
mov eax, dword [rdx + rcx]
imul eax, dword [r8 - 4]
mov dword [rdx + rcx], eax
lea rdx, [rsi + r8]
mov rcx, qword [rbx]
mov eax, dword [rdx + rcx]
imul eax, dword [r8]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x38]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 4]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x40]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 8]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x48]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0xc]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x50]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x10]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x58]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x14]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x60]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x18]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x68]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x1c]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x70]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x20]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x78]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x24]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x80]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x28]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x88]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x2c]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
lea rdx, [r14 + r8]
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x30]
mov dword [rdx + rcx], eax
lea rdx, [r15 + r8]
mov rcx, qword [rbx]
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x34]
mov dword [rdx + rcx], eax
lea rdx, [r12 + r8]
mov rcx, qword [rbx]
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x38]
mov dword [rdx + rcx], eax
lea rdx, [r8 + rbp]
mov rcx, qword [rbx]
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x3c]
mov dword [rdx + rcx], eax
lea rdx, [r9 + r8]
mov rcx, qword [rbx]
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x40]
mov dword [rdx + rcx], eax
lea rdx, [r11 + r8]
mov rcx, qword [rbx]
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x44]
mov dword [rdx + rcx], eax
lea rdx, [rdi + r8]
mov rcx, qword [rbx]
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x48]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x90]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x4c]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0x98]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x50]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0xa0]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x54]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0xa8]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x58]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0xb0]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x5c]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0xb8]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x60]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0xc0]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x64]
mov dword [rdx + rcx], eax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rbx]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x68]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0xd0]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x6c]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0xd8]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x70]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0xe0]
add rdx, r8
mov eax, dword [rdx + rcx]
imul eax, dword [r8 + 0x74]
sub r8, 0xffffffffffffff80
mov dword [rdx + rcx], eax
lea rax, [0x14002f138]
cmp r8, rax
jl 0x140002dd0
movsxd rdx, dword [0x1400308e4]
lea r8, [0x140031e80]
mov edi, dword [rsp + 0x190]
mov rcx, qword [rbx]
mov rax, qword [r8 + rdx*8]
movd xmm2, edi
cvtdq2pd xmm2, xmm2
cmp dword [rax + 0xc], 0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm2, xmm6
divsd xmm2, xmm0
jle 0x140003102
addsd xmm2, xmm7
movsd qword [rcx + 0x18], xmm2
movabs rcx, 0x3fb999999999999a
mov rax, qword [rbx]
mov qword [rax + 0x20], rcx
mov rax, qword [rbx]
mov dword [rax + 0x10], 1
jmp 0x14000312a
movaps xmm1, xmm8
subsd xmm1, xmm2
movsd qword [rcx + 0x18], xmm1
movabs rcx, 0x3fb999999999999a
mov rax, qword [rbx]
mov qword [rax + 0x20], rcx
mov rax, qword [rbx]
mov dword [rax + 0x10], 0
mov rax, qword [rbx]
lea rcx, str.Pos:__2d___Ew:__10.6f___Delta:__10.6f__n
mov edx, edi
movsd xmm3, qword [rax + 0x20]
movsd xmm2, qword [rax + 0x18]
movq r9, xmm3
movq r8, xmm2
call fcn.140003d90
mov rsi, qword [rsp + 0x180]
lea r9, [rsp + 0x188]
mov rdx, qword [rbx]
xor eax, eax
mov rcx, rsi
mov dword [rsp + 0x188], eax
mov r8d, 0x148
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x188], 0x148
je 0x1400031a5
mov r8d, 1
lea rdx, str.Pipe_closed
lea rcx, str.WritePipe
call fcn.140004b20
mov r9, qword [rsp + 0xe8]
lea rdx, [0x14002f038]
mov r10, qword [rsp + 0xf0]
inc edi
mov r11, qword [rsp + 0xf8]
add rbx, 8
cmp edi, dword [0x1400308e4]
mov dword [rsp + 0x190], edi
jle 0x140002d95
movaps xmm8, xmmword [rsp + 0x100]
lea rbx, [0x140031e80]
movaps xmm7, xmmword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0x120]
mov r15, qword [rsp + 0x138]
mov r14, qword [rsp + 0x140]
mov r13, qword [rsp + 0x148]
mov r12, qword [rsp + 0x150]
mov rbp, qword [rsp + 0x160]
movsxd rdx, edi
lea r9, [rsp + 0x188]
mov r8d, 0x148
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov rax, qword [rbx + rdx*8]
mov dword [rax], 6
mov rdx, qword [rbx + rdx*8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x188], 0x148
mov rdi, qword [rsp + 0x158]
je 0x140003284
mov r8d, 1
lea rdx, str.Pipe_closed
lea rcx, str.WritePipe
call fcn.140004b20
xor eax, eax
add rsp, 0x168
pop rsi
pop rbx
ret