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

Disassembly:
push 0xffffffffffffffff
push 0x4ae9b9
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x14]
lea ebx, [esi + 0x1c]
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
add esi, 4
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x70], 0
test byte [edi + 0x10], 1
je 0x460ebf
mov dword [esp + 0x70], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
jmp 0x461296
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x2c], vtable.FCRect.0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x70], 1
mov ecx, dword [edi + 0x58]
sub ecx, dword [edi + 0x50]
lea ebp, [edi + 0x4c]
je 0x4610fe
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 8]
je 0x4610fe
push ebp
lea ecx, [esp + 0x30]
call fcn.0041f980
test eax, eax
je 0x461275
lea eax, [esp + 0x2c]
lea ecx, [edi + 0x60]
push eax
call fcn.0041f9f0
lea ebx, [edi + 4]
mov dword [esp + 0x20], vtable.FCXListIterator_class_FCRect_.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x44], vtable.FCRect.0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov byte [esp + 0x70], 3
lea ebx, [ebx]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], 0
call fcn.004357d0
mov esi, eax
test esi, esi
je 0x460fc2
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0041fe40
test eax, eax
jne 0x460fb8
lea ecx, [esp + 0x20]
call fcn.004357d0
mov esi, eax
test esi, esi
jne 0x460f97
jmp 0x460fc2
push esi
lea ecx, [esp + 0x30]
call fcn.0041f9f0
mov eax, dword [esp + 0x30]
cmp eax, dword [ebp + 4]
jg 0x460fe6
mov ecx, dword [esp + 0x38]
cmp ecx, dword [ebp + 0xc]
jl 0x460fe6
mov edx, dword [esp + 0x34]
cmp edx, dword [ebp + 8]
jg 0x460fe6
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [ebp + 0x10]
jge 0x46101f
cmp eax, dword [esp + 0x44]
jne 0x46100e
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x48]
jne 0x46100e
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x4c]
jne 0x46100e
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x50]
je 0x461091
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
push 1
push esi
mov ecx, ebx
call eax
jmp 0x460f60
mov ecx, edi
call fcn.00460ce0
push 0x14
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x78], eax
mov byte [esp + 0x70], 4
test eax, eax
je 0x46105d
mov dword [eax], vtable.FCRect.0
mov ecx, dword [edi + 0x50]
mov dword [eax + 4], ecx
mov edx, dword [edi + 0x54]
mov dword [eax + 8], edx
mov ecx, dword [edi + 0x58]
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0x5c]
mov dword [eax + 0x10], edx
jmp 0x46105f
xor eax, eax
mov byte [esp + 0x70], 3
mov edx, dword [ebx]
push 1
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov ecx, dword [edi + 0x50]
mov dword [edi + 0x64], ecx
mov edx, dword [edi + 0x54]
lea eax, [edi + 0x64]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x58]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0x5c]
mov dword [eax + 0xc], edx
or dword [edi + 0x10], 1
jmp 0x4610df
push 0x14
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x78], eax
mov byte [esp + 0x70], 5
test eax, eax
je 0x4610cc
mov dword [eax], vtable.FCRect.0
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x10], edx
jmp 0x4610ce
xor eax, eax
mov byte [esp + 0x70], 3
mov edx, dword [ebx]
push 1
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov byte [esp + 0x70], 2
mov dword [esp + 0x40], vtable.FCRect.0
mov byte [esp + 0x70], 1
mov dword [esp + 0x20], vtable.FCXListIterator_class_FCRect_.0
jmp 0x461271
push esi
lea ecx, [edi + 0x60]
call fcn.0041f9f0
mov ebp, vtable.FCXListIterator_class_FCRect_.0
add edi, 4
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
mov byte [esp + 0x70], 6
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x10]
mov eax, vtable.FCRect.0
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov byte [esp + 0x70], 7
mov dword [esp + 0x54], eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov bl, 8
mov byte [esp + 0x70], bl
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], 0
call fcn.004357d0
mov esi, eax
test esi, esi
je 0x461204
lea ebx, [ebx]
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.0041fe40
test eax, eax
jne 0x4611c1
lea ecx, [esp + 0x20]
call fcn.004357d0
mov esi, eax
test esi, esi
jne 0x4611a0
jmp 0x4611cb
push esi
lea ecx, [esp + 0x44]
call fcn.0041f9f0
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x58]
jne 0x4611f3
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x5c]
jne 0x4611f3
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x60]
jne 0x4611f3
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x64]
je 0x461204
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
push 1
push esi
mov ecx, edi
call eax
jmp 0x461163
push 0x14
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x78], eax
mov byte [esp + 0x70], 9
test eax, eax
je 0x46123f
mov dword [eax], vtable.FCRect.0
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x10], edx
jmp 0x461241
xor eax, eax
mov byte [esp + 0x70], bl
mov edx, dword [edi]
push 1
push eax
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov byte [esp + 0x70], 7
mov eax, vtable.FCRect.0
mov dword [esp + 0x54], eax
mov byte [esp + 0x70], 6
mov dword [esp + 0x40], eax
mov byte [esp + 0x70], 1
mov dword [esp + 0x20], ebp
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x70], 0
mov dword [esp + 0x2c], vtable.FCRect.0
mov dword [esp + 0x70], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4