Function at 0x140133bb0
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5c8]
sub rsp, 0x690
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x1403d5798]
xor rax, rsp
mov qword [rbp + 0x550], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x60], rcx
call fcn.140141030
mov rcx, rax
test rax, rax
je 0x140134011
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov r15, 0xffffffffffffffff
xor r13d, r13d
test rdi, rdi
jne 0x140133d1c
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
lea rax, str.BetterWMF_BW3
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
lea r9, str.Bwmfout.BW3
lea r8, [0x140304bf8]
lea edx, [rdi + 1]
lea rcx, [rbp - 0x70]
call fcn.140158f3c
nop
lea rcx, [rbp - 0x70]
call fcn.140159c38
cmp rax, 1
je 0x140133c8a
lea rcx, [rbp - 0x70]
call fcn.1401592e8
jmp 0x140133fbb
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140159e20
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140133cf2
cmp dword [rbx + 0x10], 0
jl 0x140133ce3
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140133ce3
call fcn.140129ed0
mov rdi, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140133cd8
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x140133cf2
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14012a7b0
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140133d11
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x70]
call fcn.1401592e8
jmp 0x140133d3a
mov rax, r15
nop
inc rax
cmp word [rdi + rax*2], r13w
jne 0x140133d20
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14012a7b0
mov edx, dword [r14 + 0x1854]
mov rcx, r14
call fcn.1401368c0
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140129ed0
lea rdi, [rax + 0x18]
mov qword [rsp + 0x70], rdi
mov r8d, 4
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.14012db20
nop
mov rbx, qword [rsp + 0x68]
movsxd rsi, dword [rbx - 0x10]
test esi, esi
js 0x14013401c
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x140133da9
mov edx, esi
lea rcx, [rsp + 0x68]
call fcn.14012a6e0
mov rbx, qword [rsp + 0x68]
lea eax, [rsi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.1402e0884
cmp esi, dword [rbx - 0xc]
jg 0x14013401c
mov dword [rbx - 0x10], esi
mov word [rbx + rsi*2], r13w
mov rdx, r13
lea rcx, str..BW3
movzx eax, word [rbx + rdx*2]
inc rdx
cmp ax, word [rcx + rdx*2 - 2]
jne 0x140133e0f
cmp rdx, 5
jne 0x140133dd2
lea rcx, [rdi - 0x18]
call fcn.140129ed0
add rax, 0x18
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x60]
mov edx, 3
mov rcx, r14
call fcn.140134030
jmp 0x140133f76
mov r14d, 1
lea r12d, [r14 + 8]
mov rcx, qword [rsp + 0x60]
lea rsi, [rcx + 0x28]
lea rax, [0x1403db7a0]
sub rax, rcx
movsd xmm6, qword [0x140304cc0]
movsd xmm7, qword [0x1403020b0]
movsd xmm8, qword [0x1403020d8]
mov rbx, rax
mov r15, rcx
nop dword [rax + rax]
cmp dword [rsi - 0x10], r14d
jne 0x140133f52
mov r8d, r14d
lea rdx, str.color_d
lea rcx, [rbp + 0x538]
call fcn.140133680
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0xa
lea r9, [rbp + 0x520]
lea r8, [0x140304c20]
lea rdx, [rbp + 0x538]
lea rcx, str.Plotter_Device_WidthTable
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xorps xmm1, xmm1
lea rcx, [rbp + 0x520]
call fcn.14012f8b0
movsd qword [rsi - 8], xmm0
cmp dword [0x1403dcfd0], 0
je 0x140133eda
movsd xmm0, qword [rbx + rsi - 0x28]
mulsd xmm0, xmm6
addsd xmm0, xmm7
call fcn.1402e08d8
divsd xmm0, xmm8
movsd qword [rbx + rsi - 0x28], xmm0
movsxd rax, dword [r15 + 0x1854]
add rax, r12
lea rcx, [0x140302150]
mov eax, dword [rcx + rax*4]
mov dword [rsi], eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0xa
lea r9, [rbp + 0x520]
lea r8, [0x140304c20]
lea rdx, [rbp + 0x538]
lea rcx, str.Plotter_Device_PenTable
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x58], r13d
lea r8, [rsp + 0x58]
lea rdx, [0x1402fe9a0]
lea rcx, [rbp + 0x520]
call fcn.14012fef0
movzx ecx, byte [rsp + 0x58]
mov edx, ecx
shl edx, 8
mov eax, ecx
shl eax, 0x10
or edx, eax
or edx, ecx
mov dword [rsi + 4], edx
inc r14d
add r12, 9
add rsi, 0x18
cmp r14d, 0xff
jle 0x140133e50
mov rbx, qword [rsp + 0x68]
mov r15, 0xffffffffffffffff
mov r13d, 1
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, r13d
jg 0x140133f97
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140133fb6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x140133fd5
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r13d
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.140169a70
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140129930
nop
mov ecx, 0x80070057
call fcn.140129930
int3