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

Disassembly:
push 0xffffffffffffffff
push 0x5d1d13
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
mov ebp, dword [esi + 0x64]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x58]
push eax
push ecx
mov dword [esp + 0x2c], ebp
call ebx
mov eax, dword [esi + 0x64]
test eax, eax
je 0x45c8f1
mov eax, dword [eax + 0x20]
push 2
lea edx, [esp + 0x5c]
push edx
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x74]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0041ce40
cmp dword [0x615428], 1
jne 0x45c98c
mov eax, dword [esi + 0x6c]
cmp dword [eax + 0xb4], 0
je 0x45c98c
mov ecx, dword [eax + 0xa4]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0xa8]
mov edi, eax
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 0x74]
push eax
mov ecx, edi
call fcn.0041ce00
add eax, dword [edi + 0xa4]
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 0x74]
push ecx
mov ecx, edi
call fcn.0041ce20
mov edx, dword [esi + 0x6c]
add eax, dword [edx + 0xa8]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x108], 0
mov ecx, dword [esi + 0x6c]
je 0x45ce8d
push 1
call fcn.0041cc60
cmp dword [esp + 0x10c], 0
mov edi, eax
je 0x45c9d2
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [esi + 0x6c]
lea edx, [esi + 0xf4]
push edx
call fcn.0041ce40
mov eax, dword [esi + 0x124]
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x11c]
cmp eax, 0x18
jl 0x45cbf3
cmp eax, 0x1f
jg 0x45cbf3
add edi, 1
cmp eax, 0x1f
je 0x45c9fc
cmp eax, 0x1e
je 0x45c9fc
cmp eax, 0x1d
jne 0x45ca32
add dword [esi + 0xf4], edi
mov eax, dword [esi + 0xf4]
mov ecx, dword [esp + 0x28]
add dword [esi + 0xfc], edi
cmp eax, ecx
jle 0x45ca36
mov dword [esi + 0xf4], ecx
mov ecx, dword [esi + 0x6c]
push 0
call fcn.0041ce00
add eax, dword [esi + 0xf4]
mov dword [esi + 0xfc], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x11c]
cmp eax, 0x19
je 0x45ca4b
cmp eax, 0x1a
je 0x45ca4b
cmp eax, 0x1b
jne 0x45ca7d
sub dword [esi + 0xf4], edi
mov eax, dword [esi + 0xf4]
sub dword [esi + 0xfc], edi
cmp eax, ecx
jge 0x45ca7d
mov dword [esi + 0xf4], ecx
mov ecx, dword [esi + 0x6c]
push 0
call fcn.0041ce00
add eax, dword [esi + 0xf4]
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0x11c]
cmp eax, 0x1f
je 0x45ca92
cmp eax, 0x18
je 0x45ca92
cmp eax, 0x19
jne 0x45cac8
add dword [esi + 0xf8], edi
mov ecx, dword [esi + 0xf8]
mov eax, dword [esp + 0x2c]
add dword [esi + 0x100], edi
cmp ecx, eax
jle 0x45cacc
mov ecx, dword [esi + 0x6c]
push 0
mov dword [esi + 0xf8], eax
call fcn.0041ce20
add eax, dword [esi + 0xf8]
mov dword [esi + 0x100], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x11c]
cmp ecx, 0x1d
je 0x45cae1
cmp ecx, 0x1c
je 0x45cae1
cmp ecx, 0x1b
jne 0x45cb11
sub dword [esi + 0x100], edi
sub dword [esi + 0xf8], edi
cmp dword [esi + 0xf8], eax
jge 0x45cb11
mov ecx, dword [esi + 0x6c]
push 0
mov dword [esi + 0xf8], eax
call fcn.0041ce20
add eax, dword [esi + 0xf8]
mov dword [esi + 0x100], eax
lea ecx, [esp + 0x58]
push ecx
lea edi, [esi + 0xf4]
push edi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x68]
push eax
push ecx
call ebx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, edx
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
cmp dword [esi + 0x54], 0
jne 0x45cb6d
cmp dword [esp + 0x1c], 0
jg 0x45cb5a
cmp dword [esp + 0x20], 0
jle 0x45cb6d
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
mov dword [esi + 0x54], 1
call fcn.00461f70
mov eax, dword [esi + 0xf8]
mov ecx, dword [edi]
push 5
push 0
push 0
push eax
push ecx
push 0
mov ecx, esi
call fcn.0058a9ae
mov edx, dword [esi]
mov eax, dword [edx + 0x150]
mov ecx, esi
call eax
test eax, eax
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
je 0x45cbcf
cmp dword [esp + 0x1c], 0
jg 0x45cbaa
cmp dword [esp + 0x20], 0
jle 0x45cbcf
mov edx, dword [esi]
mov eax, dword [edx + 0x174]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14c]
mov ecx, esi
call eax
test eax, eax
jne 0x45cbcf
mov ecx, dword [esi + 0x20]
push 1
push eax
push ecx
call edi
cmp dword [esp + 0x1c], 0
jg 0x45cbe1
cmp dword [esp + 0x20], 0
jle 0x45ce11
mov eax, dword [ebp + 0x20]
push 0
lea edx, [esp + 0x18]
push edx
push eax
call edi
jmp 0x45ce11
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0058f29b
mov edx, dword [esi + 0x6c]
add edx, 0x64
push edx
lea ecx, [esp + 0xb4]
mov edi, eax
call fcn.004414a0
mov edx, dword [esi + 0xfc]
mov ebp, dword [esi + 0x124]
add dword [esi + 0x120], 1
mov ecx, dword [esi + 0xf8]
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x100]
push ebp
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0x120]
push edx
mov edx, dword [esi + 0x11c]
push edx
lea ebx, [esi + 0x128]
push ebx
push ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 0x6c]
push eax
push edi
add ecx, 0x64
mov dword [esp + 0x11c], 0
mov dword [esp + 0x64], eax
call fcn.00441850
mov eax, dword [edi + 4]
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor ebx, ebx
cmp dword [ebp + 0x64], ebx
jle 0x45cdfa
lea esp, [esp]
test ebx, ebx
jl 0x45ce88
cmp ebx, dword [ebp + 0x64]
jge 0x45ce88
mov edx, dword [ebp + 0x60]
mov edi, dword [edx + ebx*4]
cmp edi, esi
lea eax, [edx + ebx*4]
je 0x45cdfa
mov eax, dword [edi + 0xf4]
mov dword [esp + 0x38], eax
mov ecx, dword [edi + 0xf8]
mov dword [esp + 0x3c], ecx
mov edx, dword [edi + 0xfc]
mov dword [esp + 0x40], edx
mov eax, dword [edi + 0x100]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x48], eax
push edx
lea eax, [esp + 0xf0]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45cdee
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0058f29b
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x7c]
mov ebp, eax
call fcn.004414a0
mov eax, dword [esi + 0x124]
mov ecx, dword [esi + 0x120]
mov edx, dword [esi + 0x11c]
push eax
push ecx
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x40]
push edx
lea eax, [esi + 0x128]
push eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x4c]
mov byte [esp + 0x110], 1
push eax
push ecx
push ebp
lea ecx, [esp + 0x94]
call fcn.00441850
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [edi + 0x12c], 0
je 0x45cdd9
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00441020
mov edx, dword [esi + 0x124]
mov eax, dword [esi + 0x120]
mov ecx, dword [esi + 0x11c]
push edx
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [edi + 0x12c]
lea eax, [esi + 0x128]
push eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x48]
push edx
push eax
push ecx
lea ecx, [esp + 0x94]
call fcn.00441850
lea ecx, [esp + 0x78]
mov byte [esp + 0x100], 0
call fcn.00441580
mov ebp, dword [esp + 0x24]
add ebx, 1
cmp ebx, dword [ebp + 0x64]
jl 0x45cca0
lea ecx, [esp + 0xb0]
mov dword [esp + 0x100], 0xffffffff
call fcn.00441580
push 0
mov ecx, esi
call fcn.00459af0
mov ebx, eax
test ebx, ebx
jne 0x45d195
mov eax, dword [esi + 0x11c]
cmp eax, 0x18
jl 0x45ce34
cmp eax, 0x1f
jle 0x45ce41
test eax, eax
je 0x45ce41
push 5
mov ecx, esi
call fcn.0058a7a3
lea edx, [esp + 0x14]
xor edi, edi
push edx
mov ecx, ebp
mov dword [esi + 0x54], edi
call fcn.00461f70
cmp dword [esi + 0x78], edi
jle 0x45ce7c
test edi, edi
jl 0x45ce88
cmp edi, dword [esi + 0x78]
jge 0x45ce88
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x45ce74
mov edx, dword [ecx]
mov eax, dword [edx + 0x13c]
call eax
add edi, 1
cmp edi, dword [esi + 0x78]
jl 0x45ce57
push 0x1a0a
push 1
jmp 0x45d184
call fcn.0057e0f5
push 0
call fcn.0041cc60
cmp dword [esp + 0x10c], 0
je 0x45ceda
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x108]
mov dword [esi + 0xf4], ecx
mov ecx, dword [esi + 0x10c]
mov dword [esi + 0xf8], edx
mov edx, dword [esi + 0x110]
mov dword [esi + 0xfc], ecx
mov ecx, dword [esi + 0x124]
mov dword [esi + 0x100], edx
mov dword [esi + 0x120], ecx
mov ecx, dword [esi + 0x11c]
cmp ecx, 0x18
jl 0x45d0c4
cmp ecx, 0x1f
jg 0x45d0c4
add eax, 1
cmp ecx, 0x1f
je 0x45cf04
cmp ecx, 0x1e
je 0x45cf04
cmp ecx, 0x1d
jne 0x45cf32
sub dword [esi + 0xf4], eax
mov edi, dword [esi + 0xf4]
mov edx, dword [esi + 0x104]
sub dword [esi + 0xfc], eax
cmp edi, edx
jge 0x45cf32
mov dword [esi + 0xf4], edx
mov edx, dword [esi + 0x10c]
mov dword [esi + 0xfc], edx
cmp ecx, 0x19
je 0x45cf41
cmp ecx, 0x1a
je 0x45cf41
cmp ecx, 0x1b
jne 0x45cf6f
add dword [esi + 0xf4], eax
mov edi, dword [esi + 0xf4]
mov edx, dword [esi + 0x104]
add dword [esi + 0xfc], eax
cmp edi, edx
jle 0x45cf6f
mov dword [esi + 0xf4], edx
mov edx, dword [esi + 0x10c]
mov dword [esi + 0xfc], edx
cmp ecx, 0x1f
je 0x45cf7e
cmp ecx, 0x18
je 0x45cf7e
cmp ecx, 0x19
jne 0x45cfac
sub dword [esi + 0xf8], eax
mov edi, dword [esi + 0xf8]
mov edx, dword [esi + 0x108]
sub dword [esi + 0x100], eax
cmp edi, edx
jge 0x45cfac
mov dword [esi + 0xf8], edx
mov edx, dword [esi + 0x110]
mov dword [esi + 0x100], edx
cmp ecx, 0x1d
je 0x45cfbb
cmp ecx, 0x1c
je 0x45cfbb
cmp ecx, 0x1b
jne 0x45cfe9
add dword [esi + 0xf8], eax
add dword [esi + 0x100], eax
mov ecx, dword [esi + 0xf8]
mov eax, dword [esi + 0x108]
cmp ecx, eax
jle 0x45cfe9
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0x110]
mov dword [esi + 0x100], eax
lea ecx, [esp + 0x58]
push ecx
lea edi, [esi + 0xf4]
push edi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x68]
push eax
push ecx
call ebx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, edx
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
cmp dword [esi + 0x54], 0
jne 0x45d045
cmp dword [esp + 0x1c], 0
jg 0x45d032
cmp dword [esp + 0x20], 0
jle 0x45d045
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
mov dword [esi + 0x54], 1
call fcn.00461f70
mov eax, dword [esi + 0xf8]
mov ecx, dword [edi]
push 5
push 0
push 0
push eax
push ecx
push 0
mov ecx, esi
call fcn.0058a9ae
mov edx, dword [esi]
mov eax, dword [edx + 0x150]
mov ecx, esi
call eax
test eax, eax
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
je 0x45d0a7
cmp dword [esp + 0x1c], 0
jg 0x45d082
cmp dword [esp + 0x20], 0
jle 0x45d0a7
mov edx, dword [esi]
mov eax, dword [edx + 0x174]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14c]
mov ecx, esi
call eax
test eax, eax
jne 0x45d0a7
mov ecx, dword [esi + 0x20]
push 1
push eax
push ecx
call edi
cmp dword [esp + 0x1c], 0
jg 0x45d0b5
cmp dword [esp + 0x20], 0
jle 0x45d117
mov eax, dword [ebp + 0x20]
push 0
lea edx, [esp + 0x18]
push edx
push eax
call edi
jmp 0x45d117
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0058f29b
mov edx, dword [esi + 0x124]
add dword [esi + 0x120], 1
push edx
mov edi, eax
mov eax, dword [esi + 0x120]
push eax
mov eax, dword [esi + 0x11c]
push eax
lea ecx, [esi + 0x128]
push ecx
mov ecx, dword [esi + 0x6c]
push 0
push 0
push edi
add ecx, 0x64
call fcn.00441850
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
mov ecx, esi
call fcn.00459b90
mov ebx, eax
test ebx, ebx
jne 0x45d195
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov dword [esi + 0x54], 1
call fcn.00461f70
xor edi, edi
push edi
mov ecx, esi
mov dword [esi + 0x54], edi
call fcn.0058a7a3
cmp dword [esi + 0x78], edi
jle 0x45d17d
jmp 0x45d150
test edi, edi
jl 0x45ce88
cmp edi, dword [esi + 0x78]
jge 0x45ce88
mov edx, dword [esi + 0x74]
mov ecx, dword [edx + edi*4]
test ecx, ecx
je 0x45d175
mov eax, dword [ecx]
mov edx, dword [eax + 0x140]
call edx
add edi, 1
cmp edi, dword [esi + 0x78]
jl 0x45d150
push 0x1a6f
push 0
mov ecx, esi
call fcn.0045c6e0
mov dword [esi + 0x11c], 0
mov eax, ebx
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 8