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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
movzx ecx, word [edi]
test cx, cx
je 0x6d3caab8
lea eax, [ecx - 1]
cmp ax, 0x11
ja 0x6d3ca998
mov eax, 1
shl eax, cl
test eax, 0x30180
jne 0x6d3ca9a8
test al, 0x5a
jne 0x6d3caa80
test eax, 0x40200
je 0x6d3ca998
movzx eax, word [ebx + 4]
test ax, ax
jne 0x6d3cab70
lea esi, [esi]
mov byte [ebx + 6], 1
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [edi + 8], 1
je 0x6d3cab30
mov ecx, dword [ebx]
pxor xmm3, xmm3
pxor xmm2, xmm2
pxor xmm4, xmm4
movzx eax, word [edi + 0x1c]
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0x10]
lea edx, [eax + ecx]
cvtsi2ss xmm3, eax
cmp edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
mulss xmm1, xmm3
setae dl
divss xmm1, dword [0x6d3ec4d8]
mulss xmm1, dword [0x6d3ec4dc]
sub eax, ecx
movzx ecx, ax
shr eax, 0x10
cvtsi2ss xmm2, eax
mulss xmm2, dword [0x6d3ec4a0]
cvtsi2ss xmm4, ecx
addss xmm1, xmm0
addss xmm2, xmm4
subss xmm1, xmm0
divss xmm2, xmm3
comiss xmm2, dword [0x6d3ec4bc]
ja 0x6d3caa27
mulss xmm1, xmm2
addss xmm0, xmm1
movss dword [ebx + 8], xmm0
movzx eax, word [edi]
cmp ax, 7
je 0x6d3cac00
cmp ax, 0x10
je 0x6d3cac00
movss dword [esi + 0x1c], xmm0
test dl, dl
jne 0x6d3ca99c
movzx eax, word [ebx + 4]
test ax, ax
je 0x6d3ca998
cmp ax, 0xff
je 0x6d3caa74
cmp ax, 0xffff
je 0x6d3caa74
sub eax, 1
mov word [ebx + 4], ax
movzx eax, word [edi + 0xc]
add dword [ebx], eax
jmp 0x6d3ca99c
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], 0
mov edx, dword [esi + 0x44]
mov dword [esi + 0x24], edi
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x28], edi
mov edi, dword [esi + 0x40]
mov dword [esi + 0x2c], edi
mov dword [esp], ecx
call fcn.6d3c7770
jmp 0x6d3ca998
movzx eax, byte [edi + 8]
mov edx, eax
and edx, 1
test al, 2
je 0x6d3cab90
test dl, dl
jne 0x6d3cac10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov ecx, dword [edx]
movzx eax, word [edx + 0xa]
mov esi, dword [ecx + 0x28]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
movzx esi, word [eax + 0x10]
test si, si
jne 0x6d3caca5
mov esi, dword [edx + 0x34]
test esi, esi
je 0x6d3cac10
mov eax, dword [ebp + 8]
test si, si
je 0x6d3cad10
mov byte [eax + 0x22], 3
call sub.kernel32.dll_GetTickCount
mov edi, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x24]
mov word [edi + 0x20], si
or dword [eax + 0x24], 0x10
jmp 0x6d3ca998
movzx edx, byte [edi + 0x10]
test dl, 4
je 0x6d3cacbd
movss xmm0, dword [edi + 0x14]
and edx, 1
je 0x6d3caa2b
movzx eax, word [edi]
cmp ax, 7
je 0x6d3cacb1
cmp ax, 0x10
je 0x6d3cacb1
addss xmm0, dword [esi + 0x1c]
xor edx, edx
jmp 0x6d3caa2b
cmp ax, 0xff
je 0x6d3cab7d
sub eax, 1
mov word [ebx + 4], ax
movzx eax, word [edi + 0xe]
add dword [ebx], eax
jmp 0x6d3ca99c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x6d3caba6
movzx edx, dl
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6d3c77d0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x6d3cabbc
mov dword [esp], eax
call fcn.6d3c7750
mov dword [esi + 0x34], 0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x14], 0
je 0x6d3ca998
xor eax, eax
lea esi, [esi]
nop
mov ecx, dword [esi]
lea edx, [eax + eax*2]
xor edi, edi
add eax, 1
shl edx, 2
mov word [ecx + edx + 4], di
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov byte [ecx + edx + 6], 1
cmp al, byte [edi + 0x14]
jb 0x6d3cabd0
jmp 0x6d3ca998
movss dword [esi + 0x18], xmm0
jmp 0x6d3caa4c
mov eax, dword [ebp + 8]
xor edi, edi
mov eax, dword [eax]
cmp byte [eax + 0xb], 0
je 0x6d3ca998
mov dword [ebp + 0x18], ebx
lea esi, [esi]
mov esi, dword [ebp + 8]
lea ebx, [edi + edi*4]
shl ebx, 4
add ebx, dword [esi + 4]
imul esi, edi, 0x1c
add esi, dword [eax + 0x10]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x6d3cac51
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.6d3c77d0
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x6d3cac67
mov dword [esp], eax
call fcn.6d3c7750
mov dword [ebx + 0x34], 0
xor eax, eax
cmp byte [esi + 0x14], 0
je 0x6d3cac8e
nop
mov ecx, dword [ebx]
lea edx, [eax + eax*2]
add eax, 1
shl edx, 2
mov word [ecx + edx + 4], 0
mov ecx, dword [ebx]
mov byte [ecx + edx + 6], 1
cmp al, byte [esi + 0x14]
jb 0x6d3cac70
mov eax, dword [ebp + 8]
add edi, 1
mov ebx, edi
mov eax, dword [eax]
cmp bl, byte [eax + 0xb]
jb 0x6d3cac28
mov ebx, dword [ebp + 0x18]
jmp 0x6d3ca998
mov eax, dword [ebp + 8]
mov byte [eax + 0x22], 2
jmp 0x6d3cab0e
addss xmm0, dword [esi + 0x18]
xor edx, edx
jmp 0x6d3caa2b
pxor xmm0, xmm0
test dl, 8
je 0x6d3cab42
movss xmm7, dword [edi + 0x14]
call fcn.6d3c8ad0
pxor xmm1, xmm1
movss xmm0, dword [edi + 0x18]
add eax, 0x80000000
subss xmm0, dword [edi + 0x14]
cvtsi2sd xmm1, eax
movzx edx, byte [edi + 0x10]
addsd xmm1, qword [0x6d3ec490]
mulsd xmm1, qword [0x6d3ec498]
cvtsd2ss xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, xmm7
jmp 0x6d3cab42
mov dword [esp], eax
call fcn.6d3c94c0
jmp 0x6d3ca998