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

Disassembly:
push 0xffffffffffffffff
push 0x4ac041
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 edi, dword [esp + 0x114]
cmp edi, 0xcf
ja 0x447a91
push edi
lea ecx, [esi + 0x7ac4c]
call fcn.00439c40
test eax, eax
je 0x447a91
mov dword [esp + 0x34], vtable.FCTickTimer.0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10c], 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], 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
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0x7ad80]
sub edx, dword [esi + 0x7ad78]
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
test ecx, ecx
jne 0x4475b6
test eax, eax
je 0x4479c0
lea edx, [ecx + ecx*2]
add edx, edx
mov dword [esp + 0x60], edx
lea edx, [eax + eax*2]
add edx, edx
mov dword [esp + 0x48], edx
lea edx, [ecx + ecx*4]
mov dword [esp + 0x64], edx
lea edx, [eax + eax*4]
mov dword [esp + 0x4c], edx
lea edx, [ecx*4]
mov dword [esp + 0x68], edx
lea edx, [eax*4]
mov dword [esp + 0x50], edx
lea edx, [ecx + ecx*2]
mov dword [esp + 0x6c], edx
lea edx, [eax + eax*2]
mov dword [esp + 0x54], edx
lea edx, [ecx + ecx]
mov dword [esp + 0x70], edx
lea edx, [eax + eax]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call fcn.00402fa0
mov byte [esp + 0x10c], 2
mov eax, dword [esi + 0x7ad80]
sub eax, dword [esi + 0x7ad78]
mov ecx, dword [esi + 0x7ad7c]
sub ecx, dword [esi + 0x7ad74]
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [esp + 0x84]
call fcn.0042b6b0
imul edi, edi, 0x970
lea ebp, [edi + esi]
lea edi, [ebp + 0x58c]
push edi
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, edi
call fcn.00422610
mov ecx, dword [esi + 0x7ad74]
mov eax, dword [esi + 0x7ad7c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esi + 0x7ad78]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x7ad80]
sub eax, ecx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
add ebp, 0x140
add ebx, ecx
mov dword [esp + 0x40], ebp
xor ebp, ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ebp
jmp 0x4476e4
mov ebp, dword [esp + 0x30]
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [esp + 0x118], 0x1d
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
je 0x4477fc
mov ebp, dword [esp + ebp + 0x4c]
mov ecx, dword [esi + 0x7ad7c]
mov edx, dword [esi + 0x7ad74]
lea eax, [ebx + ebp]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
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 0x447748
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 edi
lea ecx, [esp + 0x98]
call fcn.004300d0
mov edx, dword [esp + 0x11c]
mov eax, dword [esi + 0x7ad78]
mov ecx, dword [esi + 0x7ad74]
push edx
mov edx, dword [esi + 0x7ad80]
sub edx, eax
push edx
mov edx, dword [esi + 0x7ad7c]
sub edx, ecx
push edx
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x7ad6c]
push edi
call fcn.004300d0
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0xfffffffffffffffe
push ebp
push eax
push 0
push 0
push ecx
push edx
push edi
lea ecx, [esp + 0x98]
call fcn.004300d0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
test eax, eax
jge 0x4477e4
neg eax
mov ebx, dword [esp + 0x44]
push 0xfffffffffffffffe
push ebp
push ecx
sub eax, ebp
push eax
mov eax, dword [esp + 0x2c]
push 0
push ebx
push eax
jmp 0x447902
mov ebp, dword [esp + ebp + 0x64]
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 0x7ad78]
mov ecx, dword [esi + 0x7ad80]
add eax, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
sub eax, ebp
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
call fcn.0041f920
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + 8]
test eax, eax
jge 0x447849
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 + 0x28], eax
mov eax, dword [esi + 0x7ad74]
push edx
push eax
push edi
lea ecx, [esp + 0x98]
call fcn.004300d0
mov edx, dword [esp + 0x11c]
mov eax, dword [esi + 0x7ad78]
mov ecx, dword [esi + 0x7ad74]
push edx
mov edx, dword [esi + 0x7ad80]
sub edx, eax
push edx
mov edx, dword [esi + 0x7ad7c]
sub edx, ecx
push edx
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x7ad6c]
push edi
call fcn.004300d0
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 8]
test eax, eax
jge 0x4478bb
neg eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0xfffffffffffffffe
push eax
push ebp
push 0
push 0
push ecx
push edx
push edi
lea ecx, [esp + 0x98]
call fcn.004300d0
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + 8]
test eax, eax
jge 0x4478ea
neg eax
push 0xfffffffffffffffe
mov edx, eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x30]
push edx
push ebp
push 0
sub eax, ebp
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
push edi
lea ecx, [esp + 0x98]
call fcn.004300d0
mov eax, dword [esi + 0x7ad78]
mov edx, dword [esi + 0x7ad74]
mov ecx, dword [esi + 0x7ad7c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x7ad80]
lea eax, [esp + 0x18]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
push eax
mov dword [esp + 0x2c], edx
call fcn.00457da0
push 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004464c0
push 0x14
lea ecx, [esp + 0x38]
call fcn.00461870
mov eax, dword [esp + 0x30]
add eax, 4
cmp eax, 0x14
mov dword [esp + 0x30], eax
jl 0x4476e0
mov eax, dword [esp + 0x80]
mov ebx, dword [eax + 8]
test ebx, ebx
jge 0x447982
neg ebx
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x7ad78]
mov edx, dword [esi + 0x7ad74]
push 0xfffffffffffffffe
push ebx
push eax
push 0
push 0
push ecx
push edx
push edi
lea ecx, [esp + 0x98]
call fcn.004300d0
mov byte [esp + 0x10c], 1
lea ecx, [esp + 0x78]
call fcn.00402160
mov edi, dword [esp + 0x114]
mov eax, dword [esi + 0x7ad78]
imul edi, edi, 0x970
mov edx, dword [esi + 0x7ad80]
mov ebp, dword [esp + 0x11c]
mov ecx, dword [esi + 0x7ad74]
push ebp
sub edx, eax
push edx
mov edx, dword [esi + 0x7ad7c]
sub edx, ecx
push edx
push 0
push 0
push eax
add edi, esi
push ecx
mov ecx, dword [esi + 0x7ad6c]
lea ebx, [edi + 0x58c]
push ebx
call fcn.004300d0
mov edx, dword [esi + 0x7ad74]
mov dword [esp + 0x1c], edx
mov eax, dword [esi + 0x7ad78]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x7ad7c]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x7ad80]
push ebp
mov dword [esp + 0x2c], ecx
mov ebp, dword [esp + 0x24]
sub ecx, ebp
push ecx
mov ecx, dword [esi + 0x7ad6c]
sub eax, edx
push eax
push 0
push 0
push ebp
push edx
push ebx
call fcn.004300d0
push 0x301
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [edi + 0x140]
call fcn.004597f0
push 1
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004464c0
mov byte [esp + 0x10c], 0
mov dword [esp + 0x18], vtable.FCRect.0
mov dword [esp + 0x10c], 0xffffffff
mov dword [esp + 0x34], 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