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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4255bf
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x431074]
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
lea ecx, [ebp - 0x98]
mov edi, 3
xor ebx, ebx
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004104c0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
push 0x10
push str.jcidTestDown.png
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00403030
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x90]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_310]
lea ecx, [ebp - 0x80]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
call fcn.0040dd70
add esp, 4
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x414466
mov eax, dword [eax]
push dword [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push str._sjcff_s
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
mov edx, dword [ebp - 0x5c]
add esp, 0x10
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x4144b9
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4144af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4144af
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00421e33
add esp, 8
push ecx
xorps xmm0, xmm0
mov ecx, esp
push str.TestSpeed0
movsd qword [ebp - 0x88], xmm0
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00413040
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
test eax, eax
jg 0x4145cf
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 9
call fcn.004104c0
mov byte [ebp - 4], 0xa
call esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x8c], esp
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esp
push eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
call fcn.00410f40
test eax, eax
jne 0x4145b7
call esi
sub eax, dword [ebp - 0x74]
je 0x4145b7
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
movsd xmm0, qword [ebp - 0x88]
addsd xmm1, qword [eax*8 + 0x42b840]
mulsd xmm0, qword [0x429040]
divsd xmm1, qword [0x429060]
divsd xmm0, xmm1
cvttsd2si eax, xmm0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x74], eax
push str.TestSpeed0
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00413960
mov eax, dword [ebp - 0x74]
add esp, 8
test eax, eax
jle 0x4145b7
mov ebx, eax
xor edi, edi
lea ecx, [ebp - 0xd8]
call fcn.00410510
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push ecx
mov ecx, esp
push str.TestSpeed2
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00413040
add esp, 4
test eax, eax
jg 0x4146d6
call esi
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xc
call fcn.004104c0
mov byte [ebp - 4], 0xd
call esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], esp
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esp
push eax
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 2
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
call fcn.00410f40
test eax, eax
jne 0x4146be
call esi
sub eax, dword [ebp - 0x74]
je 0x4146be
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
movsd xmm0, qword [ebp - 0x88]
addsd xmm1, qword [eax*8 + 0x42b840]
mulsd xmm0, qword [0x429040]
divsd xmm1, qword [0x429060]
divsd xmm0, xmm1
cvttsd2si eax, xmm0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x74], eax
push str.TestSpeed2
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00413960
mov eax, dword [ebp - 0x74]
add esp, 8
cmp eax, ebx
jle 0x4146be
mov ebx, eax
mov edi, 2
lea ecx, [ebp - 0xd8]
call fcn.00410510
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push ecx
mov ecx, esp
push str.TestSpeed1
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00413040
add esp, 4
test eax, eax
jg 0x4147db
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
call fcn.004104c0
mov byte [ebp - 4], 0x10
call esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], esp
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esp
push eax
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 1
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
call fcn.00410f40
test eax, eax
jne 0x4147c3
call esi
sub eax, dword [ebp - 0x74]
je 0x4147c3
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
movsd xmm0, qword [ebp - 0x88]
addsd xmm1, qword [eax*8 + 0x42b840]
mulsd xmm0, qword [0x429040]
divsd xmm1, qword [0x429060]
divsd xmm0, xmm1
cvttsd2si eax, xmm0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x74], eax
push str.TestSpeed1
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00413960
mov eax, dword [ebp - 0x74]
add esp, 8
cmp eax, ebx
jle 0x4147c3
mov ebx, eax
mov edi, 1
lea ecx, [ebp - 0xd8]
call fcn.00410510
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push ecx
mov ecx, esp
push str.TestSpeed3
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00413040
add esp, 4
test eax, eax
jg 0x4148d5
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x12
call fcn.004104c0
mov byte [ebp - 4], 0x13
call esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], esp
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esp
push eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 3
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x13
call fcn.00410f40
test eax, eax
jne 0x4148c1
call esi
sub eax, dword [ebp - 0x74]
je 0x4148c1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
movsd xmm0, qword [ebp - 0x88]
addsd xmm1, qword [eax*8 + 0x42b840]
mulsd xmm0, qword [0x429040]
divsd xmm1, qword [0x429060]
divsd xmm0, xmm1
cvttsd2si esi, xmm0
push esi
push ecx
mov ecx, esp
push str.TestSpeed3
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00413960
add esp, 8
mov eax, 3
cmp esi, ebx
cmovg edi, eax
lea ecx, [ebp - 0xd8]
call fcn.00410510
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x80]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x414920
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414916
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414916
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00421e33
add esp, 8
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00410510
lea ecx, [ebp - 0x94]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, edi
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.00421e64
mov esp, ebp
pop ebp
ret 4