Function at 0x419dd0
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 0x5de814
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x268
mov eax, dword [0x663000]
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.0041ca00
cmp dword [eax + 4], 3
jl 0x41a487
cmp dword [esi + 0x54], 8
lea eax, [esi + 0x40]
mov dword [ebp - 0xc8], eax
jb 0x419e48
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
call fcn.0041ca00
push ecx
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0xc4], eax
call fcn.00415de0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
push str.TRACE
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00415110
xor edx, edx
mov dword [ebp - 0x44], 0
mov edi, 7
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 0x30], edi
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0xc4]
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [eax + 0xc], esi
jle 0x419f24
cmp esi, 0xa
jge 0x419f24
mov eax, edi
lea ecx, [ebp - 0x44]
sub eax, edx
cmp eax, 2
jb 0x419ef5
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x34], eax
cmovae ecx, dword [ebp - 0x44]
mov eax, dword [0x6315a0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x419f10
push 2
push 0x6315a0
mov byte [ebp - 0xc0], 0
push dword [ebp - 0xc0]
push 2
call fcn.0041d780
mov eax, dword [ebp - 0xc4]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x419f24
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
jmp 0x419ec6
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 4
call fcn.005bb7bb
lea eax, [ebp - 0x2c]
push 0xb
push eax
call fcn.005bb8c6
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
push eax
call fcn.00415110
push ecx
lea ecx, [ebp - 0x278]
call fcn.00415de0
mov esi, dword [ebp - 0xc4]
mov byte [ebp - 4], 5
cmp dword [esi + 0x10], 0
jne 0x419fa7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x268]
mov dword [esi + 0x10], eax
call fcn.00410290
jmp 0x419fd7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x268]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6376f0]
divsd xmm1, qword [0x637690]
call fcn.0041d1a0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x260]
call fcn.00416850
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x41a027
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a01d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a4e0
push ecx
push edx
call fcn.005af9e7
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.00415cc0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x2040
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.005b1d32
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.00413940
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0xe0]
push 0x10
push eax
call fcn.005b1d32
mov edx, 0x6311e0
mov ecx, esi
mov edi, eax
call fcn.00413680
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.005b1d60
add esp, 0x1c
mov edx, eax
mov ecx, esi
call fcn.0041d750
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.005b1d46
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0041d750
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae edx, dword [ebp - 0x5c]
mov ecx, eax
call fcn.00413940
add esp, 4
push 0
mov edi, eax
lea eax, [ebp - 0x118]
push 5
push eax
call fcn.005b1d60
add esp, 0xc
mov edx, 0x6311e0
mov ecx, edi
mov esi, eax
call fcn.00413680
mov edx, esi
mov ecx, eax
call fcn.0041d750
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.005b1d32
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.00413940
add esp, 0x14
mov edx, 0x6315e0
mov ecx, eax
call fcn.00413680
mov edx, dword [ebp - 0xc0]
mov ecx, eax
call fcn.00413680
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66d948]
cmp eax, dword [ecx + 4]
jg 0x41a4e5
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00416850
mov byte [ebp - 4], 7
mov ecx, dword [0x663aec]
cmp ecx, 8
jb 0x41a252
mov edx, dword [0x663ad8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a248
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a53c
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0xbc]
xor eax, eax
mov word [ebp - 0xbc], ax
movups xmmword [0x663ad8], xmm0
movq xmm0, qword [ebp - 0xac]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
movq qword [0x663ae8], xmm0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
cmp ecx, 8
jb 0x41a2cb
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a2c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a53c
push ecx
push edx
call fcn.005af9e7
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 0x41a31d
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a313
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a53c
push ecx
push edx
call fcn.005af9e7
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 0x41a36f
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a365
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a53c
push ecx
push edx
call fcn.005af9e7
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 0x41a3c3
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a3b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a53c
push ecx
push edx
call fcn.005af9e7
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.00415cc0
call fcn.0041ca00
cmp dword [0x663aec], 8
mov edx, 0x663ad8
push dword [0x663ae8]
cmovae edx, dword [0x663ad8]
mov ecx, eax
call fcn.00413940
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0xcc]
add eax, 8
mov ecx, eax
mov dword [ebp - 0xc0], eax
call fcn.0041dc70
mov edx, str.Adding_value:
mov ecx, esi
mov edi, eax
call fcn.00413680
mov edx, dword [ebp - 0xc8]
mov ecx, eax
call fcn.00413680
mov edx, str._to
mov ecx, eax
call fcn.00413680
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x41a45d
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00413940
add esp, 4
push eax
call fcn.00414970
mov esi, dword [ebp - 0xcc]
add esp, 4
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xd0]
jmp 0x41a48a
lea eax, [esi + 8]
push eax
mov ecx, edi
call fcn.004199d0
push esi
test al, al
je 0x41a4a0
mov ecx, edi
call fcn.00419c60
jmp 0x41a4be
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
je 0x41a4b5
mov ecx, eax
call fcn.0041d940
add dword [edi + 8], 0x58
jmp 0x41a4be
push eax
lea ecx, [edi + 4]
call fcn.0041c360
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.005af765
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.005b681f
push 0x66d948
call fcn.005afb28
add esp, 4
cmp dword [0x66d948], 0xffffffff
jne 0x41a1fc
push 0x5f3ee0
mov dword [0x663ad8], 0
mov dword [0x663ae8], 0
mov dword [0x663aec], 7
call fcn.005af9af
add esp, 4
push 0x66d948
call fcn.005afade
add esp, 4
jmp 0x41a1fc
call fcn.005b681f
int3