Function at 0x14000d740
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x470
movaps xmmword [rsp + 0x460], xmm6
mov rax, qword [0x140019330]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov ebp, dword [rsp + 0x4d0]
mov rbx, qword [rsp + 0x4e0]
xor r12d, r12d
movaps xmm6, xmm0
test ebp, ebp
mov esi, 0x15e
mov r15d, r9d
cmovs ebp, r12d
mov r14d, r8d
mov dword [rsp + 0x24], r12d
cmp ebp, esi
mov edi, r12d
lea rcx, [rsp + 0x28]
cmovl esi, ebp
cmp dword [rsp + 0x4d8], r12d
je 0x14000d7d7
movsx r9d, dl
lea rdx, str.__._d_c
mov r8d, esi
call qword [sym.imp.MSVCR120.dll_sprintf]
test eax, eax
js 0x14000d9e6
mov edi, ebp
sub edi, esi
jmp 0x14000d7f0
movsx r8d, dl
lea rdx, str.___c
call qword [sym.imp.MSVCR120.dll_sprintf]
test eax, eax
js 0x14000d9e6
movaps xmm0, xmm6
call qword [sym.imp.MSVCR120.dll__dclass]
cmp ax, 2
je 0x14000d82e
mov eax, r12d
xorps xmm0, xmm0
comisd xmm0, xmm6
seta al
test eax, eax
je 0x14000d821
xorps xmm6, xmmword [0x140015c60]
mov dword [rsp + 0x24], reloc.LIBPQ.dll_Ordinal_45
jmp 0x14000d82e
test r14d, r14d
je 0x14000d82e
mov dword [rsp + 0x24], Ordinal_48
movaps xmm2, xmm6
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
movq r8, xmm2
call qword [sym.imp.MSVCR120.dll_sprintf]
movsxd rsi, eax
test eax, eax
js 0x14000d9e6
test edi, edi
jle 0x14000d866
movzx ecx, byte [rsp + rsi + 0x4f]
call qword [sym.imp.MSVCR120.dll_isdigit]
test eax, eax
cmove edi, r12d
mov eax, dword [rsp + 0x4c0]
sub eax, esi
sub eax, edi
cmovs eax, r12d
mov dword [rsp + 0x20], eax
test r15d, r15d
je 0x14000d884
neg eax
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x4c8]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x24]
mov r9, rbx
call fcn.14000dbb0
lea rcx, [rsp + 0x50]
test edi, edi
jle 0x14000d96d
mov edx, 0x65
call qword [sym.imp.MSVCR120.dll_strrchr]
mov rbp, rax
test rax, rax
jne 0x14000d914
lea edx, [rax + 0x45]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCR120.dll_strrchr]
mov rbp, rax
test rax, rax
jne 0x14000d914
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, esi
call fcn.14000da30
mov rax, qword [rbx + 0x10]
dec edi
test rax, rax
je 0x14000d905
cmp qword [rbx], rax
jb 0x14000d905
cmp qword [rbx + 0x18], r12
jne 0x14000d8fd
inc dword [rbx + 0x20]
jmp 0x14000d90e
mov rcx, rbx
call fcn.14000c810
mov rax, qword [rbx]
mov byte [rax], reloc.LIBPQ.dll_Ordinal_48
inc qword [rbx]
test edi, edi
jg 0x14000d8e2
jmp 0x14000d977
lea rax, [rsp + 0x50]
mov edx, ebp
lea rcx, [rsp + 0x50]
sub edx, eax
mov r8, rbx
call fcn.14000da30
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
dec edi
test rax, rax
je 0x14000d953
cmp qword [rbx], rax
jb 0x14000d953
cmp qword [rbx + 0x18], r12
jne 0x14000d94b
inc dword [rbx + 0x20]
jmp 0x14000d95c
mov rcx, rbx
call fcn.14000c810
mov rax, qword [rbx]
mov byte [rax], reloc.LIBPQ.dll_Ordinal_48
inc qword [rbx]
test edi, edi
jg 0x14000d930
lea edx, [rsp + 0x50]
sub esi, ebp
mov rcx, rbp
add edx, esi
jmp 0x14000d96f
mov edx, esi
mov r8, rbx
call fcn.14000da30
mov eax, dword [rsp + 0x20]
test eax, eax
jns 0x14000d9ea
neg eax
movsxd rsi, eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14000d9d6
mov rdi, qword [rbx]
cmp rdi, rax
jb 0x14000d9d6
mov r9, qword [rbx + 0x18]
test r9, r9
jne 0x14000d9a3
inc dword [rbx + 0x20]
jmp 0x14000d9df
mov rcx, qword [rbx + 8]
sub rdi, rcx
cmp byte [rbx + 0x24], r12b
jne 0x14000d9cf
test rdi, rdi
je 0x14000d9cf
mov r8, rdi
mov edx, 1
call qword [sym.imp.MSVCR120.dll_fwrite]
add dword [rbx + 0x20], eax
cmp rax, rdi
je 0x14000d9cf
mov byte [rbx + 0x24], 1
mov rax, qword [rbx + 8]
mov qword [rbx], rax
mov rax, qword [rbx]
mov byte [rax], Ordinal_34
inc qword [rbx]
dec rsi
jne 0x14000d984
jmp 0x14000d9ea
mov byte [rbx + 0x24], 1
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000f6c0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret