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

Disassembly:
push 0xffffffffffffffff
push 0x4ab9cc
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x7ac78]
lea eax, [edi + 0x1c]
mov dword [esp + 0xb4], edi
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push eax
mov dword [esp + 0x90], eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add edi, 4
push edi
mov dword [esp + 0x94], edi
call ebp
mov dword [esp + 0x138], 0
lea edi, [esi + 0x7acb0]
lea eax, [edi + 0x1c]
push eax
mov dword [esp + 0xbc], edi
mov dword [esp + 0x98], eax
call ebx
add edi, 4
push edi
mov dword [esp + 0xa0], edi
call ebp
mov byte [esp + 0x138], 1
cmp dword [esi + 0x7ac98], 0
jl 0x445970
xor ebp, ebp
cmp dword [esi + 0x7aca4], ebp
jle 0x445970
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x2c], vtable.FCRect.0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov byte [esp + 0x138], 2
lea ecx, [esi + 0x7ac40]
mov dword [esp + 0x40], vtable.FCXListIterator_class_FCLayerSurface_.0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebp
mov byte [esp + 0x138], 3
push 1
mov ecx, esi
call fcn.00444b40
cmp dword [esi + 0x7ae68], ebp
mov dword [esp + 0x3c], eax
je 0x445770
mov edx, dword [esi + 0x7ae70]
lea ecx, [esp + 0x40]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebp
call fcn.004357d0
cmp eax, ebp
je 0x445084
cmp dword [eax + 0x8e4], ebp
je 0x445077
mov eax, dword [eax + 8]
push eax
mov ecx, esi
call fcn.00443360
lea ecx, [esp + 0x40]
call fcn.004357d0
cmp eax, ebp
jne 0x445064
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x74], ecx
mov edi, vtable.FCRect.0
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], eax
call fcn.0041f920
mov byte [esp + 0x138], 4
lea ecx, [esi + 0x7ac9c]
push ebp
call fcn.004612c0
mov dword [esp + 0xa0], edi
mov ecx, dword [eax + 4]
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0xb0], edx
mov byte [esp + 0x138], 5
mov ebx, dword [esi + 0x7ae6c]
lea eax, [esi + 0x7aca0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], vtable.FCXListIterator_class_FCRect_.0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov byte [esp + 0x138], 6
lea edi, [esi + 0x7ae54]
push edi
lea ecx, [esp + 0xa4]
call fcn.0041f980
test eax, eax
je 0x44531a
lea ecx, [esp + 0x1c]
call fcn.004357d0
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x44522f
cmp dword [esp + 0x3c], 0xffffffff
jne 0x4451df
cmp dword [esi + 0x7ac5c], ebp
je 0x4451df
cmp byte [esi + 0x7ac74], 0
je 0x4451df
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
call fcn.0041f920
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041f980
test eax, eax
je 0x4451df
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov edx, dword [esi + 0x7ac68]
mov ebx, dword [esi + 0x7ac64]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub ebp, ecx
push ebp
add edx, eax
push edx
lea edx, [ecx + ebx]
mov ebx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x7ac5c]
push ebx
call fcn.00452480
xor ebp, ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ebp
call fcn.004357d0
cmp eax, ebp
je 0x44521a
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x3c]
jl 0x44520d
cmp ecx, dword [esp + 0x4c]
jge 0x44520d
mov ecx, dword [esp + 0x14]
push ebp
push ecx
push ebx
mov ecx, eax
call fcn.00459f80
lea ecx, [esp + 0x40]
call fcn.004357d0
cmp eax, ebp
jne 0x4451f0
lea ecx, [esp + 0x1c]
call fcn.004357d0
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x445152
mov eax, dword [esi + 0x7ae74]
sub eax, 1
mov ebx, dword [esi + 0x7ae68]
mov ebp, dword [esi + 0x7ae6c]
je 0x44530f
sub eax, 1
je 0x445304
sub eax, 1
je 0x4452a2
mov eax, dword [ebx + 8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x7ae5c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
push 3
push eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov dword [esp + 0x20], edx
mov edx, dword [ebp]
mov edx, dword [edx + 0x18]
push eax
mov eax, dword [esi + 0x7ae58]
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push eax
push 0
push 0
push ebx
mov ecx, ebp
call edx
jmp 0x445318
cmp dword [esi + 0x7b1f0], 0
je 0x4452ef
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
push eax
push 0
push 0
lea ecx, [esp + 0x88]
call fcn.00401930
mov byte [esp + 0x138], 7
push eax
push ebx
push edi
push ebp
lea ecx, [esi + 0x7b1f0]
call fcn.0044d410
mov byte [esp + 0x138], 6
mov dword [esp + 0x78], vtable.FCRect.0
jmp 0x445318
push edi
push ebx
mov ecx, ebp
call fcn.00452880
mov dword [esi + 0x7ae74], 1
jmp 0x445318
push edi
push ebx
mov ecx, ebp
call fcn.00456b30
jmp 0x445318
push edi
push ebx
mov ecx, ebp
call fcn.00452880
xor ebp, ebp
cmp dword [esi + 0x7aca4], 4
jle 0x44540d
push ebp
lea ecx, [esi + 0x7ac9c]
call fcn.004612c0
mov dword [esp + 0x50], vtable.FCRect.0
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x60], edx
mov byte [esp + 0x138], 8
push edi
lea ecx, [esp + 0x54]
call fcn.0041f980
test eax, eax
je 0x4453f8
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 4]
mov ebx, dword [edi + 0x10]
sub ebx, dword [edi + 8]
mov edx, dword [esi + 0x7ae58]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x68]
mov eax, dword [esp + 0x54]
sub eax, edx
imul eax, edi
cdq
idiv ecx
mov edx, dword [esi + 0x7ae5c]
mov ebp, dword [esp + 0x74]
sub ebp, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
sub eax, edx
imul eax, ebp
cdq
idiv ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
imul eax, edi
lea eax, [eax + ecx - 1]
cdq
idiv ecx
mov edx, dword [esp + 0x60]
sub edx, dword [esp + 0x58]
imul edx, ebp
mov ecx, eax
lea eax, [edx + ebx - 1]
cdq
idiv ebx
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esi + 0x7ac9c]
call fcn.00461780
xor ebp, ebp
mov byte [esp + 0x138], 6
mov dword [esp + 0x50], vtable.FCRect.0
jmp 0x4455ad
mov eax, dword [esp + 0x74]
mov ebp, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
sub eax, dword [esp + 0x6c]
sub ebp, dword [edi + 4]
sub ebx, dword [edi + 8]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x68]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x7aca0]
mov dword [esp + 0x50], vtable.FCXListIterator_class_FCRect_.0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov byte [esp + 0x138], 9
lea ecx, [esp + 0xbc]
call fcn.00461620
mov byte [esp + 0x138], 0xa
lea ecx, [esp + 0x50]
call fcn.004357d0
test eax, eax
je 0x445574
jmp 0x445480
mov edx, dword [esi + 0x7ae58]
mov ecx, dword [esi + 0x7ae5c]
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x7ae60]
mov dword [esp + 0x80], ecx
mov ecx, dword [esi + 0x7ae64]
mov dword [esp + 0x78], vtable.FCRect.0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov byte [esp + 0x138], 0xb
push eax
lea ecx, [esp + 0x7c]
call fcn.0041f980
test eax, eax
je 0x445553
mov ecx, dword [esp + 0x7c]
mov edx, dword [esi + 0x7ae58]
mov eax, ecx
sub eax, edx
imul eax, edi
cdq
idiv ebp
mov edx, dword [esi + 0x7ae5c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x80]
sub eax, edx
imul eax, dword [esp + 0x14]
cdq
idiv ebx
mov edx, dword [esp + 0x84]
sub edx, ecx
imul edx, edi
mov dword [esp + 0x18], eax
lea eax, [edx + ebp - 1]
cdq
idiv ebp
mov ecx, eax
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
imul eax, dword [esp + 0x14]
lea eax, [eax + ebx - 1]
cdq
idiv ebx
mov edx, dword [esp + 0x98]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0xcc]
call fcn.00461780
mov byte [esp + 0x138], 0xa
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], vtable.FCRect.0
call fcn.004357d0
test eax, eax
jne 0x445480
lea eax, [esp + 0xbc]
push eax
lea ecx, [esi + 0x7ac9c]
call fcn.004613c0
mov byte [esp + 0x138], 9
lea ecx, [esp + 0xbc]
call fcn.004616e0
mov byte [esp + 0x138], 6
mov dword [esp + 0x50], vtable.FCXListIterator_class_FCRect_.0
xor ebp, ebp
mov eax, dword [esi + 0x7bc54]
cmp eax, ebp
je 0x4455c6
lea ecx, [esi + 0x7ac9c]
push ecx
push eax
mov ecx, esi
call fcn.004448e0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebp
call fcn.004357d0
mov ebx, eax
cmp ebx, ebp
je 0x44569c
mov edi, dword [esp + 0x4c]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
call fcn.0041f920
push ebx
lea ecx, [esp + 0x2c]
call fcn.0041f980
test eax, eax
je 0x445651
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov edx, dword [esi + 0x7ac68]
mov edi, dword [esi + 0x7ac64]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub ebp, ecx
push ebp
add edx, eax
push edx
lea edx, [ecx + edi]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x7ae68]
lea eax, [esi + 0x58]
push eax
call fcn.00452480
mov edi, dword [esp + 0x4c]
xor ebp, ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ebp
call fcn.004357d0
cmp eax, ebp
je 0x445689
mov ecx, dword [eax + 8]
cmp ecx, edi
jl 0x44567c
cmp ecx, dword [esp + 0x3c]
jl 0x44567c
push ebp
push ebx
lea ecx, [esi + 0x58]
push ecx
mov ecx, eax
call fcn.00459f80
lea ecx, [esp + 0x40]
call fcn.004357d0
cmp eax, ebp
jne 0x445662
lea ecx, [esp + 0x1c]
call fcn.004357d0
mov ebx, eax
cmp ebx, ebp
jne 0x4455e1
mov ecx, dword [esi + 0x7bc40]
and dword [esi + 0x7bc50], 0xfeffffff
xor bl, bl
cmp ecx, ebp
je 0x4456e4
mov eax, dword [esi + 0x60]
mov edi, dword [eax + 4]
call fcn.00409b20
cmp eax, edi
jl 0x4456d6
mov ecx, dword [esi + 0x60]
mov edi, dword [ecx + 8]
mov ecx, dword [esi + 0x7bc40]
call fcn.00409ba0
cmp eax, edi
jge 0x4456ec
or dword [esi + 0x7bc50], 0x1000000
mov bl, 1
jmp 0x4456ec
cmp dword [esi + 0x7bc54], ebp
jne 0x4456f9
cmp dword [esp + 0x140], ebp
je 0x44573b
test bl, bl
je 0x445706
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push ebp
push ebp
mov ecx, esi
call eax
jmp 0x44573b
cmp dword [esi + 0x7aca4], 1
jl 0x44573b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebp
call fcn.004357d0
cmp eax, ebp
je 0x44573b
mov edx, dword [esi]
add eax, 4
push ebp
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
lea ecx, [esp + 0x1c]
call fcn.004357d0
cmp eax, ebp
jne 0x445720
mov byte [esp + 0x138], 5
mov dword [esp + 0x1c], vtable.FCXListIterator_class_FCRect_.0
mov byte [esp + 0x138], 4
mov edi, vtable.FCRect.0
mov dword [esp + 0xa0], edi
mov byte [esp + 0x138], 3
mov dword [esp + 0x64], edi
jmp 0x445942
lea ecx, [esi + 0x7aca0]
mov dword [esp + 0x1c], vtable.FCXListIterator_class_FCRect_.0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebp
mov byte [esp + 0x138], 0xc
lea ecx, [esp + 0x1c]
call fcn.004357d0
mov ebx, eax
cmp ebx, ebp
je 0x445872
mov edi, dword [esp + 0x3c]
cmp edi, 0xffffffff
jne 0x44582f
cmp dword [esi + 0x7ac5c], ebp
je 0x44582f
cmp byte [esi + 0x7ac74], 0
je 0x44582f
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
call fcn.0041f920
push ebx
lea ecx, [esp + 0x2c]
call fcn.0041f980
test eax, eax
je 0x44582f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov edx, dword [esi + 0x7ac68]
mov edi, dword [esi + 0x7ac64]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub ebp, ecx
push ebp
add edx, eax
push edx
lea edx, [ecx + edi]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x7ac5c]
lea eax, [esi + 0x58]
push eax
call fcn.00452480
mov edi, dword [esp + 0x3c]
xor ebp, ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ebp
call fcn.004357d0
cmp eax, ebp
je 0x44585f
cmp dword [eax + 8], edi
jl 0x445852
push ebp
push ebx
lea ecx, [esi + 0x58]
push ecx
mov ecx, eax
call fcn.00459f80
lea ecx, [esp + 0x40]
call fcn.004357d0
cmp eax, ebp
jne 0x445840
lea ecx, [esp + 0x1c]
call fcn.004357d0
mov ebx, eax
cmp ebx, ebp
jne 0x4457a5
mov ecx, dword [esi + 0x7bc40]
and dword [esi + 0x7bc50], 0xfeffffff
xor bl, bl
cmp ecx, ebp
je 0x4458d2
mov eax, dword [esi + 0x60]
mov edi, dword [eax + 4]
call fcn.00409b20
cmp eax, edi
jl 0x4458ac
mov ecx, dword [esi + 0x60]
mov edi, dword [ecx + 8]
mov ecx, dword [esi + 0x7bc40]
call fcn.00409ba0
cmp eax, edi
jge 0x4458b8
or dword [esi + 0x7bc50], 0x1000000
mov bl, 1
cmp dword [esp + 0x140], ebp
je 0x44592d
test bl, bl
je 0x4458f8
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ebp
push ebp
mov ecx, esi
call edx
jmp 0x44592d
mov eax, dword [esi + 0x7bc54]
cmp eax, ebp
je 0x4458b8
lea edx, [esi + 0x7ac9c]
push edx
push eax
mov ecx, esi
call fcn.004448e0
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ebp
push ebp
mov ecx, esi
call edx
jmp 0x44592d
cmp dword [esi + 0x7aca4], 1
jl 0x44592d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebp
call fcn.004357d0
cmp eax, ebp
je 0x44592d
mov edx, dword [esi]
add eax, 4
push ebp
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
lea ecx, [esp + 0x1c]
call fcn.004357d0
cmp eax, ebp
jne 0x445912
mov byte [esp + 0x138], 3
mov dword [esp + 0x1c], vtable.FCXListIterator_class_FCRect_.0
mov edi, vtable.FCRect.0
lea ecx, [esi + 0x7ac9c]
call fcn.00460ce0
mov byte [esp + 0x138], 2
mov dword [esp + 0x40], vtable.FCXListIterator_class_FCLayerSurface_.0
mov byte [esp + 0x138], 1
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x9c]
mov byte [esp + 0x138], 0
mov ecx, dword [esp + 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ecx
call esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call edi
mov dword [esp + 0x138], 0xffffffff
mov edx, dword [esp + 0x8c]
push edx
call esi
mov eax, dword [esp + 0x90]
push eax
call edi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret 4