Function at 0x43f640
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578490
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x43f691
xor ecx, ecx
jmp 0x43f69f
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f696
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00409e80
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test eax, eax
je 0x43fb8b
xor edi, edi
lea ecx, [ecx]
cmp edi, eax
jae 0x43fb8b
push 1
push edi
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x7c], 0xfa
push eax
lea ecx, [ebp - 0x28]
call fcn.00421f80
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
js 0x43fb8b
push 2
lea ecx, [edi + 1]
push ecx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042bfc0
push edi
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0042bfc0
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
mov ebx, eax
add esp, 4
cmp ebx, 0x45
ja 0x43f875
push ebx
mov ecx, 0x6cb060
call fcn.00439810
cmp dword [eax + 8], 1
jle 0x43fac3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x147c]
je 0x43f794
mov edi, dword [esi + 0x1478]
mov ecx, 0x6cb060
push ebx
call fcn.00439810
imul eax, dword [eax + 8], 0x32
sub eax, 5
cmp edi, eax
jb 0x43f77f
mov dword [esi + 0x1478], 0
jmp 0x43f794
lea eax, [edi + 5]
mov dword [esi + 0x1478], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x147c], eax
mov eax, 0x51eb851f
mov ecx, 0x6cb060
mul dword [esi + 0x1478]
mov eax, dword [ebp - 0x80]
mov esi, edx
add eax, 0x11f8
shr esi, 4
mov edi, esi
shl edi, 5
add eax, edi
push ebx
mov dword [ebp - 0x88], eax
call fcn.00439810
add eax, 0xc
shl esi, 4
add eax, esi
mov ecx, 0x6cb060
push eax
push dword [ebp - 0x88]
push ebx
call fcn.00439810
mov ecx, 0x6cb060
mov eax, dword [eax + 4]
push eax
call fcn.00439930
mov esi, dword [ebp - 0x80]
cmp dword [edi + esi + 0x11fc], 0
je 0x43f86f
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
lea eax, [eax + eax*2]
add eax, eax
subss xmm0, dword [0x5873bc]
movss dword [ebp - 0x94], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x584b30]
lea eax, [ebp - 0x98]
push eax
push ecx
mov dword [esp], 0
lea ecx, [esi + 0x11f8]
cvtpd2ps xmm1, xmm0
add ecx, edi
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x584b24]
addss xmm1, xmm0
movss dword [ebp - 0x98], xmm1
call fcn.0042f500
mov edi, dword [ebp - 0x84]
cmp ebx, 0xffffffff
jne 0x43f920
lea ecx, [ebp - 0x60]
call fcn.0042f4b0
push 8
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
push 0x1d
mov ecx, 0x6cb060
call fcn.00439980
movd xmm0, dword [ebp + 0xc]
movzx eax, word [esi + 0x1c]
cvtdq2ps xmm0, xmm0
push ebx
movzx eax, word [eax*4 + 0x6ca974]
imul eax, dword [ebp - 0x30]
subss xmm0, dword [0x585224]
movss dword [ebp - 0x8c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x584b30]
lea eax, [ebp - 0x90]
push eax
push ecx
mov dword [esp], 0
lea ecx, [ebp - 0x60]
cvtpd2ps xmm1, xmm0
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5873c0]
addss xmm1, xmm0
movss dword [ebp - 0x90], xmm1
call fcn.0042f500
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0042f4c0
cmp ebx, 0xfffffffe
jne 0x43f9cc
lea ecx, [ebp - 0x60]
call fcn.0042f4b0
push 8
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push eax
push 0x1e
mov ecx, 0x6cb060
call fcn.00439980
movd xmm0, dword [ebp + 0xc]
movzx eax, word [esi + 0x1c]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
movzx eax, word [eax*4 + 0x6ca974]
imul eax, dword [ebp - 0x30]
subss xmm0, dword [0x585224]
movss dword [ebp - 0x9c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x584b30]
lea eax, [ebp - 0xa0]
push eax
push ecx
mov dword [esp], 0
lea ecx, [ebp - 0x60]
cvtpd2ps xmm1, xmm0
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5873c0]
addss xmm1, xmm0
movss dword [ebp - 0xa0], xmm1
call fcn.0042f500
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0042f4c0
cmp ebx, 0xfffffffd
jne 0x43fa78
lea ecx, [ebp - 0x60]
call fcn.0042f4b0
push 8
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
push 0x1f
mov ecx, 0x6cb060
call fcn.00439980
movd xmm0, dword [ebp + 0xc]
movzx eax, word [esi + 0x1c]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
movzx eax, word [eax*4 + 0x6ca974]
imul eax, dword [ebp - 0x30]
subss xmm0, dword [0x585224]
movss dword [ebp - 0xac], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x584b30]
lea eax, [ebp - 0xb0]
push eax
push ecx
mov dword [esp], 0
lea ecx, [ebp - 0x60]
cvtpd2ps xmm1, xmm0
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5873c0]
addss xmm1, xmm0
movss dword [ebp - 0xb0], xmm1
call fcn.0042f500
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0042f4c0
add edi, 2
cmp dword [ebp - 0x2c], 0x10
jb 0x43fa8c
push dword [ebp - 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x64], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
jb 0x43fab3
push dword [ebp - 0x78]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test edi, edi
js 0x43fb8b
mov eax, dword [ebp - 0x18]
jmp 0x43f6c0
push ebx
mov ecx, 0x6cb060
call fcn.00439810
test eax, eax
je 0x43f875
push ebx
mov ecx, 0x6cb060
call fcn.00439810
add eax, 0xc
mov ecx, 0x6cb060
push eax
lea eax, [esi + 0x11f8]
push eax
push ebx
call fcn.00439810
mov ecx, 0x6cb060
mov eax, dword [eax + 4]
push eax
call fcn.00439930
cmp dword [esi + 0x11fc], 0
je 0x43f875
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
lea eax, [eax + eax*2]
add eax, eax
subss xmm0, dword [0x5873bc]
movss dword [ebp - 0xa4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x584b30]
lea eax, [ebp - 0xa8]
push eax
push ecx
mov dword [esp], 0
lea ecx, [esi + 0x11f8]
cvtpd2ps xmm1, xmm0
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x584b24]
addss xmm1, xmm0
movss dword [ebp - 0xa8], xmm1
call fcn.0042f500
jmp 0x43f875
cmp dword [ebp - 0x14], 0x10
jb 0x43fb9c
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 0xc