Function at 0x43a31e
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
mov eax, 0x467486
call fcn.0045bc2c
sub esp, 0x648
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], 0x32
cmp dword [esi + 0x214], ebx
je 0x43a350
push 7
call fcn.0043fd0f
jmp 0x43ac30
cmp dword [esi + 0x270], 6
jne 0x43a371
lea eax, [esi + 0x1b4]
push eax
call fcn.00440234
test eax, eax
pop ecx
je 0x43a371
mov dword [ebp - 0x14], 0x28
cmp dword [esi + 0x270], ebx
je 0x43ac30
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edi, eax
sub eax, dword [esi + 0x2d0]
mov dword [ebp - 0x1c], edi
cmp eax, dword [ebp - 0x14]
jb 0x43ac30
mov ecx, dword [esi + 0x270]
cmp ecx, 9
je 0x43a3fd
cmp ecx, 0xb
je 0x43a3fd
xor edx, edx
xor ebx, ebx
div dword [ebp - 0x14]
test eax, eax
jbe 0x43a42f
mov eax, dword [esi + 0x270]
mov ecx, dword [esi + eax*4 + 0x290]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, 0x47e050
call fcn.0044fdc1
inc dword [esi + 0x144]
mov eax, dword [esi + 0x144]
cmp eax, dword [esi + 0x148]
jl 0x43a3e9
and dword [esi + 0x144], 0
mov eax, edi
xor edx, edx
sub eax, dword [esi + 0x2d0]
inc ebx
div dword [ebp - 0x14]
cmp ebx, eax
jb 0x43a3b2
jmp 0x43a42f
mov ecx, dword [esi + ecx*4 + 0x290]
mov eax, dword [ecx]
call dword [eax + 0x14]
inc dword [esi + 0x144]
mov ecx, dword [esi + 0x144]
cmp ecx, dword [esi + 0x148]
lea eax, [esi + 0x144]
jl 0x43a425
mov dword [eax], ebx
mov ecx, 0x47e050
call fcn.0044fdc1
mov eax, dword [esi + 0x270]
mov ecx, dword [esi + 0x284]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2 + 2]
mov ecx, edi
sub ecx, dword [esi + 0x2d0]
add dword [eax], ecx
cmp dword [esi + 0xca4], 0
jne 0x43a611
cmp dword [esi + 0xcb0], 1
jne 0x43a7af
mov edi, dword [esi + 0x104]
mov eax, dword [0x4a6218]
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 0x10], 0
cmp dword [edi + eax*4 + 0x619c0], 0
jle 0x43a52a
mov ebx, eax
shl ebx, 8
mov ecx, dword [ebp - 0x10]
add ecx, ebx
imul ecx, ecx, 0x3c
movzx edx, byte [ecx + edi + 0x3c1e9]
add ecx, edi
cmp edx, dword [edi + 0x61a14]
jne 0x43a511
movzx edx, byte [ecx + 0x3c1ea]
cmp edx, dword [edi + 0x61a18]
jne 0x43a511
movzx edx, byte [ecx + 0x3c1eb]
cmp edx, dword [edi + 0x61a1c]
jne 0x43a511
movzx ecx, byte [ecx + 0x3c1ec]
cmp ecx, dword [edi + 0x61a20]
jne 0x43a511
mov ebx, eax
mov eax, dword [ebp - 0x10]
shl ebx, 8
add eax, ebx
mov edi, dword [esi + 0x104]
imul eax, eax, 0x3c
add eax, edi
mov dword [ebp - 0x18], eax
call fcn.0045b832
mov ecx, dword [ebp - 0x18]
cdq
movzx ecx, byte [ecx + 0x3c1f0]
idiv ecx
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x3c1ee]
add edx, eax
mov eax, dword [0x4a6218]
mov dword [ebp - 0x18], edx
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [edi + eax*4 + 0x619c0]
jl 0x43a48c
cmp dword [ebp - 0x18], 0xffffffff
jne 0x43a531
mov dword [ebp - 0x18], 0xa35c
cmp dword [0x4749ec], 0
je 0x43a60e
xor edi, edi
mov dword [0x4749ec], edi
mov eax, dword [esi + 0x104]
push dword [eax + 0x61a20]
push dword [eax + 0x61a1c]
push dword [eax + 0x61a18]
push dword [eax + 0x61a14]
lea eax, [ebp - 0x54]
push str._d._d._d._d
push eax
call fcn.0045be9e
push 0x2c
call fcn.0045c040
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x43a59d
push 1
mov ecx, eax
push dword [esi + 0x254]
push dword [esi + 0x26c]
call fcn.004538d9
jmp 0x43a59f
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 1
pop ebx
mov dword [esi + 0x258], eax
mov dword [eax + 0x14], ebx
push dword [ebp - 0x18]
mov ecx, dword [esi + 0x258]
lea eax, [ebp - 0x54]
push eax
call fcn.00453b23
test eax, eax
jne 0x43a691
cmp dword [esi + 0x258], edi
je 0x43a5f1
mov ecx, dword [esi + 0x254]
call fcn.00453514
mov ecx, dword [esi + 0x258]
cmp ecx, edi
je 0x43a5eb
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [esi + 0x258], edi
mov ecx, dword [esi + 0xca8]
lea eax, [esi + 0xca8]
xor edx, edx
cmp ecx, edi
setne dl
dec edx
dec ecx
mov dword [esi + 0xca4], edx
mov dword [eax], ecx
mov edi, dword [ebp - 0x1c]
mov eax, edi
xor edx, edx
sub eax, dword [esi + 0x2d0]
div dword [ebp - 0x14]
lea eax, [ebp - 0x254]
push eax
sub edi, edx
mov dword [esi + 0x2d0], edi
call fcn.0045c708
lea eax, [ebp - 0x254]
push eax
call fcn.0045c6fd
mov edi, eax
lea eax, [ebp - 0x251]
push eax
imul edi, edi, 0x168
call fcn.0045c6fd
imul eax, eax, 0x3c
add edi, eax
lea eax, [ebp - 0x24e]
push eax
call fcn.0045c6fd
add esp, 0x10
add edi, eax
cmp dword [0x4749f0], 0
jne 0x43a81f
mov eax, dword [0x47e060]
lea ecx, [eax + 5]
cmp ecx, edi
jge 0x43a807
mov byte [0x47e065], 4
jmp 0x43a825
mov ecx, dword [esi + 0x258]
push 0
call fcn.00453643
mov ecx, dword [esi + 0x104]
lea eax, [ebp - 0x40]
push eax
call fcn.004569d9
mov ecx, dword [esi + 0x104]
lea eax, [ebp - 0x30]
push eax
call fcn.00456a08
mov ecx, dword [esi + 0x288]
push 0x1110
call fcn.00453f42
lea eax, [ebp - 0x154]
mov ebx, 0x4a6198
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0045a090
mov eax, dword [esi + 0x288]
lea ecx, [ebp - 0x154]
push 0x11
push ecx
mov ecx, dword [eax + 0x2800]
lea edi, [eax + 0x2800]
lea eax, [ecx + eax + 2]
push eax
call fcn.0045c050
add dword [edi], 0x11
push 0x80
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.0045bef0
lea eax, [ebp - 0x40]
push 0xc
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0045c050
lea eax, [ebp - 0x30]
push 0xc
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0045c050
add esp, 0x30
lea eax, [ebp - 0x154]
mov ecx, ebx
push 0x18
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0045a050
mov ebx, eax
mov eax, dword [esi + 0x288]
lea ecx, [ebp - 0x154]
push ebx
lea edi, [eax + 0x2800]
push ecx
mov ecx, dword [edi]
lea eax, [ecx + eax + 2]
push eax
call fcn.0045c050
add dword [edi], ebx
mov ecx, dword [esi + 0x288]
add esp, 0xc
push 0
push 1
call fcn.00453f71
mov dword [esi + 0xcac], 0x28
mov dword [esi + 0xcb0], 2
jmp 0x43a60e
dec dword [esi + 0xcac]
jne 0x43a611
xor ebx, ebx
cmp dword [esi + 0x258], ebx
je 0x43a7fb
mov ecx, dword [esi + 0x254]
call fcn.00453514
mov eax, dword [esi + 0x258]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x43a7e5
push ebx
push eax
call dword [sym.imp.kernel32.dll_TerminateThread]
mov ecx, dword [esi + 0x258]
cmp ecx, ebx
je 0x43a7f5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x258], ebx
or dword [esi + 0xca4], 0xffffffff
jmp 0x43a611
add eax, 2
cmp eax, edi
jge 0x43a816
inc byte [0x47e065]
jmp 0x43a825
and byte [0x47e065], 0
jmp 0x43a825
dec dword [0x4749f0]
mov al, byte [0x47e064]
mov dword [0x47e060], edi
test al, al
jne 0x43a856
mov ecx, dword [0x4749f4]
test ecx, ecx
jl 0x43a850
mov edx, edi
sub edx, ecx
cmp edx, 0x1e
jle 0x43a850
mov byte [0x47e065], 4
jmp 0x43a856
mov dword [0x4749f4], edi
inc al
push 0x1e
movzx eax, al
cdq
pop ecx
idiv ecx
mov byte [0x47e064], dl
mov eax, dword [esi + 0x270]
cmp eax, 0xf
je 0x43ab15
cmp dword [esi + 0x23c], 0
je 0x43ab15
mov ecx, dword [esi + eax*4 + 0x290]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [esi + 0x270]
cmp eax, 6
je 0x43a8d1
cmp eax, 0xc
je 0x43a8d1
cmp eax, 0xe
je 0x43a8d1
mov eax, dword [esi + 0x144]
push 0
push 0
push 0x2710
push 1
push 0xab
push 4
cdq
pop ecx
idiv ecx
mov ecx, dword [esi + 0xc20]
add eax, 0x384
push eax
call fcn.00442b99
push dword [esi + 0xc20]
mov ecx, dword [esi + 0xc64]
call fcn.004500ef
push dword [esi + 0xc20]
mov ecx, dword [esi + 0xc5c]
and dword [esi + 0x3e4], 0
lea ebx, [esi + 0xc5c]
lea edi, [esi + 0x3e4]
call fcn.004500ef
push dword [esi + 0xc20]
mov ecx, dword [ebx]
mov dword [edi], 1
call fcn.004500ef
push dword [esi + 0xc20]
mov ecx, dword [esi + 0xc60]
call fcn.004500ef
push dword [esi + 0xc20]
lea ecx, [esi + 0xc68]
call fcn.004500ef
cmp dword [0x47e070], 0
je 0x43a9e5
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edi, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
inc dword [0x47e084]
fild qword [ebp - 0x20]
fmul dword [0x468aac]
fld st(0)
fsub dword [0x47e080]
fcom dword [0x468aa8]
fnstsw ax
sahf
jbe 0x43a99e
mov eax, dword [0x47e084]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], eax
mov dword [0x47e084], edi
fild qword [ebp - 0x20]
fdiv st(1)
fstp dword [0x47e07c]
fstp st(0)
fstp dword [0x47e080]
jmp 0x43a9a2
fstp st(0)
fstp st(0)
fld dword [0x47e07c]
push ecx
push ecx
lea eax, [ebp - 0x654]
fstp qword [esp]
push str.Frame_rate_:__2.2f
push eax
call fcn.0045be9e
add esp, 0x10
mov ecx, dword [esi + 0xc20]
lea eax, [ebp - 0x654]
push edi
push edi
push 0xffff
push 0xff
push eax
push 0xa
push 0x14
call fcn.00442496
jmp 0x43a9e7
xor edi, edi
mov eax, dword [esi + 0x270]
cmp eax, 0xd
je 0x43aa0d
cmp eax, 0xc
je 0x43aa0d
cmp eax, 0xf
je 0x43aa0d
push dword [esi + 0xc20]
mov ecx, dword [esi + 0xc1c]
call fcn.00453806
lea eax, [ebp - 0x14]
lea ebx, [esi + 0xc34]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.004379a2
mov eax, dword [esi + 0x270]
cmp eax, 6
jne 0x43aaa7
mov ecx, dword [esi + 0x100]
cmp ecx, edi
je 0x43aaa7
push dword [ecx + 0x144]
call fcn.00440234
test eax, eax
mov eax, dword [esi + 0x100]
pop ecx
push dword [eax + 0x14c]
je 0x43aa88
call fcn.00440234
test eax, eax
pop ecx
je 0x43aa75
mov ecx, dword [esi + 0xc20]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00447da9
jmp 0x43ab07
push dword [ebp - 0x14]
mov ecx, dword [esi + 0xc20]
push dword [ebp - 0x10]
call fcn.0044633b
jmp 0x43ab07
call fcn.00440234
test eax, eax
pop ecx
je 0x43aadd
mov ecx, dword [esi + 0xc20]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00447061
jmp 0x43ab07
cmp eax, 0xc
je 0x43aac5
cmp eax, 0xd
je 0x43aac5
cmp eax, 0xf
je 0x43aac5
cmp eax, 0xe
je 0x43aac5
mov ecx, 0x47e050
call fcn.0044fc68
cmp dword [esi + 0x230], edi
jne 0x43aaf0
cmp dword [esi + 0x240], edi
jne 0x43aaf0
cmp dword [esi + 0x27c], edi
jne 0x43aaf0
push dword [ebp - 0x14]
mov ecx, dword [esi + 0xc20]
push dword [ebp - 0x10]
call fcn.00445616
jmp 0x43ab07
push dword [esi + 0x238]
mov ecx, dword [esi + 0xc20]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00448b0c
mov ecx, ebx
call fcn.00437a00
mov ecx, ebx
call fcn.004378d6
cmp dword [esi + 0x27c], 0
mov ebx, 0x100
je 0x43ab43
mov eax, dword [esi + 0x238]
lea ecx, [esi + 0x238]
shl eax, 1
cmp eax, ebx
mov dword [ecx], eax
jle 0x43ab43
push dword [esi + 0x26c]
call dword [sym.imp.user32.dll_DestroyWindow]
cmp dword [esi + 0x240], 0
je 0x43ab9b
and byte [0x47e064], 0
and byte [0x47e065], 0
mov eax, dword [esi + 0x238]
lea ecx, [esi + 0x238]
cdq
sub eax, edx
push 1
sar eax, 1
pop edi
mov dword [ecx], eax
cmp eax, edi
jg 0x43ab9e
mov dword [0x4749f0], 5
cmp dword [esi + 0x270], 9
mov dword [ecx], edi
jne 0x43ab92
mov eax, dword [esi + 0x2b4]
mov dword [eax + 4], edi
and dword [esi + 0x240], 0
jmp 0x43ab9e
push 1
pop edi
mov ecx, dword [esi + 0x268]
call fcn.00457964
test eax, eax
je 0x43abbe
cmp eax, 0xffffffff
je 0x43ac30
push dword [esi + 0x26c]
call dword [sym.imp.user32.dll_DestroyWindow]
cmp byte [0x47e065], 3
jbe 0x43abd3
push dword [esi + 0x26c]
call dword [sym.imp.user32.dll_DestroyWindow]
cmp dword [0x47e06c], 0
je 0x43abe8
push dword [esi + 0x26c]
call dword [sym.imp.user32.dll_DestroyWindow]
mov edx, dword [esi + 0x230]
test edx, edx
je 0x43ac30
mov ecx, dword [esi + 0x238]
lea eax, [esi + 0x238]
shl ecx, 1
cmp ecx, ebx
mov dword [eax], ecx
jg 0x43ac0f
cmp dword [esi + 0x270], 6
jne 0x43ac30
push edx
mov ecx, esi
mov dword [eax], ebx
mov dword [esi + 0x240], edi
call fcn.0043ac7f
and dword [esi + 0x230], 0
mov dword [0x4749f0], 5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret