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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0074
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x268
mov eax, dword [0x660ff8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xd0], edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xcc], esi
call fcn.0041c750
cmp dword [eax + 4], 3
jl 0x41a04c
cmp dword [esi + 0x54], 8
lea eax, [esi + 0x40]
mov dword [ebp - 0xc8], eax
jb 0x419a18
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
call fcn.0041c750
push ecx
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0xc4], eax
call fcn.004156b0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
push str.TRACE
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00414980
xorps xmm0, xmm0
xor edx, edx
mov edi, 7
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 0x30], edi
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0xc4]
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [eax + 0xc], esi
jle 0x419af4
cmp esi, 0xa
jge 0x419af4
mov eax, edi
lea ecx, [ebp - 0x44]
sub eax, edx
cmp eax, 2
jb 0x419ac5
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x34], eax
cmovae ecx, dword [ebp - 0x44]
mov eax, dword [0x62f6e0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x419ae0
push 2
push 0x62f6e0
mov byte [ebp - 0xc0], 0
push dword [ebp - 0xc0]
push 2
call fcn.0041d540
mov eax, dword [ebp - 0xc4]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x419af4
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
jmp 0x419a96
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
xor eax, eax
mov dword [ebp - 0x60], 7
movups xmmword [ebp - 0x74], xmm0
mov word [ebp - 0x74], ax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 4
call fcn.005be42d
lea eax, [ebp - 0x2c]
push 0xb
push eax
call fcn.005be553
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
push eax
call fcn.00414980
push ecx
lea ecx, [ebp - 0x278]
call fcn.004156b0
mov esi, dword [ebp - 0xc4]
mov byte [ebp - 4], 5
cmp dword [esi + 0x10], 0
jne 0x419b78
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x268]
mov dword [esi + 0x10], eax
call fcn.0040fc40
jmp 0x419ba8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x268]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6359f0]
divsd xmm1, qword [0x635968]
call fcn.0041cf00
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x260]
call fcn.00416140
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x419bf8
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419bee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a0a5
push ecx
push edx
call fcn.005b0fc9
add esp, 8
movups xmm0, xmmword [ebp - 0xa4]
xor eax, eax
lea ecx, [ebp - 0x278]
mov word [ebp - 0xa4], ax
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [ebp - 0x94]
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov byte [ebp - 4], 4
call fcn.00415590
lea eax, [ebp - 0xd8]
push 0x10
push eax
call fcn.005b3392
mov edi, eax
lea eax, [ebp - 0xe0]
push 0x2040
push eax
call fcn.005b3392
mov ecx, dword [ebp - 0x1b8]
lea edx, [ebp - 0x1b8]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
cmp dword [ebp - 0x60], 8
lea edx, [ebp - 0x74]
push dword [ebp - 0x64]
cmovae edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x1b8]
call fcn.00413170
add esp, 0x1c
mov edx, 0x62f31c
mov ecx, eax
call fcn.00412eb0
push dword [edi + 4]
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
mov ecx, dword [edi]
call ecx
push 0
lea eax, [ebp - 0xf8]
push 6
push eax
call fcn.005b33c0
add esp, 0x14
mov edx, eax
mov ecx, esi
call fcn.0041d510
mov esi, eax
mov eax, 0x30
push 0
push 3
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0x108]
push eax
call fcn.005b33a6
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0041d510
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae edx, dword [ebp - 0x5c]
mov ecx, eax
call fcn.00413170
add esp, 4
mov edi, eax
lea eax, [ebp - 0x118]
push 0
push 5
push eax
call fcn.005b33c0
add esp, 0xc
mov edx, 0x62f31c
mov ecx, edi
mov esi, eax
call fcn.00412eb0
mov edx, esi
mov ecx, eax
call fcn.0041d510
mov esi, eax
mov eax, 0x20
push 0x40
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0xe8]
push eax
call fcn.005b3392
mov ecx, dword [esi]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
cmp dword [ebp - 0x78], 8
lea edx, [ebp - 0x8c]
push dword [ebp - 0x7c]
cmovae edx, dword [ebp - 0x8c]
mov ecx, esi
call fcn.00413170
add esp, 0x14
lea esi, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov edx, 0x62f720
mov ecx, eax
cmovae esi, dword [ebp - 0x44]
call fcn.00412eb0
mov edx, esi
mov ecx, eax
call fcn.00412eb0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66b940]
cmp eax, dword [ecx + 4]
jg 0x41a0aa
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00416140
mov byte [ebp - 4], 7
mov ecx, dword [0x661acc]
cmp ecx, 8
jb 0x419e17
mov edx, dword [0x661ab8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419e0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a109
push ecx
push edx
call fcn.005b0fc9
add esp, 8
movups xmm0, xmmword [ebp - 0xbc]
xor eax, eax
mov word [ebp - 0xbc], ax
movups xmmword [0x661ab8], xmm0
movq xmm0, qword [ebp - 0xac]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
movq qword [0x661ac8], xmm0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
cmp ecx, 8
jb 0x419e90
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419e86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a109
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 8
jb 0x419ee2
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419ed8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a109
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp ecx, 8
jb 0x419f34
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419f2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a109
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 8
jb 0x419f88
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419f7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a109
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00415590
call fcn.0041c750
cmp dword [0x661acc], 8
mov edx, 0x661ab8
push dword [0x661ac8]
cmovae edx, dword [0x661ab8]
mov ecx, eax
call fcn.00413170
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0xcc]
add eax, 8
mov ecx, eax
mov dword [ebp - 0xc0], eax
call fcn.0041da30
mov edx, str.Adding_value:
mov ecx, esi
mov edi, eax
call fcn.00412eb0
mov edx, dword [ebp - 0xc8]
mov ecx, eax
call fcn.00412eb0
mov edx, str._to
mov ecx, eax
call fcn.00412eb0
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x41a022
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00413170
add esp, 4
push eax
call fcn.004141e0
mov esi, dword [ebp - 0xcc]
add esp, 4
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xd0]
jmp 0x41a04f
lea eax, [esi + 8]
push eax
mov ecx, edi
call fcn.004195a0
push esi
test al, al
je 0x41a065
mov ecx, edi
call fcn.00419830
jmp 0x41a083
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
je 0x41a07a
mov ecx, eax
call fcn.0041d700
add dword [edi + 8], 0x58
jmp 0x41a083
push eax
lea ecx, [edi + 4]
call fcn.0041c100
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b0d47
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.005b7faf
push 0x66b940
call fcn.005b1053
add esp, 4
cmp dword [0x66b940], 0xffffffff
jne 0x419dc1
xorps xmm0, xmm0
mov dword [0x661ac8], 0
xor eax, eax
mov dword [0x661acc], 7
movups xmmword [0x661ab8], xmm0
push 0x5f5930
mov word [0x661ab8], ax
call fcn.005b0f91
add esp, 4
push 0x66b940
call fcn.005b1002
add esp, 4
jmp 0x419dc1
call fcn.005b7faf
int3