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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov bl, byte [ebp + 8]
movzx edx, ax
push esi
mov esi, ecx
shr eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x58]
push edi
mov ecx, 1
or dword [esi + 0x2c], ecx
push eax
mov dword [ebp - 0xc], 0
mov dword [esi + 0x10], ecx
mov dword [ebp - 0x24], edx
call dword [sym.imp.USER32.dll_SetCapture]
test bl, 8
je 0x455b4f
or dword [esi + 0x2c], 4
test bl, 4
je 0x455b58
or dword [esi + 0x2c], 8
mov ecx, dword [esi + 0x58]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 8
push edi
call dword [sym.imp.GDI32.dll_SetMapMode]
push 0
push 1
push 1
push edi
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
push 0
push 0xffffffffffffffff
push 1
push edi
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov edx, dword [esi + 0x68]
push 0
push edx
push 0
push edi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push 1
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esi + 0x58]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
sub edx, dword [esi]
xor ebx, ebx
sar edx, 2
mov dword [ebp - 8], ebx
test edx, edx
je 0x455d3d
mov eax, dword [esi]
mov edi, dword [eax + ebx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 4
mov ecx, edi
call eax
test eax, eax
jne 0x455bea
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 8
mov ecx, edi
call eax
test eax, eax
je 0x455cf7
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 8
mov ecx, edi
call eax
or dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
mov dword [ebp + 8], 0
sar eax, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x455cad
movzx eax, word [edi + 0x64]
add eax, dword [ebp - 0x24]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x34], edx
fld dword [ebp - 0x34]
fsub dword [esi + 0x88]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
fmul dword [esi + 0xb8]
mov dword [ebp - 0x28], edx
call fcn.0042e180
fld dword [ebp - 0x30]
fsub dword [esi + 0x90]
add eax, dword [esi + 0x6c]
mov dword [ebp - 0x10], eax
fmul dword [esi + 0xbc]
call fcn.0042e180
mov ecx, dword [ebp - 0x10]
add eax, dword [esi + 0x78]
cmp ecx, dword [ebp - 0x14]
jg 0x455c97
movzx ecx, word [edi + 0x64]
mov edx, dword [ebp - 0x24]
sub edx, ecx
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x10], edx
jl 0x455c97
mov edx, dword [ebp - 0x20]
add edx, ecx
cmp eax, edx
jg 0x455c97
mov edx, dword [ebp - 0x20]
sub edx, ecx
cmp eax, edx
jge 0x455d48
mov eax, dword [ebp + 8]
inc eax
add ebx, 0x10
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 0x1c]
jb 0x455c20
mov ebx, dword [ebp - 8]
test byte [esi + 0x2c], 4
jne 0x455cf7
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
mov ecx, edi
call edx
test eax, eax
je 0x455cf7
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
push 1
mov ecx, edi
call edx
mov ecx, dword [esi + 0x58]
lea eax, [esi + 0x14]
push eax
mov dword [esi + 0x1c], 0x464
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xffffffff
mov eax, dword [eax + 4]
push eax
push 0x4e
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 4]
sub edx, dword [esi]
inc ebx
sar edx, 2
mov dword [ebp - 8], ebx
cmp ebx, edx
jb 0x455bc3
cmp dword [ebp - 0xc], 0
je 0x455d3d
mov eax, dword [ebp - 0x20]
or dword [esi + 0x2c], 0x40
mov dword [esi + 0x44], eax
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x24]
mov edx, eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x48], edx
mov ecx, edx
mov edx, dword [esi + 0x44]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], ebx
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, edi
call eax
test eax, eax
jne 0x455d75
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 2
mov ecx, edi
call eax
test eax, eax
je 0x455d79
or dword [esi + 0x2c], 0x20
mov edx, dword [edi]
mov eax, dword [edx + 0x44]
mov ecx, edi
call eax
cmp eax, 1
jbe 0x455d95
mov edx, dword [edi + 4]
mov ecx, ebx
add ecx, ecx
test byte [edx + ecx*8 + 0xc], 1
jne 0x455dc0
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push 4
mov ecx, edi
call edx
test eax, eax
jne 0x455db9
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push 8
mov ecx, edi
call edx
test eax, eax
je 0x455dc0
test byte [esi + 0x2c], 4
jne 0x455dc0
push 0
call fcn.00454870
mov ecx, dword [edi + 4]
mov eax, ebx
add eax, eax
lea eax, [ecx + eax*8 + 0xc]
movzx ecx, byte [eax]
or byte [eax], 1
inc dword [edi + 0x60]
and ecx, 1
jne 0x455e01
lea eax, [esi + 0x14]
push eax
mov dword [esi + 0x1c], 0x464
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ebx
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x58]
push edx
push 0x4e
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x58]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4