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

Disassembly:
push 0xffffffffffffffff
push 0x4abfa1
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x88]
call fcn.00402fa0
mov dword [esp + 0x11c], 0
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 byte [esp + 0x11c], 1
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x18], vtable.FCRect.0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov byte [esp + 0x11c], 2
mov eax, dword [esi + 0x7ad7c]
sub eax, dword [esi + 0x7ad74]
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, dword [esi + 0x7ad80]
sub eax, dword [esi + 0x7ad78]
sar edi, 3
cdq
and edx, 7
add eax, edx
mov ebx, eax
sar ebx, 3
test edi, edi
jne 0x446b36
mov edi, 1
test ebx, ebx
jne 0x446b3f
mov ebx, 1
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 + 0x94]
call fcn.0042b6b0
mov eax, dword [esp + 0x124]
imul eax, eax, 0x970
lea ebp, [eax + esi]
lea eax, [ebp + 0x58c]
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x34], eax
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
mov ecx, dword [esp + 0x44]
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call fcn.00422610
lea eax, [edi + edi*2]
mov dword [esp + 0x70], eax
lea eax, [ebx*4]
mov dword [esp + 0x50], eax
lea ecx, [edi + edi]
mov dword [esp + 0x6c], ecx
lea edx, [ebx + ebx]
mov dword [esp + 0x48], edx
lea eax, [edi + edi*2]
add eax, eax
lea ecx, [ebx + ebx*2]
lea edx, [edi*4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x74], edx
lea ecx, [edi + edi*4]
lea edx, [ebx + ebx*4]
lea eax, [ebx*8]
sub eax, ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x54], edx
lea ecx, [ebx + ebx*2]
lea edx, [edi*8]
sub edx, edi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x128]
add ecx, ecx
add eax, 0xffffffe2
add ebp, 0x140
mov dword [esp + 0x58], ecx
mov dword [esp + 0x80], edx
lea ecx, [edi*8]
lea edx, [ebx*8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x60], edx
mov ebx, 1
lea ebx, [ebx]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
cmp eax, 7
ja case.default.0x446c9b
jmp dword [eax*4 + 0x446fcc]
mov edi, dword [esi + 0x7ad74]
mov edx, dword [esi + 0x7ad78]
mov ecx, dword [esp + ebx*4 + 0x64]
mov eax, dword [esp + ebx*4 + 0x40]
add ecx, edi
add eax, edx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
call fcn.0041f920
mov edi, dword [esi + 0x7ad84]
sub edi, dword [esi + 0x7ad74]
add edi, dword [esi + 0x7ad7c]
sub edi, dword [esp + 0x20]
add edi, dword [esp + 0x18]
jmp 0x446e71
mov ecx, dword [esi + 0x7ad74]
mov edi, dword [esi + 0x7ad78]
mov eax, dword [esp + ebx*4 + 0x64]
mov edx, dword [esi + 0x7ad80]
add eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.0041f920
mov edi, dword [esi + 0x7ad84]
sub edi, dword [esi + 0x7ad74]
mov ebp, dword [esi + 0x7ad88]
add edi, dword [esi + 0x7ad7c]
sub edi, dword [esp + 0x20]
add edi, dword [esp + 0x18]
jmp case.default.0x446c9b
mov edx, dword [esi + 0x7ad80]
mov edi, dword [esi + 0x7ad74]
mov eax, dword [esp + ebx*4 + 0x64]
mov ecx, edx
add eax, edi
sub ecx, dword [esp + ebx*4 + 0x40]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
jmp 0x446d12
mov ecx, dword [esi + 0x7ad80]
mov edx, dword [esi + 0x7ad7c]
mov edi, dword [esi + 0x7ad74]
mov eax, ecx
sub eax, dword [esp + ebx*4 + 0x40]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call fcn.0041f920
mov edi, dword [esi + 0x7ad84]
mov ebp, dword [esi + 0x7ad88]
jmp case.default.0x446c9b
mov edx, dword [esi + 0x7ad80]
mov edi, dword [esi + 0x7ad7c]
mov eax, edx
sub eax, dword [esp + ebx*4 + 0x40]
mov ecx, edi
sub ecx, dword [esp + ebx*4 + 0x64]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edx
call fcn.0041f920
mov edi, dword [esi + 0x7ad84]
mov ebp, dword [esi + 0x7ad88]
jmp case.default.0x446c9b
mov ecx, dword [esi + 0x7ad7c]
mov edi, dword [esi + 0x7ad78]
mov edx, dword [esi + 0x7ad80]
mov eax, ecx
sub eax, dword [esp + ebx*4 + 0x64]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jmp 0x446dd0
mov edi, dword [esi + 0x7ad7c]
mov edx, dword [esi + 0x7ad78]
mov eax, dword [esp + ebx*4 + 0x40]
mov ecx, edi
add eax, edx
sub ecx, dword [esp + ebx*4 + 0x64]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edi
jmp 0x446e5e
mov ecx, dword [esi + 0x7ad78]
mov edx, dword [esi + 0x7ad7c]
mov edi, dword [esi + 0x7ad74]
mov eax, dword [esp + ebx*4 + 0x40]
add eax, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
call fcn.0041f920
mov edi, dword [esi + 0x7ad84]
mov ebp, dword [esi + 0x7ad88]
sub ebp, dword [esi + 0x7ad78]
add ebp, dword [esi + 0x7ad80]
sub ebp, dword [esp + 0x24]
add ebp, dword [esp + 0x1c]
cmp ebx, 8
jne 0x446ec4
mov ecx, dword [esi + 0x7ad74]
mov edx, dword [esi + 0x7ad78]
mov eax, dword [esi + 0x7ad7c]
mov edi, dword [esi + 0x7ad84]
mov ebp, dword [esi + 0x7ad88]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x7ad80]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
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 0
push 0
push eax
mov eax, dword [esp + 0x48]
push ecx
push eax
lea ecx, [esp + 0xa8]
call fcn.004300d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x7ad8c]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, eax
push edx
mov edx, dword [esp + 0x28]
sub edx, ecx
push edx
push ebp
push edi
push eax
mov eax, dword [esi + 0x7ad6c]
push ecx
mov ecx, dword [esp + 0x44]
push eax
call fcn.004579d0
cmp ebx, 8
jne 0x446f46
push 0x301
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004597f0
jmp 0x446f54
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
call fcn.00457da0
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004464c0
push 0xa
lea ecx, [esp + 0x38]
call fcn.00461870
add ebx, 1
cmp ebx, 8
jle 0x446c80
mov byte [esp + 0x11c], 1
mov dword [esp + 0x14], vtable.FCRect.0
mov byte [esp + 0x11c], 0
mov dword [esp + 0x34], vtable.FCTickTimer.0
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [esp + 0x88]
call fcn.00402160
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8