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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x1c8
cmp qword [rcx + 8], 0
mov r13d, r9d
mov r12d, r8d
mov r14, rdx
mov rdi, rcx
je 0x180084d2b
test rdx, rdx
je 0x180084d2b
mov ebp, dword [rsp + 0x220]
test ebp, ebp
je 0x180084d2b
mov esi, dword [rsp + 0x228]
test esi, esi
je 0x180084d2b
cmp byte [rcx + 0x193], 0
je 0x180084d2b
test ebp, ebp
jns 0x180083c9c
mov ebp, dword [rcx + 0x14]
test esi, esi
jns 0x180083ca3
mov esi, dword [rcx + 0x18]
cmp dword [rcx + 0x160], 0
setge byte [rsp + 0x74]
cmp qword [rcx + 0x39b], 0
mov rcx, rdx
setne byte [rsp + 0x200]
call qword [sym.imp.GDI32.dll_SaveDC]
mov dword [rsp + 0x10c], eax
test eax, eax
je 0x180084d2b
mov qword [rsp + 0x218], rbx
mov rbx, qword [rsp + 0x230]
mov qword [rsp + 0x1c0], r15
mov r15d, 1
test rbx, rbx
je 0x180083d2f
lea rdx, [rsp + 0x150]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetClipBox]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov r8d, r15d
mov rcx, r14
mov rdx, rax
mov rbx, rax
call qword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rdx, [rsp + 0x118]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetClipBox]
mov edx, dword [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal]
mov r14d, dword [rsp + reloc.OLEAUT32.dll_BSTR_UserUnmarshal]
mov r15d, dword [rsp + 0x118]
mov ecx, dword [rsp + 0x124]
cmp r14d, r13d
lea r8d, [r12 + rbp]
mov r10d, r13d
mov r9d, r12d
cmovg r10d, r14d
mov eax, r8d
mov dword [rsp + 0x78], r14d
cmp ecx, r10d
cmovl r10d, ecx
cmp r15d, r12d
cmovg r9d, r15d
mov dword [rsp + 0x90], r10d
cmp edx, r9d
cmovl r9d, edx
cmp edx, r8d
cmovl eax, edx
mov dword [rsp + 0x84], r9d
cmp r15d, eax
jg 0x180083db1
mov r15d, r8d
cmp edx, r8d
cmovl r15d, edx
lea ebx, [r13 + rsi]
cmp ecx, ebx
mov eax, ebx
cmovl eax, ecx
cmp r14d, eax
jg 0x180083dd0
mov r14d, ebx
cmp ecx, ebx
cmovl r14d, ecx
mov dword [rsp + 0x78], r14d
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1a0], xmm7
movaps xmmword [rsp + 0x190], xmm8
sub r15d, r9d
mov eax, r14d
sub eax, r10d
cmp byte [rsp + 0x74], 0
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x7c], eax
movaps xmmword [rsp + 0x180], xmm9
movaps xmmword [rsp + 0x170], xmm10
movaps xmmword [rsp + 0x160], xmm11
jne 0x180084344
cmp byte [rsp + 0x200], 0
jne 0x180084344
cmp byte [rdi + 0x192], 0
jne 0x180084344
cmp ebp, dword [rdi + 0x14]
jne 0x180083f04
cmp esi, dword [rdi + 0x18]
jne 0x180083f04
mov r14, qword [rsp + 0x208]
mov edx, 3
mov rcx, r14
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp byte [rsp + 0x240], 0
je 0x180083ec1
mov rax, qword [rdi + 8]
mov dword [rsp + 0x60], 0xcc0020
xor edx, edx
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 0x3c]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
mov ecx, esi
neg ecx
lea r8d, [rbx - 1]
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov rcx, r14
mov edx, r12d
call qword [sym.imp.GDI32.dll_StretchDIBits]
jmp 0x180084c8a
mov rax, qword [rdi + 8]
xor ecx, ecx
mov r9d, ebp
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 0x3c]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov r8d, r13d
mov rcx, r14
mov edx, r12d
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_SetDIBitsToDevice]
jmp 0x180084c8a
mov r12, qword [rsp + 0x208]
xor ecx, ecx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xd8], rcx
mov dword [rsp + 0xe0], eax
mov eax, 1
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rcx
mov word [rsp + 0xe4], ax
mov qword [rsp + 0xf8], rcx
mov eax, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r12
mov dword [rsp + 0xd8], reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx
mov dword [rsp + 0xdc], r15d
mov word [rsp + 0xe6], ax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor r14d, r14d
lea r9, [rsp + 0xb8]
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x28], r14d
mov rbx, rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov r12, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
test r12, r12
je 0x1800842c4
movd xmm7, dword [rdi + 0x14]
movd xmm10, dword [rdi + 0x18]
mov r8d, dword [rsp + 0x7c]
lea eax, [r15 + r15*2]
cvtdq2ps xmm7, xmm7
cvtdq2ps xmm10, xmm10
movd xmm0, ebp
lea eax, [rax*8 + 0x1f]
cdq
and edx, 0x1f
lea ecx, [rdx + rax]
cvtdq2ps xmm0, xmm0
sar ecx, 5
shl ecx, 2
divss xmm7, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm10, xmm0
test r8d, r8d
jle 0x1800842c9
mov edx, dword [rsp + 0x78]
movss xmm11, dword [0x1800f5138]
movss xmm8, dword [0x1800f4fb0]
mov ebp, dword [rsp + 0x80]
movsxd rax, ecx
sub edx, r13d
mov qword [rsp + 0xa0], rax
lea eax, [r8 - 1]
mov r15, r14
mov qword [rsp + 0x98], r14
mov dword [rsp + 0x78], edx
mov qword [rsp + 0xc0], r8
imul eax, ecx
movsxd rbx, eax
neg ecx
movsxd rax, ecx
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xd0], rax
nop dword [rax]
movd xmm9, dword [rdi + 0x18]
movd xmm0, edx
cvtdq2ps xmm9, xmm9
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm10
subss xmm9, xmm0
movaps xmm0, xmm9
call fcn.1800c3b0c
cvttss2si r13d, xmm0
test r13d, r13d
cmovs r13d, r14d
mov r14d, dword [rdi + 0x38]
imul r14d, r13d
add r14, qword [rdi + 0x3c]
cmp byte [rsp + 0x240], 0
je 0x1800840cb
add rbx, r12
jmp 0x1800840cf
lea rbx, [r15 + r12]
xor eax, eax
mov esi, eax
test ebp, ebp
jle 0x180084266
mov ebp, dword [rsp + 0x84]
sub ebp, dword [rsp + 0x210]
xor r15d, r15d
nop dword [rax]
lea eax, [rbp + rsi]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm7
movaps xmm0, xmm6
call fcn.1800c3b0c
cvttss2si eax, xmm0
test eax, eax
cmovs eax, r15d
cmp byte [rsp + 0x238], r15b
je 0x1800841bd
comiss xmm7, xmm11
jbe 0x18008417c
comiss xmm10, xmm11
jbe 0x18008417c
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 5
movaps xmm3, xmm9
mov dword [rsp + 0x30], 2
subss xmm6, xmm8
lea rdx, [rsp + 0x94]
subss xmm3, xmm8
movaps xmm2, xmm6
mov rcx, rdi
movss dword [rsp + 0x28], xmm10
movss dword [rsp + 0x20], xmm7
call fcn.180091830
mov ecx, dword [rax]
mov dword [rsp + 0x200], ecx
jmp 0x18008421b
movaps xmm3, xmm9
mov qword [rsp + 0x30], r15
subss xmm6, xmm8
subss xmm3, xmm8
lea rdx, [rsp + 0x8c]
mov rcx, rdi
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 2
movaps xmm2, xmm6
call fcn.18008ffa0
mov ecx, dword [rax]
mov dword [rsp + 0x200], ecx
jmp 0x18008421b
cmp dword [rdi + 0x30], r15d
je 0x1800841ef
mov r8d, r13d
mov edx, eax
mov rcx, rdi
call fcn.180084f00
lea rdx, [rsp + 0x88]
mov rcx, rdi
movzx r8d, al
call fcn.180084e90
mov ecx, dword [rax]
mov dword [rsp + 0x200], ecx
jmp 0x18008421b
lea eax, [rax + rax*2]
movsxd rcx, eax
movzx eax, byte [rcx + r14]
mov byte [rsp + 0x200], al
movzx eax, byte [rcx + r14 + 1]
mov byte [rsp + 0x201], al
movzx eax, byte [rcx + r14 + 2]
mov byte [rsp + 0x202], al
movzx eax, byte [rsp + 0x200]
inc esi
add rbx, 3
cmp esi, dword [rsp + 0x80]
mov byte [rbx - 3], al
movzx eax, byte [rsp + 0x201]
mov byte [rbx - 2], al
movzx eax, byte [rsp + 0x202]
mov byte [rbx - 1], al
jl 0x1800840f0
mov r12, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x98]
mov ebp, dword [rsp + 0x80]
mov rbx, qword [rsp + 0xa8]
mov edx, dword [rsp + 0x78]
add r15, qword [rsp + 0xa0]
add rbx, qword [rsp + 0xd0]
dec edx
sub qword [rsp + 0xc0], 1
mov dword [rsp + 0x78], edx
mov qword [rsp + 0x98], r15
mov r14d, 0
mov qword [rsp + 0xa8], rbx
jne 0x180084080
mov rbx, qword [rsp + 0xb0]
mov r15d, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x7c]
jmp 0x1800842c9
mov r8d, dword [rsp + 0x7c]
mov edx, dword [rsp + 0x84]
mov dword [rsp + 0x58], r14d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov r14, qword [rsp + 0x208]
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0x90]
mov rcx, r14
mov r9d, r15d
call qword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov rdx, qword [rsp + 0xc8]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x180084c8a
lea rdx, [rsp + 0x94]
mov rcx, rdi
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
mov byte [rsp + 0x72], 0
mov byte [rsp + 0x73], 0
call fcn.180082cf0
mov rcx, rdi
call fcn.180082d30
mov r12d, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x208]
mov dword [rsp + 0x8c], eax
xor eax, eax
xor r15d, r15d
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0xe0], eax
mov eax, 1
mov dword [rsp + 0x88], r15d
mov word [rsp + 0xe4], ax
mov eax, reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0xd8], reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx
mov word [rsp + 0xe6], ax
mov dword [rsp + 0xdc], r12d
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, qword [rsp + 0x208]
lea r9, [rsp + 0xb8]
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov rbx, rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, r12d
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x90]
xor r8d, r8d
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x84]
xor edx, edx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x208]
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov r12, qword [rsp + 0xb8]
test r12, r12
je 0x180084c0f
mov r11d, dword [rsp + 0x80]
lea eax, [r11 + r11*2]
lea eax, [rax*8 + 0x1f]
cdq
and edx, 0x1f
lea ecx, [rdx + rax]
mov eax, dword [rdi + 0x14]
sar ecx, 5
shl ecx, 2
cmp ebp, eax
jne 0x180084790
mov r15d, dword [rdi + 0x18]
cmp esi, r15d
jne 0x18008478d
mov ebp, dword [rsp + 0x7c]
movsxd r8, dword [rsp + 0x84]
movsxd rdx, dword [rsp + 0x210]
sub r15d, r14d
mov r10, r8
add r15d, r13d
test ebp, ebp
jle 0x180084c13
movsxd rax, ecx
sub r8d, edx
sub r10, rdx
mov qword [rsp + 0x110], rax
lea eax, [rbp - 1]
xor r9d, r9d
mov dword [rsp + 0x78], r8d
mov qword [rsp + 0xb0], r10
mov qword [rsp + 0xc0], rbp
imul eax, ecx
neg ecx
cdqe
mov qword [rsp + 0x98], r9
movsxd rcx, ecx
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc8], rcx
mov edx, r15d
mov r14, r10
imul edx, dword [rdi + 0x14]
cmp byte [rsp + 0x240], 0
je 0x18008455e
lea rbx, [rax + r12]
jmp 0x180084562
lea rbx, [r9 + r12]
mov ebp, dword [rdi + 0x38]
lea eax, [r8 + r8*2]
movsxd rdx, edx
movsxd rcx, eax
xor r13d, r13d
mov qword [rsp + 0xa0], rdx
imul ebp, r15d
add rbp, rcx
add rbp, qword [rdi + 0x3c]
test r11d, r11d
jle 0x180084742
nop
cmp byte [rsp + 0x200], 0
je 0x1800845ab
mov rax, qword [rdi + 0x39b]
lea rcx, [r14 + rax]
movzx eax, byte [rcx + rdx]
jmp 0x1800845ad
mov al, 0xff
movzx esi, byte [rdi + 0x191]
movzx eax, al
inc esi
imul esi, eax
sar esi, 8
cmp dword [rdi + 0x30], 0
je 0x18008463c
lea edx, [r8 + r13]
mov rcx, rdi
mov r8d, r15d
call fcn.180084f00
lea rdx, [rsp + 0x108]
mov rcx, rdi
movzx r12d, al
movzx r8d, r12b
mov dword [rsp + 0x88], r12d
call fcn.180084e90
cmp byte [rdi + 0x192], 0
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
je 0x18008462b
movzx r9d, byte [rsp + 0x72]
movzx r10d, byte [rsp + 0x71]
movzx r11d, byte [rsp + 0x70]
movzx ecx, sil
mov edx, eax
shr edx, 0x18
inc edx
imul edx, ecx
sar edx, 8
mov sil, dl
jmp 0x180084667
mov r9b, byte [rsp + 0x72]
mov r10b, byte [rsp + 0x71]
mov r11b, byte [rsp + 0x70]
jmp 0x180084667
mov r11b, byte [rbp]
mov r10b, byte [rbp + 1]
mov r9b, byte [rbp + 2]
mov r12d, dword [rsp + 0x88]
mov byte [rsp + 0x70], r11b
mov byte [rsp + 0x71], r10b
mov byte [rsp + 0x72], r9b
mov eax, dword [rsp + 0x70]
add rbp, 3
cmp dword [rdi + 0x30], 0
je 0x180084685
cmp r12d, dword [rsp + 0x8c]
je 0x18008468e
test sil, sil
jne 0x18008469b
add rbx, 3
jmp 0x180084706
cmp eax, dword [rsp + 0x94]
jne 0x180084677
cmp byte [rsp + 0x74], 0
je 0x180084677
add rbx, 3
jmp 0x180084706
cmp sil, 0xff
jne 0x1800846b2
mov byte [rbx], r11b
mov byte [rbx + 1], r10b
mov byte [rbx + 2], r9b
add rbx, 3
jmp 0x180084706
movzx ecx, byte [rbx]
movzx r8d, sil
movzx eax, sil
not al
movzx edx, al
movzx eax, r11b
imul ecx, edx
imul eax, r8d
add ecx, eax
movzx eax, r10b
sar ecx, 8
imul eax, r8d
mov byte [rbx], cl
movzx ecx, byte [rbx + 1]
imul ecx, edx
add ecx, eax
movzx eax, r9b
sar ecx, 8
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
imul eax, r8d
imul ecx, edx
add ecx, eax
sar ecx, 8
add rbx, 3
mov byte [rbx - 1], cl
mov r11d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0xa0]
mov r8d, dword [rsp + 0x78]
inc r13d
inc r14
cmp r13d, r11d
jl 0x180084590
mov r12, qword [rsp + 0xb8]
mov r9, qword [rsp + 0x98]
mov r10, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa8]
add r9, qword [rsp + 0x110]
inc r15d
add rax, qword [rsp + 0xc8]
sub qword [rsp + 0xc0], 1
mov qword [rsp + 0x98], r9
mov qword [rsp + 0xa8], rax
jne 0x180084544
mov rbx, qword [rsp + 0xd0]
mov ebp, dword [rsp + 0x7c]
jmp 0x180084c13
xor r15d, r15d
movd xmm10, dword [rdi + 0x18]
movd xmm0, ebp
mov ebp, dword [rsp + 0x7c]
cvtdq2ps xmm10, xmm10
cvtdq2ps xmm0, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
divss xmm7, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm10, xmm0
test ebp, ebp
jle 0x180084c13
movss xmm8, dword [0x1800f5138]
movss xmm9, dword [0x1800f4fb0]
movsxd rax, ecx
mov qword [rsp + 0x138], rax
lea eax, [rbp - 1]
sub r14d, r13d
mov rbx, r15
mov qword [rsp + 0xa0], rbp
mov dword [rsp + 0x78], r14d
imul eax, ecx
movsxd rsi, eax
neg ecx
mov qword [rsp + 0xb0], rbx
movsxd rax, ecx
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0x128], rax
nop word [rax + rax]
movd xmm11, dword [rdi + 0x18]
movd xmm0, r14d
cvtdq2ps xmm11, xmm11
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm10
subss xmm11, xmm0
movaps xmm0, xmm11
call fcn.1800c3b0c
cvttss2si r14d, xmm0
test r14d, r14d
cmovs r14d, r15d
mov ecx, r14d
imul ecx, dword [rdi + 0x14]
cmp byte [rsp + 0x240], 0
je 0x180084867
add rsi, r12
jmp 0x18008486b
lea rsi, [rbx + r12]
mov eax, dword [rdi + 0x38]
movsxd rbp, ecx
mov r13d, r15d
mov qword [rsp + 0x130], rbp
imul eax, r14d
add rax, qword [rdi + 0x3c]
cmp dword [rsp + 0x80], 0
mov qword [rsp + 0x140], rax
jle 0x180084bbd
mov r12d, dword [rsp + 0x84]
sub r12d, dword [rsp + 0x210]
nop word [rax + rax]
lea eax, [r12 + r13]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm7
movaps xmm0, xmm6
call fcn.1800c3b0c
cvttss2si ebx, xmm0
test ebx, ebx
cmovs ebx, r15d
cmp byte [rsp + 0x200], 0
je 0x1800848eb
movsxd rax, ebx
add rax, qword [rdi + 0x39b]
movzx ecx, byte [rax + rbp]
jmp 0x1800848ed
mov cl, 0xff
movzx ebp, byte [rdi + 0x191]
movzx eax, cl
inc ebp
imul ebp, eax
sar ebp, 8
cmp dword [rdi + 0x30], 0
je 0x180084a10
mov r8d, r14d
mov edx, ebx
mov rcx, rdi
call fcn.180084f00
cmp byte [rsp + 0x238], 0
movzx eax, al
mov dword [rsp + 0x88], eax
je 0x1800849c3
comiss xmm7, xmm8
jbe 0x180084985
comiss xmm10, xmm8
jbe 0x180084985
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 5
movaps xmm3, xmm11
mov dword [rsp + 0x30], 2
subss xmm6, xmm9
lea rdx, [rsp + 0x108]
subss xmm3, xmm9
movaps xmm2, xmm6
mov rcx, rdi
movss dword [rsp + 0x28], xmm10
movss dword [rsp + 0x20], xmm7
call fcn.180091830
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
jmp 0x1800849ea
movaps xmm3, xmm11
mov qword [rsp + 0x30], r15
subss xmm6, xmm9
subss xmm3, xmm9
lea rdx, [rsp + 0x110]
mov rcx, rdi
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 2
movaps xmm2, xmm6
call fcn.18008ffa0
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
jmp 0x1800849ea
mov r8d, r14d
mov edx, ebx
mov rcx, rdi
call fcn.180084f00
lea rdx, [rsp + 0xc0]
mov rcx, rdi
movzx r8d, al
call fcn.180084e90
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
cmp byte [rdi + 0x192], 0
je 0x180084adf
movzx ecx, bpl
mov edx, eax
shr edx, 0x18
inc edx
imul edx, ecx
sar edx, 8
mov bpl, dl
jmp 0x180084adf
cmp byte [rsp + 0x238], 0
je 0x180084ab3
comiss xmm7, xmm8
jbe 0x180084a75
comiss xmm10, xmm8
jbe 0x180084a75
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 5
movaps xmm3, xmm11
mov dword [rsp + 0x30], 2
subss xmm6, xmm9
lea rdx, [rsp + 0x98]
subss xmm3, xmm9
movaps xmm2, xmm6
mov rcx, rdi
movss dword [rsp + 0x28], xmm10
movss dword [rsp + 0x20], xmm7
call fcn.180091830
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
jmp 0x180084adf
movaps xmm3, xmm11
mov qword [rsp + 0x30], r15
subss xmm6, xmm9
subss xmm3, xmm9
lea rdx, [rsp + 0xa8]
mov rcx, rdi
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 2
movaps xmm2, xmm6
call fcn.18008ffa0
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
jmp 0x180084adf
lea eax, [rbx + rbx*2]
movsxd rcx, eax
add rcx, qword [rsp + 0x140]
inc rcx
movzx eax, byte [rcx - 1]
mov byte [rsp + 0x70], al
movzx eax, byte [rcx]
mov byte [rsp + 0x71], al
movzx eax, byte [rcx + 1]
mov byte [rsp + 0x72], al
mov eax, dword [rsp + 0x70]
cmp dword [rdi + 0x30], 0
je 0x180084b03
mov eax, dword [rsp + 0x8c]
cmp dword [rsp + 0x88], eax
je 0x180084b0c
test bpl, bpl
jne 0x180084b19
add rsi, 3
jmp 0x180084b94
cmp eax, dword [rsp + 0x94]
jne 0x180084af5
cmp byte [rsp + 0x74], 0
je 0x180084af5
add rsi, 3
jmp 0x180084b94
cmp bpl, 0xff
jne 0x180084b3d
movzx eax, byte [rsp + 0x70]
add rsi, 3
mov byte [rsi - 3], al
movzx eax, byte [rsp + 0x71]
mov byte [rsi - 2], al
movzx eax, byte [rsp + 0x72]
mov byte [rsi - 1], al
jmp 0x180084b94
movzx ecx, byte [rsi]
movzx r8d, bpl
movzx eax, bpl
not al
movzx edx, al
movzx eax, byte [rsp + 0x70]
imul ecx, edx
imul eax, r8d
add ecx, eax
movzx eax, byte [rsp + 0x71]
sar ecx, 8
mov byte [rsi], cl
movzx ecx, byte [rsi + 1]
imul eax, r8d
imul ecx, edx
add ecx, eax
movzx eax, byte [rsp + 0x72]
sar ecx, 8
mov byte [rsi + 1], cl
movzx ecx, byte [rsi + 2]
imul eax, r8d
imul ecx, edx
add ecx, eax
sar ecx, 8
add rsi, 3
mov byte [rsi - 1], cl
mov rbp, qword [rsp + 0x130]
inc r13d
cmp r13d, dword [rsp + 0x80]
jl 0x1800848b0
mov r12, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xc8]
mov r14d, dword [rsp + 0x78]
add rbx, qword [rsp + 0x138]
add rsi, qword [rsp + 0x128]
dec r14d
sub qword [rsp + 0xa0], 1
mov dword [rsp + 0x78], r14d
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xc8], rsi
jne 0x180084820
mov rbx, qword [rsp + 0xd0]
mov ebp, dword [rsp + 0x7c]
jmp 0x180084c13
mov ebp, dword [rsp + 0x7c]
mov r14, qword [rsp + 0x208]
mov r9d, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x84]
xor eax, eax
lea rcx, [rsp + 0xd8]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov rcx, r14
mov dword [rsp + 0x20], ebp
call qword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov rdx, qword [rsp + 0x148]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
cmp qword [rsp + 0x230], 0
movaps xmm11, xmmword [rsp + 0x160]
movaps xmm10, xmmword [rsp + 0x170]
mov r15, qword [rsp + 0x1c0]
movaps xmm9, xmmword [rsp + 0x180]
movaps xmm8, xmmword [rsp + 0x190]
movaps xmm7, xmmword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x1b0]
je 0x180084cfd
lea rcx, [rsp + 0x150]
call qword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov r8d, 2
mov rcx, r14
mov rdx, rax
mov rbx, rax
call qword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [rsp + 0x10c]
mov rcx, r14
call qword [sym.imp.GDI32.dll_RestoreDC]
mov rbx, qword [rsp + 0x218]
mov eax, 1
add rsp, 0x1c8
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
add rsp, 0x1c8
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret