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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov qword [rsp + 0x150], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
movaps xmmword [r11 - 0x38], xmm6
mov rax, qword [0x180101090]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rcx
mov qword [r11 - 0x80], 7
xor r15d, r15d
mov qword [r11 - 0x88], r15
mov word [r11 - 0x98], r15w
lea rdx, [rcx + 0x10]
or rbp, 0xffffffffffffffff
mov r9, rbp
xor r8d, r8d
lea rcx, [r11 - 0xa0]
call fcn.18000db80
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x158]
call fcn.180098550
nop
lea r12d, [r15 + 4]
cmp qword [rsp + 0x170], r15
jne 0x180098d68
mov r8, r12
lea rdx, str.4lpS7h
lea rcx, [rsp + 0x158]
call fcn.18000f510
mov ecx, 0x3e8
mov edx, ecx
call fcn.1800989b0
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], r15
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.18008df64
nop
cmp qword [rdi + 0x68], 8
jb 0x180098da2
mov rcx, qword [rdi + 0x50]
jmp 0x180098da6
lea rcx, [rdi + 0x50]
movzx edx, byte [rdi + 0x70]
mov r9b, byte [rdi + 0x72]
mov r8b, byte [rdi + 0x71]
call fcn.180098a2c
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], r15
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.180099d58
nop
mov qword [rsp + 0x50], r15
xor edx, edx
lea r8, [rsp + 0x50]
xor ecx, ecx
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [rsp + 0x58], eax
mov rbx, r15
mov qword [rsp + 0x68], rbx
mov rcx, qword [rsp + 0x80]
cmp rcx, r15
je 0x180098e1b
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx + 8]
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, eax
mov rbx, qword [rsp + 0x68]
jmp 0x180098e22
mov esi, dword [rsp + 0x108]
mov qword [rsp + 0x100], rbx
xor edx, edx
mov rcx, qword [rsp + 0x50]
call sub.gdiplus.dll_GdipSetStringFormatAlign
mov ecx, dword [rsp + 0x58]
cmp eax, r15d
cmovne ecx, eax
mov dword [rsp + 0x58], ecx
xor edx, edx
mov rcx, qword [rsp + 0x50]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
mov ecx, dword [rsp + 0x58]
cmp eax, r15d
cmovne ecx, eax
mov dword [rsp + 0x58], ecx
mov edx, r12d
mov rcx, rbx
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, r15d
cmovne esi, eax
xorps xmm6, xmm6
movss dword [rsp + 0x70], xmm6
movss dword [rsp + 0x74], xmm6
movss dword [rsp + 0x78], xmm6
movss dword [rsp + 0x7c], xmm6
lea rdx, [rsp + 0x160]
cmp qword [rsp + 0x178], 8
cmovae rdx, qword [rsp + 0x160]
movss dword [rsp + 0xe0], xmm6
movss dword [rsp + 0xe4], xmm6
movss dword [rsp + 0xe8], xmm6
movss dword [rsp + 0xec], xmm6
mov r13, qword [rsp + 0x90]
cmp r13, r15
je 0x180098edb
mov r9, qword [r13]
jmp 0x180098ede
mov r9, r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r8d, ebp
mov rcx, rbx
call sub.gdiplus.dll_GdipMeasureString
cmp eax, r15d
cmovne esi, eax
mov dword [rsp + 0x108], esi
movss xmm2, dword [0x1800dcefc]
movss xmm1, dword [rsp + 0x78]
comiss xmm6, xmm1
jb 0x180098f3d
movaps xmm1, xmm2
movss dword [rsp + 0x78], xmm1
movss xmm0, dword [rsp + 0x7c]
comiss xmm6, xmm0
jb 0x180098f51
movaps xmm0, xmm2
movss dword [rsp + 0x7c], xmm0
cvttss2si edx, xmm0
add edx, 2
cvttss2si ecx, xmm1
add ecx, 2
call fcn.1800989b0
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xa8], r15
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.18008df64
nop
mov rbp, r15
mov qword [rsp + 0xb8], r15
mov rsi, qword [rsp + 0xa0]
cmp rsi, r15
je 0x180098fbb
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsi + 8]
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov r12d, eax
mov rbp, qword [rsp + 0xb8]
jmp 0x180098fc3
mov r12d, dword [rsp + 0xf8]
mov qword [rsp + 0xf0], rbp
mov r10d, dword [rdi + 0x3c]
mov r8d, dword [rdi + 0x40]
movzx ecx, byte [rdi + 0x38]
imul ecx, ecx, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
mov ecx, 0xa
cmp dl, cl
cmovb eax, ecx
movzx edx, al
shl edx, 8
movzx r9d, r8b
or r9d, edx
shl r9d, 8
movzx eax, r8w
shr ax, 8
movzx ecx, al
or r9d, ecx
shl r9d, 8
shr r8d, 0x10
movzx eax, r8b
or r9d, eax
movzx r8d, r10b
or r8d, edx
shl r8d, 8
movzx eax, r10w
shr ax, 8
movzx ecx, al
or r8d, ecx
shl r8d, 8
shr r10d, 0x10
movzx eax, r10b
or r8d, eax
mov dword [rsp + 0xc0], 0x80
mov dword [rsp + 0xc4], r15d
mov dword [rsp + 0xb0], r15d
mov dword [rsp + 0xb4], r15d
lea rax, vtable.Gdiplus::LinearGradientBrush.0
mov qword [rsp + 0x110], rax
mov qword [rsp + 0xc8], r15
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xb0]
call sub.gdiplus.dll_GdipCreateLineBrushI
mov dword [rsp + 0x120], eax
mov r14, qword [rsp + 0xc8]
mov qword [rsp + 0x118], r14
mov edi, 1
mov edx, edi
mov rcx, qword [rsp + 0x50]
call sub.gdiplus.dll_GdipSetStringFormatAlign
mov ecx, dword [rsp + 0x58]
cmp eax, r15d
cmovne ecx, eax
mov dword [rsp + 0x58], ecx
mov edx, edi
mov rcx, qword [rsp + 0x50]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
mov ecx, dword [rsp + 0x58]
cmp eax, r15d
cmovne ecx, eax
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x64], r15d
lea rdx, [rsp + 0x64]
mov rcx, qword [rsi + 8]
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, r15d
je 0x18009911d
mov dword [rsi + 0x10], eax
mov edi, dword [rsp + 0x64]
mov dword [rsp + 0x60], r15d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi + 8]
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, r15d
je 0x18009913c
mov dword [rsi + 0x10], eax
movss dword [rsp + 0xd0], xmm6
movss dword [rsp + 0xd4], xmm6
mov eax, dword [rsp + 0x60]
pxor xmm0, xmm0
cvtsi2ss xmm0, rax
movss dword [rsp + 0xd8], xmm0
pxor xmm1, xmm1
cvtsi2ss xmm1, rdi
movss dword [rsp + 0xdc], xmm1
lea rdx, [rsp + 0x160]
cmp qword [rsp + 0x178], 8
cmovae rdx, qword [rsp + 0x160]
cmp r13, r15
je 0x18009919b
mov r9, qword [r13]
jmp 0x18009919e
mov r9, r15
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
or r13, 0xffffffffffffffff
mov r8d, r13d
mov rcx, rbp
call sub.gdiplus.dll_GdipDrawString
cmp eax, r15d
cmovne r12d, eax
mov dword [rsp + 0xf8], r12d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rdi, rax
mov rcx, r14
call sub.gdiplus.dll_GdipDeleteBrush
nop
mov rcx, rbp
call sub.gdiplus.dll_GdipDeleteGraphics
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, r15
je 0x180099247
mov ecx, r13d
lock xadd dword [rdx + 0x10], ecx
add ecx, r13d
jne 0x180099242
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0x14], eax
add eax, r13d
jne 0x180099242
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x68]
jmp 0x180099247
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call sub.gdiplus.dll_GdipDeleteGraphics
nop
mov rcx, qword [rsp + 0x50]
call sub.gdiplus.dll_GdipDeleteStringFormat
nop
mov rcx, qword [rsp + 0x98]
cmp rcx, r15
je 0x1800992a1
mov eax, r13d
lock xadd dword [rcx + 0x10], eax
add eax, r13d
jne 0x1800992a1
mov rbx, qword [rsp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0x14], eax
add eax, r13d
jne 0x1800992a1
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x88]
cmp rcx, r15
je 0x1800992e7
mov eax, r13d
lock xadd dword [rcx + 0x10], eax
add eax, r13d
jne 0x1800992e7
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0x14], eax
add eax, r13d
jne 0x1800992e7
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
call qword [rax + 8]
nop
cmp qword [rsp + 0x178], 8
jb 0x1800992ff
mov rcx, qword [rsp + 0x160]
call fcn.18009a864
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.180099fe0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret