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

Disassembly:
push 0xffffffffffffffff
push 0x4abff1
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x114]
cmp ebp, 0xcf
ja 0x4474bd
push ebp
lea ecx, [esi + 0x7ac4c]
call fcn.00439c40
test eax, eax
je 0x4474bd
mov dword [esp + 0x38], vtable.FCTickTimer.0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x10c], 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x18], vtable.FCRect.0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov byte [esp + 0x10c], 1
mov ecx, dword [esi + 0x7ad7c]
sub ecx, dword [esi + 0x7ad74]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esi + 0x7ad80]
sub ecx, dword [esi + 0x7ad78]
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
lea ecx, [esp + 0x78]
add ebx, edx
call fcn.00402fa0
mov byte [esp + 0x10c], 2
mov ecx, dword [esi + 0x7ad80]
sub ecx, dword [esi + 0x7ad78]
mov edx, dword [esi + 0x7ad7c]
sub edx, dword [esi + 0x7ad74]
push 0xffffffffffffffff
push ecx
push edx
lea ecx, [esp + 0x84]
call fcn.0042b6b0
imul ebp, ebp, 0x970
add ebp, esi
mov dword [esp + 0x30], ebp
add ebp, 0x58c
push ebp
lea ecx, [esp + 0x7c]
call fcn.00424520
mov eax, dword [esi + 0x7ad78]
mov edx, dword [esi + 0x7ad80]
mov ecx, dword [esi + 0x7ad74]
push 0xfffffffffffffffe
sub edx, eax
push edx
mov edx, dword [esi + 0x7ad7c]
sub edx, ecx
push edx
push eax
push ecx
push 0
push 0
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call fcn.00422610
xor ecx, ecx
cmp edi, ecx
jne 0x447152
cmp ebx, ecx
je 0x4473ef
lea eax, [ebx + ebx]
mov dword [esp + 0x68], eax
lea edx, [edi + edi]
lea eax, [ebx + ebx*2]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], edx
lea edx, [edi + edi*2]
lea eax, [ebx*4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x54], edx
lea edx, [edi*4]
lea eax, [ebx + ebx*4]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x7ad7c]
mov dword [esp + 0x58], edx
lea edx, [edi + edi*4]
mov dword [esp + 0x4c], edi
mov edi, dword [esi + 0x7ad74]
sub eax, edi
mov dword [esp + 0x5c], edx
cdq
sub eax, edx
mov dword [esp + 0x64], ebx
mov ebx, eax
mov eax, dword [esi + 0x7ad80]
sar ebx, 1
add ebx, edi
mov edi, dword [esi + 0x7ad78]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
xor edi, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edi
jmp 0x4471e4
mov edi, dword [esp + 0x2c]
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [esp + 0x118], 0x1b
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
je 0x4472d3
mov ecx, dword [esi + 0x7ad7c]
mov edi, dword [esp + edi + 0x60]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 0x7ad74]
lea ebx, [edi + eax]
sub eax, edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebx
call fcn.0041f920
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + 8]
test eax, eax
jge 0x447242
neg eax
mov edx, dword [esi + 0x7ad74]
push 0xfffffffffffffffe
mov ebx, eax
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 0x7ad78]
push ebx
push eax
push 0
push 0
push ecx
push edx
push ebp
lea ecx, [esp + 0x98]
call fcn.004300d0
mov ecx, dword [esi + 0x7ad6c]
mov edx, dword [ecx + 8]
mov ebx, dword [esp + 0x11c]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x18]
push ebx
push edi
push eax
mov eax, dword [esp + 0x28]
push 0
push 0
push eax
push edx
push ebp
call fcn.004300d0
mov eax, dword [esi + 0x7ad6c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 8]
mov eax, dword [edx + 8]
test eax, eax
mov ecx, dword [ecx + 4]
jge 0x4472ac
neg eax
push ebx
push edi
push ecx
mov ecx, dword [esp + 0x24]
sub eax, edi
push eax
mov eax, dword [esp + 0x44]
push 0
push eax
push ecx
mov ecx, dword [esi + 0x7ad6c]
push ebp
call fcn.004300d0
mov ebx, dword [esp + 0x44]
jmp 0x4473ae
mov edi, dword [esp + edi + 0x48]
mov ecx, dword [esi + 0x7ad80]
mov edx, dword [esi + 0x7ad78]
mov eax, ebx
sub eax, edi
mov dword [esp + 0x18], eax
lea eax, [edi + ebx]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.0041f920
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + 8]
test eax, eax
jge 0x447313
neg eax
mov ecx, dword [ecx + 4]
mov edx, dword [esi + 0x7ad78]
push 0xfffffffffffffffe
push eax
push ecx
push 0
push 0
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x7ad74]
push edx
push eax
push ebp
lea ecx, [esp + 0x98]
call fcn.004300d0
mov ecx, dword [esi + 0x7ad6c]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
test eax, eax
jge 0x44734f
neg eax
mov edx, dword [esp + 0x11c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push edi
push 0
push 0
push eax
push edx
push ebp
call fcn.004300d0
mov eax, dword [esi + 0x7ad6c]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
test eax, eax
jge 0x44737f
neg eax
mov ecx, dword [esi + 0x7ad6c]
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x11c]
push edx
mov edx, dword [esp + 0x2c]
push edx
push edi
push 0
sub eax, edi
push eax
mov eax, dword [esp + 0x30]
push eax
push ebx
push ebp
call fcn.004300d0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x34]
add ecx, 0x140
call fcn.00457da0
push 1
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004464c0
push 0x14
lea ecx, [esp + 0x3c]
call fcn.00461870
mov eax, dword [esp + 0x2c]
add eax, 4
cmp eax, 0x14
mov dword [esp + 0x2c], eax
jl 0x4471e0
mov edx, dword [esi + 0x7ad74]
mov dword [esp + 0x18], edx
mov edi, dword [esi + 0x7ad78]
mov dword [esp + 0x1c], edi
mov eax, dword [esi + 0x7ad7c]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x7ad80]
push 0xfffffffffffffffe
mov dword [esp + 0x28], ecx
sub ecx, edi
push ecx
sub eax, edx
push eax
push 0
push 0
push edi
push edx
push ebp
lea ecx, [esp + 0x98]
call fcn.004300d0
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x7ad6c]
push ebp
call fcn.004300d0
mov ecx, dword [esp + 0x30]
push 0x301
lea eax, [esp + 0x18]
push eax
add ecx, 0x140
call fcn.004597f0
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004464c0
mov byte [esp + 0x10c], 1
lea ecx, [esp + 0x78]
call fcn.00402160
mov byte [esp + 0x10c], 0
mov dword [esp + 0x14], vtable.FCRect.0
mov dword [esp + 0x10c], 0xffffffff
mov dword [esp + 0x38], vtable.FCTickTimer.0
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 0xc