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

Disassembly:
push 0xffffffffffffffff
push 0x4d557a
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x45efdc
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
jmp 0x45eff7
push esi
lea ecx, [esp + 0x54]
call fcn.00469630
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov dword [esp + 0x24], ecx
mov ebp, edx
mov ebx, dword [sym.imp.user32.dll_SetRectEmpty]
lea eax, [esi + 0x1a8]
push eax
mov dword [esp + 0x24], ebp
call ebx
lea edi, [esi + 0x18c]
push edi
call ebx
mov ecx, dword [esi + 0x94]
mov edx, dword [ecx + 0x2c]
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.0045ffd0
mov edx, dword [eax]
mov edx, dword [edx + 0xa0]
push esi
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call edx
mov ecx, esi
call fcn.0045ffd0
mov edx, dword [eax]
mov edx, dword [edx + 0x7c]
push 0
push 0
push esi
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call edx
cmp dword [esi + 0x130], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], 0
je 0x45f0b3
mov ecx, esi
call fcn.0045ffd0
push 0
push 0
sub esp, 0x10
mov ebx, eax
mov dword [esp + 0x88], esp
mov eax, esp
push 0
push eax
call dword [sym.imp.user32.dll_CopyRect]
mov edx, dword [ebx]
mov edx, dword [edx + 0xa4]
push 0
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add dword [esp + 0x44], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x94]
push 0x24ba
call fcn.00483430
cmp dword [esi + 0x124], 0
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0
je 0x45f18d
mov ecx, esi
call fcn.0045ffd0
mov edx, dword [eax]
mov edx, dword [edx + 0x9c]
push 0
push 0
push esi
push 0
push 1
push 0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add dword [esp + 0x4c], eax
test ebx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jne 0x45f191
push 0xf4
call fcn.0041b3e4
mov ebx, eax
add esp, 4
mov dword [esp + 0x70], ebx
test ebx, ebx
mov dword [esp + 0x68], 0
je 0x45f155
mov ecx, ebx
call fcn.0047aef0
mov dword [ebx], 0x4e9bdc
mov dword [ebx + 0x9c], 1
mov dword [ebx + 0x78], 0x1a
jmp 0x45f157
xor ebx, ebx
push 1
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0x4fa2a4
mov dword [esp + 0x78], 0xffffffff
call fcn.0040b7d0
mov ecx, dword [esi + 0x94]
push 0x24ba
push ebx
call fcn.004839e0
mov dword [esp + 0x18], eax
mov ebx, eax
jmp 0x45f191
test ebx, ebx
je 0x45f19c
mov edx, dword [ebx]
mov eax, dword [edx + 0x70]
push 1
mov ecx, ebx
call eax
cmp dword [esp + 0x74], 0
jne 0x45f319
cmp dword [esi + 0x184], 1
jne 0x45f1ba
mov dword [esi + 0x184], 0
cmp dword [esi + 0x184], 0
mov eax, dword [esp + 0x44]
mov ebx, eax
je 0x45f1e7
mov edx, dword [esp + 0x40]
lea ebx, [eax + 0x10]
push ebx
mov ecx, ebp
sub ecx, dword [esp + 0x4c]
push ecx
push eax
push edx
lea eax, [esi + 0x1a8]
push eax
call dword [sym.imp.user32.dll_SetRect]
mov eax, dword [esi + 0x184]
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
jge 0x45f2a4
jmp 0x45f204
mov eax, dword [esp + 0x70]
push eax
mov ecx, esi
call fcn.00460760
mov edi, eax
mov ecx, dword [edi + 0x74]
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
and ecx, 0xfffffff7
push ecx
mov ecx, edi
call edx
cmp dword [edi + 0x74], 0
jne 0x45f28b
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x70]
sub eax, ecx
cmp dword [edi + 0x3c], 0
mov dword [esp + 0x58], edx
je 0x45f244
add ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
sub ecx, eax
sub ecx, ebx
add edx, 0x10
cmp ecx, edx
jl 0x45f2a0
mov edx, dword [esp + 0x40]
add eax, ebx
mov dword [esp + 0x74], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov ecx, ebp
sub ecx, dword [esp + 0x58]
mov ebp, dword [edi]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 0x60]
mov ecx, edi
call eax
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x70]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
jl 0x45f200
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x14]
mov edi, eax
jge 0x45f2df
lea esp, [esp]
push edi
mov ecx, esi
call fcn.00460760
push edi
mov ecx, esi
mov ebx, eax
call fcn.00460760
mov eax, dword [eax + 0x74]
mov edx, dword [ebx]
mov edx, dword [edx + 0x70]
or eax, 8
push eax
mov ecx, ebx
call edx
add edi, 1
cmp edi, dword [esp + 0x14]
jl 0x45f2b0
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x14]
mov dword [esi + 0x188], eax
je 0x45f472
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
mov edx, ecx
sub edx, eax
push edx
mov edx, ebp
sub edx, dword [esp + 0x4c]
sub ecx, eax
mov eax, dword [esp + 0x44]
push edx
sub ecx, 0x10
push ecx
push eax
lea eax, [esi + 0x18c]
jmp 0x45f46b
mov edx, dword [esp + 0x14]
lea ecx, [edx - 1]
cmp dword [esi + 0x188], ecx
jne 0x45f32e
mov dword [esi + 0x188], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
sub eax, ecx
cmp dword [esi + 0x188], edx
mov ebx, eax
mov dword [esp + 0x74], ebx
je 0x45f36e
push eax
mov eax, dword [esp + 0x28]
mov edx, ebp
sub edx, dword [esp + 0x4c]
sub eax, ecx
mov ecx, dword [esp + 0x44]
push edx
sub eax, 0x10
push eax
push ecx
sub ebx, 0x10
push edi
mov dword [esp + 0x88], ebx
call dword [sym.imp.user32.dll_SetRect]
mov edi, dword [esi + 0x188]
sub edi, 1
mov dword [esp + 0x70], edi
js 0x45f413
jmp 0x45f387
mov edi, dword [esp + 0x70]
push edi
mov ecx, esi
call fcn.00460760
mov edi, eax
mov eax, dword [edi + 0x74]
mov edx, dword [edi]
mov edx, dword [edx + 0x70]
and eax, 0xfffffff7
push eax
mov ecx, edi
call edx
cmp dword [edi + 0x74], 0
jne 0x45f404
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x70]
sub eax, ecx
sub ebx, eax
cmp ebx, 0x10
mov dword [esp + 0x58], edx
jl 0x45f40f
mov edx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov ecx, ebp
sub ecx, dword [esp + 0x58]
mov ebp, dword [edi]
mov dword [eax], edx
mov edx, dword [ebp + 0x60]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
cmp dword [edi + 0x3c], 0
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x74], ebx
je 0x45f404
sub ebx, dword [esp + 0x1c]
mov dword [esp + 0x74], ebx
sub dword [esp + 0x70], 1
jns 0x45f383
mov edi, dword [esp + 0x70]
test edi, edi
jl 0x45f442
push edi
mov ecx, esi
call fcn.00460760
push edi
mov ecx, esi
mov ebx, eax
call fcn.00460760
mov eax, dword [eax + 0x74]
mov edx, dword [ebx]
mov edx, dword [edx + 0x70]
or eax, 8
push eax
mov ecx, ebx
call edx
sub edi, 1
jns 0x45f417
mov edi, dword [esp + 0x70]
cmp edi, 0xffffffff
lea eax, [edi + 1]
mov dword [esi + 0x184], eax
je 0x45f472
mov eax, dword [esp + 0x44]
lea ecx, [eax + 0x10]
mov edx, ebp
sub edx, dword [esp + 0x48]
push ecx
push edx
push eax
mov eax, dword [esp + 0x4c]
push eax
lea eax, [esi + 0x1a8]
push eax
call dword [sym.imp.user32.dll_SetRect]
cmp dword [esi + 0x124], 0
je 0x45f4c4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x70]
push 0
call eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
lea ebx, [eax + ecx]
mov ecx, dword [esp + 0x18]
mov edx, ebp
mov ebp, dword [ecx]
sub edx, dword [esp + 0x48]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp + 0x60]
mov dword [ecx + 0xc], ebx
mov ecx, dword [esp + 0x28]
call edx
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
sub ebp, dword [esp + 0x48]
push eax
sub eax, dword [esp + 0x38]
push ebp
push eax
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esi + 0x134]
push ecx
call dword [sym.imp.user32.dll_SetRect]
cmp dword [esp + 0x78], 0
je 0x45f50b
and dword [esi + 0x7c], 0xfffffffd
cmp dword [esi + 0xf0], 0
jne 0x45f50b
mov esi, dword [esi + 0x20]
test esi, esi
je 0x45f50b
push 0
push 0
push esi
call dword [sym.imp.user32.dll_InvalidateRect]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc