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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fcb5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x639354]
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 0x453991
cmp dword [ebx + 0x64], 0
mov ecx, dword [ebx + 0x68]
je 0x453893
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 0x4538a1
test ecx, ecx
je 0x45389e
mov edi, dword [edx]
sub edi, dword [ebx + 0x6c]
jmp 0x4538a1
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x7c], 0
mov ecx, dword [ebx + 0x80]
je 0x4538c7
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 0x4538db
test ecx, ecx
je 0x4538d5
mov esi, dword [edx]
sub esi, dword [ebx + 0x84]
jmp 0x4538db
mov esi, dword [ebx + 0x84]
cmp dword [ebx + 0x70], 0
mov edx, dword [ebx + 0x74]
je 0x453902
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 0x45391a
test edx, edx
je 0x453914
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
sub eax, dword [ebx + 0x78]
mov dword [ebp - 0x2c], eax
jmp 0x45391d
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 0x45395a
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 0x453c17
test edx, edx
je 0x453979
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 0x453c17
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 0x453c17
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.0044f990
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 0x453a08
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 ecx, dword [ebx + 0x58]
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ecx, ecx
je 0x453a1d
mov dword [ebp - 0x30], ecx
jmp 0x453adb
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x453a2f
mov dword [ebp - 0x30], eax
jmp 0x453ade
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x453ade
lea ecx, [ecx]
push 0x641c34
call edx
call fcn.0045ed50
mov ebx, eax
cmp dword [ebx], 0
je 0x453a76
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 0x453a76
cmp dword [ebx + 0xc], ecx
jne 0x453a6f
cmp dword [ebx], ecx
je 0x453aad
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x453a66
push 0x641c34
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x453acf
push dword [ebx + 0x4c]
call fcn.0044f990
add esp, 4
cmp dword [eax + 0x20], 0
jne 0x453ac1
mov eax, dword [ebx + 8]
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x453a40
jmp 0x453ad2
push 0x641c34
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x453a81
mov ebx, dword [ebx + 4]
jmp 0x453a83
push dword [ebx + 0x4c]
call fcn.0044f990
add esp, 4
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x28]
test dword [ebx + 0x34], 1
je 0x453b6c
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x453b7c
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x453b6c
push 0x641c34
call edx
call fcn.0045ed50
mov ebx, eax
cmp dword [ebx], 0
je 0x453b3a
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 0x453b3a
cmp dword [ebx + 0xc], ecx
jne 0x453b33
cmp dword [ebx], ecx
je 0x453c37
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x453b26
push 0x641c34
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
push dword [ebx + 0x4c]
call fcn.0044f990
add esp, 4
cmp dword [eax + 0x24], 0
jne 0x453c52
mov eax, dword [ebx + 8]
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x453b00
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x453b7c
push eax
call fcn.0044f0b0
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]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
je 0x453c17
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.0055c3a9
mov esp, ebp
pop ebp
ret 8
push 0x641c34
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x453b45
mov ebx, dword [ebx + 4]
jmp 0x453b47
push dword [ebx + 0x4c]
call fcn.0044f990
add esp, 4
mov eax, dword [eax + 0x24]
jmp 0x453b6f