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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5979f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
cmp dword [ebx + 0x60], 4
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
jne 0x450cf1
cmp dword [ebx + 0x64], 0
mov ecx, dword [ebx + 0x68]
je 0x450bf3
mov edi, dword [ebx + 0x6c]
mov eax, edi
neg eax
test ecx, ecx
cmovne edi, eax
mov eax, dword [edx]
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
sar eax, 1
add edi, eax
jmp 0x450c01
test ecx, ecx
je 0x450bfe
mov edi, dword [edx]
sub edi, dword [ebx + 0x6c]
jmp 0x450c01
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x7c], 0
mov ecx, dword [ebx + 0x80]
je 0x450c27
mov esi, dword [ebx + 0x84]
mov eax, esi
neg eax
test ecx, ecx
cmovne esi, eax
mov eax, dword [edx]
cdq
sub eax, edx
sar eax, 1
add esi, eax
jmp 0x450c3b
test ecx, ecx
je 0x450c35
mov esi, dword [edx]
sub esi, dword [ebx + 0x84]
jmp 0x450c3b
mov esi, dword [ebx + 0x84]
cmp dword [ebx + 0x70], 0
mov edx, dword [ebx + 0x74]
je 0x450c62
mov ecx, dword [ebx + 0x78]
mov eax, ecx
neg eax
test edx, edx
cmovne ecx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [ebp - 0x2c], ecx
jmp 0x450c7a
test edx, edx
je 0x450c74
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
sub eax, dword [ebx + 0x78]
mov dword [ebp - 0x2c], eax
jmp 0x450c7d
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ebx + 0x88], 0
mov edx, dword [ebx + 0x8c]
je 0x450cba
mov ecx, dword [ebx + 0x90]
mov eax, ecx
neg eax
test edx, edx
cmovne ecx, eax
mov eax, dword [ebp - 0x24]
sub esi, edi
mov eax, dword [eax + 4]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov dword [eax], esi
mov dword [eax + 4], ecx
jmp 0x450f78
test edx, edx
je 0x450cd9
mov ecx, dword [ecx + 4]
sub esi, edi
sub ecx, dword [ebx + 0x90]
mov eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov dword [eax], esi
mov dword [eax + 4], ecx
jmp 0x450f78
mov ecx, dword [ebx + 0x90]
sub esi, edi
mov eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov dword [eax], esi
mov dword [eax + 4], ecx
jmp 0x450f78
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebx + 0x14]
push dword [ebx + 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x20]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], eax
call fcn.0044caf0
add esp, 4
mov dword [ebp - 0x28], eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [ebp - 0x3c], esi
je 0x450d68
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x20]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x58]
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x28]
test eax, eax
jne 0x450e32
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x450e32
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x450e35
push 0x6317fc
call edx
call fcn.0045bda0
mov ebx, eax
cmp dword [ebx], 0
je 0x450dd0
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov eax, ecx
div dword [ebx + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + edx*4]
test ebx, ebx
je 0x450dd0
jmp 0x450dc0
cmp dword [ebx + 0xc], ecx
jne 0x450dc9
cmp dword [ebx], ecx
je 0x450dd2
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x450dc0
xor ebx, ebx
push 0x6317fc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x450de6
mov ebx, dword [ebx + 4]
jmp 0x450de8
xor ebx, ebx
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x450e26
push dword [ebx + 0x4c]
call fcn.0044caf0
add esp, 4
cmp dword [eax + 0x20], 0
jne 0x450e18
mov eax, dword [ebx + 8]
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x450d95
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x450e35
push dword [ebx + 0x4c]
call fcn.0044caf0
add esp, 4
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
test dword [ebx + 0x34], 1
je 0x450ecd
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x450edd
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x450ecd
push 0x6317fc
call edx
call fcn.0045bda0
mov ebx, eax
cmp dword [ebx], 0
je 0x450e90
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov eax, ecx
div dword [ebx + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + edx*4]
test ebx, ebx
je 0x450e90
lea ecx, [ecx]
cmp dword [ebx + 0xc], ecx
jne 0x450e89
cmp dword [ebx], ecx
je 0x450e92
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x450e80
xor ebx, ebx
push 0x6317fc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x450ea6
mov ebx, dword [ebx + 4]
jmp 0x450ea8
xor ebx, ebx
push dword [ebx + 0x4c]
call fcn.0044caf0
add esp, 4
cmp dword [eax + 0x24], 0
jne 0x450f98
mov eax, dword [ebx + 8]
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x450e57
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x450edd
push eax
call fcn.0044c2b0
add esp, 4
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x3c]
neg ecx
push ecx
mov ecx, dword [eax + 0x38]
lea eax, [ebp - 0x20]
neg ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebp - 0x28]
mov edx, 0x7fff
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
and ecx, 0xfffffff0
test cl, 0x10
cmovne eax, edx
or ecx, 0x400
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov eax, dword [eax + 0x28]
push dword [eax - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push ebx
push esi
mov eax, dword [edx + 0x38]
add eax, eax
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [edx + 0x3c]
add eax, eax
sub eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ecx + 4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
je 0x450f78
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 8
push dword [ebx + 0x4c]
call fcn.0044caf0
add esp, 4
mov eax, dword [eax + 0x24]
jmp 0x450ed0