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

Disassembly:
sub esp, 0x58
push ebx
push esi
mov esi, dword [esp + 0x6c]
push edi
push ebp
mov ebx, dword [sym.imp.USER32.dll_SetRect]
push 0
push 0
push 0
push 0
push esi
call ebx
cmp dword [esp + 0x84], 2
jb 0x1ff92773
fld1
mov ebp, dword [esp + 0x70]
fcomp qword [ebp + 0xfcc]
fnstsw ax
test ah, 0x41
je 0x1ff92479
test byte [ebp + 0xff4], 2
je 0x1ff92479
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x1ff92354
fld1
fcomp qword [edi]
fnstsw ax
test ah, 0x40
je 0x1ff92341
mov eax, dword [edi + 0xc]
and eax, 0x7fffffff
or eax, dword [edi + 8]
jne 0x1ff92341
mov eax, dword [edi + 0x14]
and eax, 0x7fffffff
or eax, dword [edi + 0x10]
jne 0x1ff92341
fld1
fcomp qword [edi + 0x18]
fnstsw ax
test ah, 0x40
je 0x1ff92341
mov eax, dword [edi + 0x24]
and eax, 0x7fffffff
or eax, dword [edi + 0x20]
jne 0x1ff92341
mov eax, dword [edi + 0x2c]
and eax, 0x7fffffff
or eax, dword [edi + 0x28]
je 0x1ff92354
fld qword [edi + 0x18]
fmul qword [edi]
fsqrt
fmul qword [ebp + 0xfcc]
fstp qword [esp + 0x10]
jmp 0x1ff92368
mov eax, dword [ebp + 0xfd0]
mov ecx, dword [ebp + 0xfcc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
fldz
fcomp qword [esp + 0x10]
fnstsw ax
fld qword [esp + 0x10]
test ah, 0x41
je 0x1ff92381
fadd qword [0x1ffe0008]
jmp 0x1ff92387
fsub qword [0x1ffe0008]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
call fcn.1ffd6e30
mov dword [esp + 0x14], eax
sub esp, 8
fild dword [esp + 0x1c]
fstp qword [esp]
mov eax, dword [esp + 0x8c]
push eax
push edi
call fcn.1ff93180
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push eax
push ecx
push esi
call ebx
lea ecx, [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [esi]
cmp eax, edx
jl 0x1ff923d2
mov eax, edx
mov ebx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [ecx + 4]
cmp ebx, eax
jl 0x1ff923e0
mov ebx, eax
inc edx
mov dword [esi + 4], ebx
mov ebx, dword [esi + 8]
cmp edx, ebx
jg 0x1ff923ed
mov edx, ebx
inc eax
mov dword [esi + 8], edx
mov edx, dword [esi + 0xc]
cmp eax, edx
jg 0x1ff923fa
mov eax, edx
add ecx, 8
mov dword [esi + 0xc], eax
lea eax, [esp + 0x50]
cmp ecx, eax
jb 0x1ff923c8
mov ecx, dword [esp + 0x88]
test cl, 0x10
jne 0x1ff92454
test cl, 8
jne 0x1ff9242f
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x38], eax
jl 0x1ff9242f
jne 0x1ff92454
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x3c], eax
jge 0x1ff92454
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
jmp 0x1ff92528
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
jmp 0x1ff92528
lea eax, [esp + 0x20]
push 2
mov ecx, dword [esp + 0x84]
push eax
mov edi, dword [esp + 0x74]
push ecx
push edi
call fcn.1ff920a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
inc eax
inc ecx
cmp eax, ecx
jg 0x1ff924a2
mov eax, ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
inc ecx
inc eax
cmp eax, ecx
jg 0x1ff924b3
mov eax, ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jl 0x1ff924c2
mov eax, ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
jl 0x1ff924d1
mov eax, ecx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x88]
test cl, 0x10
jne 0x1ff92528
test cl, 8
jne 0x1ff924fc
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x28], eax
jl 0x1ff924fc
jne 0x1ff92528
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x24], eax
jle 0x1ff92528
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
test cl, 1
jne 0x1ff92773
cmp dword [esp + 0x7c], 0
je 0x1ff92773
test byte [ebp + 0xff4], 1
je 0x1ff92773
test edi, edi
je 0x1ff925a8
fld1
fcomp qword [edi]
fnstsw ax
test ah, 0x40
je 0x1ff92598
mov eax, dword [edi + 0xc]
and eax, 0x7fffffff
or eax, dword [edi + 8]
jne 0x1ff92598
mov eax, dword [edi + 0x14]
and eax, 0x7fffffff
or eax, dword [edi + 0x10]
jne 0x1ff92598
fld1
fcomp qword [edi + 0x18]
fnstsw ax
test ah, 0x40
je 0x1ff92598
mov eax, dword [edi + 0x24]
and eax, 0x7fffffff
or eax, dword [edi + 0x20]
jne 0x1ff92598
mov eax, dword [edi + 0x2c]
and eax, 0x7fffffff
or eax, dword [edi + 0x28]
je 0x1ff925a8
fld qword [edi + 0x18]
fmul qword [edi]
fsqrt
fmul qword [ebp + 0x3c]
fstp qword [esp + 0x10]
jmp 0x1ff925b6
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
fldz
fcomp qword [esp + 0x10]
fnstsw ax
fld qword [esp + 0x10]
test ah, 0x41
je 0x1ff925cf
fadd qword [0x1ffe0008]
jmp 0x1ff925d5
fsub qword [0x1ffe0008]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
call fcn.1ffd6e30
cmp dword [esp + 0x78], 0
mov dword [esp + 0x64], eax
jne 0x1ff925f5
lea eax, [esp + 0x10]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
cmp dword [esp + 0x7c], eax
je 0x1ff92749
test edi, edi
je 0x1ff92668
fld1
fcomp qword [edi]
fnstsw ax
test ah, 0x40
je 0x1ff92658
mov eax, dword [edi + 0xc]
and eax, 0x7fffffff
or eax, dword [edi + 8]
jne 0x1ff92658
mov eax, dword [edi + 0x14]
and eax, 0x7fffffff
or eax, dword [edi + 0x10]
jne 0x1ff92658
fld1
fcomp qword [edi + 0x18]
fnstsw ax
test ah, 0x40
je 0x1ff92658
mov eax, dword [edi + 0x24]
and eax, 0x7fffffff
or eax, dword [edi + 0x20]
jne 0x1ff92658
mov eax, dword [edi + 0x2c]
and eax, 0x7fffffff
or eax, dword [edi + 0x28]
je 0x1ff92668
fld qword [edi + 0x18]
fmul qword [edi]
fsqrt
fmul qword [ebp + 0x54]
fstp qword [esp + 0x10]
jmp 0x1ff92676
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
fldz
fcomp qword [esp + 0x10]
fnstsw ax
fld qword [esp + 0x10]
test ah, 0x41
je 0x1ff9268f
fadd qword [0x1ffe0008]
jmp 0x1ff92695
fsub qword [0x1ffe0008]
fstp qword [esp + 0x10]
mov eax, dword [ebp + 0x64]
push eax
push 0
push 0
xor eax, eax
push 0
mov al, byte [ebp + 0x34]
push 0
push 1
push eax
xor eax, eax
mov al, byte [ebp + 0x38]
push eax
xor eax, eax
cmp dword [ebp + 0x2c], 1
mov al, byte [ebp + 0x30]
push eax
sbb eax, eax
fld qword [esp + 0x34]
and eax, 0xfffffed4
add eax, 0x2bc
push eax
push 0
push 0
push 0
call fcn.1ffd6e30
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x5c], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x1ff9273e
mov eax, dword [esp + 0x50]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x60]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x64]
push 0
mov ecx, dword [esp + 0x7c]
push eax
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x2c]
push ebp
push edx
push eax
push edi
call fcn.1ff92780
mov ecx, dword [esp + 0x78]
push ecx
push esi
push esi
call dword [sym.imp.USER32.dll_UnionRect]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret 0x20