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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8583
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push esi
mov esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [esi + 0x20], 0
je 0x453897
call fcn.00457440
test eax, eax
je 0x453380
push 0x80088
push 0xffffffffffffffec
push dword [0x516658]
call dword [sym.imp.USER32.dll_SetWindowLongW]
movzx eax, byte [esi + 0x7c]
push 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x2c8]
divss xmm0, dword [esi + 0x2cc]
cvttss2si eax, xmm0
movzx eax, al
push eax
push dword [esi + 0x60]
push dword [0x516658]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
jmp 0x453393
push 0x88
push 0xffffffffffffffec
push dword [0x516658]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
push dword [0x516658]
call dword [sym.imp.USER32.dll_BringWindowToTop]
xor eax, eax
xorps xmm0, xmm0
push 0x54
push eax
mov word [ebp - 0x48], ax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xd0]
push eax
movdqu xmmword [ebp - 0x46], xmm0
call fcn.004a4860
mov eax, dword [0x516880]
lea edi, [esi + 0x84]
mov dword [ebp - 0x28], eax
add esp, 0xc
mov ecx, 0x4db8b8
mov eax, edi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453406
test dx, dx
je 0x453402
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453406
add eax, 4
add ecx, 4
test dx, dx
jne 0x4533e0
xor eax, eax
jmp 0x45340b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45341d
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x28], eax
mov cx, word [esi + 0x80]
mov edi, 1
push dword [esi + 0xc]
mov word [ebp - 0x48], cx
mov ecx, esi
mov dword [ebp - 0x10], edi
call fcn.00454640
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x453884
mov esi, dword [ecx]
mov dword [ebp - 0x18], 0
cmp esi, dword [ecx + 4]
je 0x453884
lea esp, [esp]
cmp edi, 0xb
jae 0x4537be
mov ecx, dword [esi]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x4535e9
mov edx, dword [ecx + 0x88]
test edx, edx
je 0x4535fd
mov eax, dword [ebp - 0x24]
push 0
push dword [ebp - 0x28]
lea ecx, [eax + 0x24]
mov eax, dword [eax + 0x2c]
sub eax, dword [ecx]
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 0x20], ecx
call fcn.0047f650
add esp, 0x14
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 4], 0
mov ecx, dword [eax - 0xc]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x4534d5
mov eax, dword [ebp - 0x64]
add eax, 0x14
mov dword [ebp - 0x30], eax
push 0
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [ebp - 0x50]
sub edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x24]
mov eax, edi
cdq
idiv dword [ecx + 0x78]
mov edx, dword [ebp - 0x24]
lea ecx, [eax + 0x14]
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
sub edi, ecx
sub eax, dword [ebp - 0x30]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edx + 0x70]
mov edx, dword [ebp - 0x20]
cvttss2si eax, xmm0
movd xmm0, edi
mov dword [edx], eax
mov edx, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
cvtdq2ps xmm0, xmm0
mov dword [edx + 0x2c], eax
mulss xmm0, dword [edx + 0x74]
cvttss2si eax, xmm0
mov dword [edx + 0x28], eax
add eax, ecx
mov ecx, edx
mov dword [edx + 0x30], eax
call fcn.004585e0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x80]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push dword [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FillRect]
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x7c]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x80]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x84]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x4c]
push dword [ebp - 0x2c]
push 0xa
push 0xa
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_TextOutW]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x2c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4535e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x453460
jmp 0x4537c1
cmp dword [ecx + 0x8c], 0
je 0x4535e9
mov eax, dword [ecx + 0x6c]
mov edx, 1
mov dword [ebp + edi*8 - 0xd4], eax
mov eax, dword [ecx + 0x70]
mov dword [ebp + edi*8 - 0xd0], eax
cmp dword [ecx + 0x68], 2
mov dword [ebp - 0x18], edx
jne 0x453781
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x4536d7
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x34]
call eax
cmp eax, 7
jne 0x4536bf
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4f0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov edi, eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
call edx
cmp eax, edi
jne 0x4536bc
push 4
call fcn.004a1dd0
add esp, 4
test eax, eax
je 0x453690
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov ax, word [eax + 0x8c]
mov word [ebp + edi*2 - 0x48], ax
inc edi
mov dword [ebp - 0x10], edi
jmp 0x4535e6
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x14]
mov eax, dword [ecx]
push dword [edi + 0x4ec]
mov eax, dword [eax + 0x30]
call eax
mov ax, word [edi + eax*4 + 0x4ac]
mov edi, dword [ebp - 0x10]
mov word [ebp + edi*2 - 0x48], ax
inc edi
mov dword [ebp - 0x10], edi
jmp 0x4535e6
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0x8c]
mov word [ebp + edi*2 - 0x48], ax
inc edi
mov dword [ebp - 0x10], edi
jmp 0x4535e6
cmp dword [ecx + 0x4ec], 0
jne 0x4536f5
mov ax, word [ecx + 0x8c]
mov word [ebp + edi*2 - 0x48], ax
inc edi
mov dword [ebp - 0x10], edi
jmp 0x4535e6
push 4
mov dword [ebp - 0x20], 0
call fcn.004a1dd0
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x453768
cmp dword [eax + 0x4ec], 0
je 0x453768
push 4
call fcn.004a1c80
add esp, 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4dbd40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x4ec]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4dbd40]
divsd xmm1, qword [0x4e3300]
mulsd xmm0, xmm1
call fcn.004a5d6f
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov ax, word [eax + ecx*4 + 0x4ac]
mov word [ebp + edi*2 - 0x48], ax
inc edi
mov dword [ebp - 0x10], edi
jmp 0x4535e6
cmp dword [ebp + 0xc], 0
je 0x4537a6
mov eax, dword [ebp + 0x10]
cmp eax, dword [ecx]
jne 0x4537a6
mov ax, word [ecx + 0x90]
mov word [ebp + edi*2 - 0x48], ax
inc edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
jmp 0x4535ec
mov ax, word [ecx + 0x8c]
mov word [ebp + edi*2 - 0x48], ax
inc edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
jmp 0x4535ec
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x453884
push 8
call fcn.004a46ec
add esp, 4
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4537fd
push 0
push 1
lea ecx, [ebp - 0xd4]
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push edi
push ecx
mov ecx, eax
call fcn.004a25f0
jmp 0x4537ff
xor eax, eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004a2790
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
lea eax, [ebp - 0x7c]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x24]
push 0xcc0020
push dword [ebp - 0x74]
mov eax, dword [ecx + 0x40]
sub eax, dword [ecx + 0x38]
push dword [ebp - 0x78]
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0
push edi
mulss xmm0, dword [ecx + 0x6c]
cvttss2si eax, xmm0
push eax
mov eax, dword [ecx + 0x3c]
sub eax, dword [ecx + 0x34]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ecx + 0x68]
cvttss2si eax, xmm0
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_StretchBlt]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x28]
pop edi
cmp eax, dword [0x516880]
je 0x453897
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10