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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rbx, rdx
mov r14, rcx
mov rsi, qword [rdx + 0x80]
xor edi, edi
test rsi, rsi
je 0x140047160
mov rcx, qword [rsi]
call fcn.1400dc5e2
mov rcx, rsi
call fcn.1400dc4e6
mov qword [rbx + 0x80], rdi
mov rcx, qword [r14 + 0x80]
test rcx, rcx
je 0x140047178
call fcn.140045c40
mov qword [rbx + 0x80], rax
lea rdx, [r14 + 0x60]
lea rcx, [rbx + 0x60]
call fcn.1400306c0
lea r12, [r14 + 0x68]
lea rcx, [rbx + 0x68]
mov rdx, r12
call fcn.1400306c0
mov eax, dword [r14 + 0x88]
mov dword [rbx + 0x88], eax
mov eax, dword [r14 + 0x8c]
mov dword [rbx + 0x8c], eax
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x1400471c6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x70], rdi
mov rsi, qword [r14 + 0x70]
test rsi, rsi
je 0x14004723e
lea rdx, [rbp + 0x77]
mov rcx, qword [rsi + 8]
call fcn.1400dc4fe
test eax, eax
je 0x1400471e3
mov dword [rsi + 0x10], eax
mov r15, qword [r14 + 0x70]
mov dword [rbp + 0x67], edi
lea rdx, [rbp + 0x67]
mov rcx, qword [r15 + 8]
call fcn.1400dc4d4
test eax, eax
je 0x1400471ff
mov dword [r15 + 0x10], eax
mov r15, qword [r14 + 0x70]
mov dword [rbp + 0x6f], edi
lea rdx, [rbp + 0x6f]
mov rcx, qword [r15 + 8]
call fcn.1400dc4ce
test eax, eax
je 0x14004721b
mov dword [r15 + 0x10], eax
mov eax, dword [rbp + 0x77]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x67]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x6f]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140037a80
mov qword [rbx + 0x70], rax
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x140047258
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x78], rdi
mov rcx, rdi
cmp qword [rbx + 0x70], rdi
je 0x1400474df
test rcx, rcx
je 0x140047271
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x78], rdi
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.140046df0
movss xmm6, dword [rbp - 0x31]
cvttss2si ecx, xmm6
add ecx, 0x32
movss xmm7, dword [rbp - 0x2d]
cvttss2si edx, xmm7
add edx, 0x32
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbp - 0x19], rax
mov qword [rbp + 0x67], rdi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9d, 0x26200a
xor r8d, r8d
call fcn.1400dc504
mov r15, qword [rbp + 0x67]
mov qword [rbp - 0x11], r15
mov dword [rbp + 0x67], edi
test eax, eax
je 0x1400472e0
mov rcx, r15
call fcn.1400dc4f2
jmp 0x1400474df
mov qword [rbp + 0x6f], rdi
lea rdx, [rbp + 0x6f]
mov rcx, r15
call fcn.1400dc4f8
mov r12, qword [rbp + 0x6f]
mov qword [rbp - 0x29], r12
mov r13d, edi
test eax, eax
jne 0x1400474ca
mov qword [rbp + 0x6f], rdi
lea rcx, [rbp + 0x6f]
call fcn.1400dc5dc
mov esi, eax
mov rcx, qword [rbp + 0x6f]
mov qword [rbp - 0x39], rcx
mov eax, dword [rbx + 0x94]
cdq
sub eax, edx
sar eax, 1
neg eax
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov eax, dword [rbx + 0x90]
cdq
sub eax, edx
sar eax, 1
neg eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xor r9d, r9d
call fcn.1400dc5f4
test eax, eax
cmovne esi, eax
mov rdx, qword [rbx + 0x80]
test rdx, rdx
je 0x140047372
mov r8d, 1
mov rdx, qword [rdx]
mov rcx, qword [rbp + 0x6f]
call fcn.1400dc6c0
test eax, eax
cmovne esi, eax
movaps xmm2, xmm7
mulss xmm2, dword [0x1400ec91c]
movaps xmm1, xmm6
mulss xmm1, dword [0x1400ec91c]
mov r9d, 1
mov rcx, qword [rbp + 0x6f]
call fcn.1400dc5f4
test eax, eax
cmovne esi, eax
mov dword [rbp - 0x31], esi
cmp dword [rbx + 0x98], 0
je 0x1400473ba
mov rdx, qword [rbp + 0x6f]
mov rcx, r12
call fcn.1400dc5fa
test eax, eax
cmovne r13d, eax
mov ecx, dword [rbx + 0x94]
mov r8d, dword [rbx + 0x90]
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x1400473d6
mov rdx, qword [rax + 8]
jmp 0x1400473d9
mov rdx, rdi
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call fcn.1400dc51c
test eax, eax
cmovne r13d, eax
mov dword [rbp - 0x21], r13d
mov qword [rbp + 0x77], rdi
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x26200a
movaps xmm3, xmm7
movaps xmm2, xmm6
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.1400dc6cc
test eax, eax
je 0x14004742e
mov rsi, rdi
jmp 0x140047466
mov ecx, 0x18
call fcn.1400dc4e0
mov rsi, rax
test rax, rax
je 0x140047457
mov rax, qword [rbp + 0x77]
lea rcx, vtable.Gdiplus::Bitmap.0
mov qword [rsi], rcx
mov dword [rsi + 0x10], edi
mov qword [rsi + 8], rax
jmp 0x140047463
mov rsi, rdi
mov rcx, qword [rbp + 0x77]
call fcn.1400dc4f2
mov eax, dword [rbp + 0x67]
mov dword [rbp - 9], edi
test eax, eax
jne 0x1400474ad
lea ecx, [rax + 0x18]
call fcn.1400dc4e0
mov r13, rax
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1400474a9
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x10]
call fcn.140060fe0
mov r8, qword [rax + 0x28]
mov rdx, rsi
mov rcx, r13
call fcn.1400458a0
mov rdi, rax
mov qword [rbx + 0x78], rdi
test rsi, rsi
je 0x1400474c0
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
mov rcx, qword [rbp + 0x6f]
call fcn.1400dc5e2
nop
mov rcx, r12
call fcn.1400dc516
nop
mov rcx, r15
call fcn.1400dc4f2
lea r12, [r14 + 0x68]
cmp qword [rbx + 0x78], 0
jne 0x14004750d
mov rcx, qword [r12]
cmp dword [rcx - 0x10], 0
je 0x14004750d
add rcx, 0xffffffffffffffe8
call fcn.1400284a0
add rax, 0x18
mov qword [rbp + 0x67], rax
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140045ff0
mov rdx, rbx
mov rcx, r14
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.14003d0a0