Function at 0x140063d40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x110
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rdi, rcx
mov qword [rsp + 0x80], rcx
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x150], r13
test rcx, rcx
je 0x140063d87
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r14d, dword [rdi + 0x24]
lea rbx, [rdi + 0x18]
xor esi, esi
mov qword [rsp + 0x148], r12
mov dword [rsp + 0x28], esi
mov r9, rbx
xor r8d, r8d
mov qword [rdi + 0x10], rsi
lea ebp, [r14*2 + 2]
mov qword [rsp + 0x94], 0x200001
lea r15d, [r14 + 1]
mov qword [rsp + 0xa0], rsi
mov eax, ebp
mov dword [rsp + 0x38], r15d
shl eax, 5
mov r13d, r15d
add eax, 3
imul r13d, r15d
cdq
mov qword [rsp + 0xac], rsi
and edx, 3
mov dword [rsp + 0x88], 0x28
add eax, edx
mov dword [rsp + 0x8c], ebp
sar eax, 2
lea rdx, [rsp + 0x88]
imul eax, ebp
xor ecx, ecx
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x90], ebp
mov dword [rsp + 0xa8], esi
mov qword [rsp + 0x20], rsi
shl eax, 2
mov dword [rsp + 0x9c], eax
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov qword [rdi + 0x10], rax
test r15d, r15d
jle 0x140064056
movsxd rax, ebp
not r14d
mov qword [rsp + 0x48], rax
mov ecx, esi
mov r10, qword [rsp + 0x48]
lea eax, [rbp - 1]
imul eax, ebp
movaps xmmword [rsp + 0x100], xmm6
neg ebp
movaps xmmword [rsp + 0xf0], xmm7
movsd xmm7, qword [0x1401b4da8]
movaps xmmword [rsp + 0xe0], xmm8
movss xmm8, dword [0x1401b4de0]
movsxd r12, eax
movsxd rax, ebp
mov qword [rsp + 0x40], rax
mov r9, qword [rsp + 0x40]
movaps xmmword [rsp + 0xd0], xmm9
lea rdx, [r12*4]
movsd xmm9, qword [0x1401b4d90]
lea rax, [rax*4]
mov qword [rsp + 0x50], rax
mov r11, qword [rsp + 0x50]
mov eax, r15d
movsxd r8, r15d
movaps xmmword [rsp + 0xc0], xmm10
movsd xmm10, qword [0x1401b4d70]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r8
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], rdx
test r8, r8
jle 0x140063ff4
mov eax, r14d
movd xmm6, r13d
imul eax, r14d
mov ebp, r15d
neg ebp
mov r15, rcx
sub r15, r12
mov r13, rdx
cvtdq2ps xmm6, xmm6
mov r14, r8
mov dword [rsp + 0x34], eax
lea rax, [r12 + r8*2]
mov r12d, dword [rsp + 0x34]
lea rdi, [rax*4 - 4]
nop dword [rax]
nop dword [rax + rax]
mov eax, ebp
imul eax, ebp
add eax, r12d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
mulss xmm0, xmm8
cvtps2pd xmm1, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm10
lea rcx, [r15*4]
subsd xmm1, xmm0
mov edx, esi
movaps xmm0, xmm7
mulsd xmm1, xmm7
subsd xmm0, xmm1
cvttsd2si eax, xmm0
test eax, eax
cmovns edx, eax
mov rax, qword [rbx]
shl edx, 0x18
add rcx, r13
inc ebp
mov dword [rcx + rax], edx
lea rcx, [rdi + r15*4]
mov rax, qword [rbx]
mov dword [rcx + rax], edx
mov rax, qword [rbx]
mov dword [rdi + rax], edx
sub rdi, 4
mov rax, qword [rbx]
mov dword [rax + r13], edx
add r13, 4
sub r14, 1
jne 0x140063f40
mov r14d, dword [rsp + 0x30]
mov r12, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov r15d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x48]
mov r11, qword [rsp + 0x50]
mov r13d, dword [rsp + 0x3c]
inc r14d
add r12, r9
add rdx, r11
mov dword [rsp + 0x30], r14d
add rcx, r10
mov qword [rsp + 0x58], r12
sub rax, 1
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rcx
jne 0x140063ef6
mov rdi, qword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0xc0]
movaps xmm9, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
mov r13, qword [rsp + 0x150]
cmp qword [rdi + 0x10], rsi
je 0x14006419d
cmp qword [rbx], rsi
je 0x14006419d
mov ecx, dword [rdi + 0x24]
lea r9d, [rcx + 1]
lea r8d, [r9 + r9]
lea eax, [r8 + 1]
imul ecx, r8d
imul eax, r9d
add ecx, r9d
movsxd rdx, eax
lea eax, [r9 - 2]
imul eax, r8d
movsxd rbp, ecx
sub rbp, rdx
lea r10, [rdx*4]
lea r11, [r10 - 4]
add eax, r9d
movsxd r14, eax
lea eax, [r9 + 1]
imul eax, r8d
sub r14, rdx
add eax, r9d
movsxd r15, eax
lea eax, [r9 - 3]
imul eax, r8d
sub r15, rdx
add eax, r9d
movsxd r12, eax
lea eax, [r9 + 2]
imul eax, r8d
sub r12, rdx
add eax, r9d
movsxd r8, eax
sub r8, rdx
cmp byte [rdi + 0x28], 0
jne 0x1400640f4
mov edx, 0x15000000
cmp esi, 2
jae 0x1400640f7
mov edx, dword [rdi + 0x20]
mov rax, qword [rbx]
lea rcx, [r11 + rbp*4]
mov dword [rcx + rax], edx
lea rcx, [r10 + rbp*4]
mov rax, qword [rbx]
mov dword [rcx + rax], edx
mov rax, qword [rbx]
mov dword [r10 + rax], edx
mov rax, qword [rbx]
mov dword [r11 + rax], edx
cmp byte [rdi + 0x28], 0
jne 0x140064129
mov edx, 0x15000000
cmp esi, 2
jae 0x14006412c
mov edx, dword [rdi + 0x20]
mov rax, qword [rbx]
lea rcx, [r11 + r14*4]
mov dword [rcx + rax], edx
lea rcx, [r10 + r14*4]
mov rax, qword [rbx]
mov dword [rcx + rax], edx
lea rcx, [r10 + r15*4]
mov rax, qword [rbx]
mov dword [rcx + rax], edx
lea rcx, [r11 + r15*4]
mov rax, qword [rbx]
mov dword [rcx + rax], edx
mov edx, 0x15000000
cmp byte [rdi + 0x28], 0
je 0x140064162
mov edx, dword [rdi + 0x20]
mov rax, qword [rbx]
lea rcx, [r11 + r12*4]
inc esi
mov dword [rcx + rax], edx
lea rcx, [r10 + r12*4]
mov rax, qword [rbx]
mov dword [rcx + rax], edx
lea rcx, [r10 + r8*4]
mov rax, qword [rbx]
add r10, 4
mov dword [rcx + rax], edx
lea rcx, [r11 + r8*4]
mov rax, qword [rbx]
sub r11, 4
mov dword [rcx + rax], edx
cmp esi, 3
jl 0x1400640e4
mov r12, qword [rsp + 0x148]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140160900
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret