Function at 0x1006a6a0
Capabilities:
Authenticate hmac
Check for time delay via gettickcount
Log keystrokes via polling

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
sub esp, 0x120
mov eax, dword [0x101b11c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101fbebd], 0
push esi
push edi
je 0x1006c214
cmp byte [0x101f7d38], 1
xorps xmm0, xmm0
mov eax, dword [0x1032a2f8]
jne 0x1006a70d
test eax, eax
je 0x1006a711
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x101a27a0]
subss xmm0, dword [0x101a36a8]
test eax, eax
jne 0x1006a716
call fcn.100b7e00
cmp byte [0x101f7d39], 1
jne 0x1006a780
addss xmm0, xmm0
movss dword [ebp - 0xec], xmm0
addss xmm0, dword [0x101a37d0]
cvttss2si eax, xmm0
mov dword [0x101f7d24], eax
call fcn.1007c570
cmp al, 1
jne 0x1006a75e
movss xmm0, dword [ebp - 0xec]
addss xmm0, dword [0x101a3634]
cvttss2si eax, xmm0
mov dword [0x101f7d24], eax
call fcn.1007c690
cmp al, 1
jne 0x1006a780
movss xmm0, dword [ebp - 0xec]
addss xmm0, dword [0x101a33b4]
cvttss2si eax, xmm0
mov dword [0x101f7d24], eax
cmp byte [0x101f7d3a], 1
jne 0x1006a95b
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1006a944
mov esi, dword [0x101f7d24]
movd xmm2, dword [0x879340c]
mov edi, dword [0x101f7d28]
mov edx, dword [0x101f7d2c]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
movd xmm0, edi
comiss xmm1, xmm2
movd xmm3, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
ja 0x1006a829
addss xmm1, xmm3
comiss xmm2, xmm1
ja 0x1006a829
movd xmm1, dword [0x8793410]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1006a829
addss xmm0, dword [0x101a32f8]
comiss xmm1, xmm0
ja 0x1006a829
mov cl, byte [0x101f7c64]
test cl, cl
jne 0x1006a837
mov cl, 1
mov byte [0x101f7c64], cl
movzx eax, word [0x879340c]
mov word [0x101f7c66], ax
movzx eax, word [0x8793410]
mov word [0x101f7c68], ax
jmp 0x1006a82f
mov cl, byte [0x101f7c64]
test cl, cl
je 0x1006a95b
cmp byte [0x101f7d39], 0
jne 0x1006a95b
cmp dword [0xe61e58], 0x550
jl 0x1006a868
cmp dword [0x1032a2f8], 0
je 0x1006a868
lea eax, [edx + 0x2c1]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
jmp 0x1006a870
movss xmm2, dword [0x101a3804]
cmp dword [0x101f7d34], 2
je 0x1006a8c5
mov ecx, dword [0x101f7d30]
cmp ecx, 0xb4
jge 0x1006a893
lea eax, [ecx + ecx]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x1006a8cd
cmp ecx, 0x190
jle 0x1006a8b3
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
divss xmm0, dword [0x101a2920]
subss xmm1, xmm0
jmp 0x1006a8cd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
jmp 0x1006a8cd
movss xmm1, dword [0x101a34ec]
movsx eax, word [0x101f7c66]
mov ecx, 1
sub esi, eax
movsx eax, word [0x101f7c68]
add esi, dword [0x879340c]
sub edi, eax
mov dword [0x101f7d24], esi
add edi, dword [0x8793410]
cmp esi, ecx
cmovl esi, ecx
cmp edi, ecx
cmovl edi, ecx
movd xmm0, esi
cvtdq2ps xmm0, xmm0
minss xmm2, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm2
minss xmm1, xmm0
mov dword [0x101f7d24], eax
cvttss2si eax, xmm1
mov dword [0x101f7d28], eax
movzx eax, word [0x879340c]
mov word [0x101f7c66], ax
movzx eax, word [0x8793410]
mov word [0x101f7c68], ax
jmp 0x1006a95b
cmp byte [0x101f7c64], 0
je 0x1006a95b
mov byte [0x101f7c64], 0
mov byte [0x101f7d39], 0
push 1
mov eax, 0x635fd0
call eax
mov eax, dword [0x101f7d34]
add esp, 4
mov esi, 0x790b50
sub eax, 0
je 0x1006aca1
sub eax, 2
je 0x1006ab73
movd xmm0, dword [0x101f7d30]
cvtdq2ps xmm0, xmm0
sub eax, 1
je 0x1006ab38
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movd xmm0, dword [0x101f7d28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], 0x433e0000
movss dword [esp + 4], xmm0
movd xmm0, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7a5a
call esi
movd xmm0, dword [0x101f7d30]
add esp, 4
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, dword [0x101f7d28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], 0x433e0000
movss dword [esp + 4], xmm0
movd xmm0, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7a7a
call esi
movd xmm0, dword [0x101f7d30]
add esp, 4
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x101a3394]
subss xmm0, dword [0x101a3348]
movss dword [esp + 0xc], xmm0
movd xmm0, dword [0x101f7d28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], 0x41a80000
addss xmm0, dword [0x101a3394]
movss dword [esp + 4], xmm0
movd xmm0, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7a7b
call esi
movd xmm0, dword [0x101f7d30]
add esp, 4
cvtdq2ps xmm0, xmm0
movd xmm1, dword [0x101f7d2c]
subss xmm0, dword [0x101a3394]
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x101a3348]
movss dword [esp + 0xc], xmm0
movd xmm0, dword [0x101f7d28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], 0x41a80000
addss xmm0, dword [0x101a3394]
movss dword [esp + 4], xmm0
movd xmm0, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
subss xmm1, dword [0x101a32c4]
movss dword [esp], xmm1
push 0x7a7c
call esi
movd xmm1, dword [0x101f7d28]
add esp, 4
movd xmm0, dword [0x101f7d30]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x42340000
mov dword [esp + 8], 0x433e0000
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
movd xmm0, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
subss xmm1, dword [0x101a3348]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0x7a7d
jmp 0x1006acec
movd xmm3, dword [0x101f7d2c]
sub esp, 0xc
movd xmm2, dword [0x101f7d28]
movd xmm1, dword [0x101f7d24]
cvtdq2ps xmm3, xmm3
mov dword [esp + 4], 0
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
movss dword [esp], xmm0
call fcn.100370a0
jmp 0x1006acf1
movd xmm2, dword [0x101f7d28]
movd xmm1, dword [0x101f7d24]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.10010590
movd xmm0, dword [0x101f7d28]
cvtdq2ps xmm0, xmm0
push 0x1019a71e
sub esp, 8
addss xmm0, dword [0x101a32d0]
movss dword [esp + 4], xmm0
movd xmm0, dword [0x101f7d24]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x101a2fc0]
subsd xmm0, qword [0x101a2d80]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [0x1058ef10]
push 0x1035837c
call fcn.10011b70
add esp, 0x14
test al, al
je 0x1006abf0
call fcn.1006c2a0
mov esi, dword [0xe8c58c]
mov edi, 0x41fe10
call edi
push esi
mov edx, 0x420120
mov ecx, eax
call edx
push 0xff
push 0x19
push 0xbd
push 0xff
call edi
mov edx, 0x420040
mov ecx, eax
call edx
push 0
push 0
push 0
push 0
call edi
mov edx, 0x4200b0
mov ecx, eax
call edx
push 0xa1
mov ecx, 0x101c3620
call fcn.10046da0
movd xmm0, dword [0x101f7d28]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0xec], eax
mov eax, 0x41fe10
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x101a2d28]
cvttsd2si edi, xmm0
movd xmm0, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x101a2e60]
cvttsd2si esi, xmm0
call eax
push 0
push 1
push 0
push 0
mov edx, 0x420150
mov ecx, eax
push dword [ebp - 0xec]
push edi
push esi
call edx
jmp 0x1006acf1
movd xmm0, dword [0x101f7d30]
sub esp, 0x10
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, dword [0x101f7d2c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movd xmm0, dword [0x101f7d28]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf058
call esi
add esp, 0x14
cmp dword [0x101f7d34], 2
je 0x1006ae02
cmp byte [0x101f7d1c], 0
jne 0x1006ad2b
push 0x779250
push 0x779150
push 1
push 0xac
push 0x101f7c70
mov eax, 0x9cfa13
call eax
mov byte [0x101f7d1c], 1
push 0
push 0
push 1
push 0x7ec5
push 1
mov eax, 0x779350
mov ecx, 0x101f7c70
call eax
movd xmm0, dword [0x101f7d28]
mov ecx, 0x101f7c70
cvtdq2ps xmm0, xmm0
push 0x1d
push 0x24
addss xmm0, dword [0x101a3258]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d2c]
add eax, dword [0x101f7d24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x101a3330]
cvttss2si eax, xmm0
push eax
mov eax, 0x779410
call eax
push 0
mov eax, 0x7798f0
mov ecx, 0x101f7c70
call eax
mov eax, 0x779860
mov ecx, 0x101f7c70
call eax
cmp al, 1
jne 0x1006adae
call fcn.1006c2a0
push 0xa1
mov ecx, 0x101c3620
call fcn.10046da0
movd xmm0, dword [0x101f7d24]
push eax
mov eax, dword [0x101f7d28]
cvtdq2ps xmm0, xmm0
push 3
push 0xd2
add eax, 0xd
push eax
subss xmm0, dword [0x101a3258]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101f9640
call fcn.1007c270
movss xmm0, dword [0x101a32a8]
add esp, 0x1c
jmp 0x1006ae0a
movss xmm0, dword [0x101a32f8]
push 0x158
mov ecx, 0x101c3620
movss dword [ebp - 0xec], xmm0
call fcn.10046da0
push eax
mov eax, dword [0x101f7d28]
add eax, 0x21
push 1
push 0xc8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x14
push eax
push 0xffffffffffffffff
push 0x101f9640
call fcn.1007c270
mov eax, dword [0x101f7d28]
add esp, 0x1c
add eax, 0x1e
push 0xf
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0xf
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [0x101f7d24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x101a3270]
addss xmm0, dword [0x101a33ec]
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
mov ecx, 0x791070
mov edi, 0x83c080
test al, al
je 0x1006af33
cmp byte [0x101f7c64], 0
jne 0x1006af33
push 1
call ecx
add esp, 4
test eax, eax
je 0x1006af33
cmp byte [0x8793386], 0
je 0x1006af33
call esi
mov ecx, dword [0x101f7d20]
add ecx, 0xfa
cmp eax, ecx
jb 0x1006af33
call edi
mov al, byte [0x101f7c54]
xor al, 1
xor edx, edx
mov byte [0x101f7c54], al
nop
movzx eax, al
mov ecx, 0x101f7c50
push eax
push edx
call fcn.1006c2d0
inc edx
cmp edx, 7
jge 0x1006af2c
mov al, byte [0x101f7c54]
jmp 0x1006af10
call esi
mov dword [0x101f7d20], eax
cmp byte [0x101f7c54], 0
je 0x1006af46
movss xmm0, dword [0x101a32a8]
jmp 0x1006af49
xorps xmm0, xmm0
mov eax, dword [0x101f7d28]
sub esp, 0x18
add eax, 0x1e
mov edi, 0x790e40
movss dword [esp + 0x14], xmm0
movd xmm0, eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov eax, edx
mov dword [esp + 0xc], 0x41700000
addss xmm0, dword [ebp - 0xec]
shr eax, 0x1f
add eax, edx
mov dword [esp + 8], 0x41700000
add eax, dword [0x101f7d24]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x101a3270]
addss xmm0, dword [0x101a33ec]
movss dword [esp], xmm0
push 0x7bae
call edi
mov eax, dword [0x101f7d28]
add esp, 0x1c
movd xmm2, dword [0x101f7d24]
add eax, 0x28
cvtdq2ps xmm2, xmm2
mov ecx, 0x101f9640
push 0xa0
movd xmm3, eax
subss xmm2, dword [0x101a32c0]
cvtdq2ps xmm3, xmm3
addss xmm3, dword [ebp - 0xec]
call fcn.10079610
push 0x159
mov ecx, 0x101c3620
call fcn.10046da0
push eax
mov eax, dword [0x101f7d28]
add eax, 0x3c
push 1
push 0x46
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x14
push eax
push 0xffffffffffffffff
push 0x101f9640
call fcn.1007c270
mov eax, dword [0x101f7d28]
add esp, 0x1c
add eax, 0x3e
push dword [0x101f7c60]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0x1019ef14
push 1
push 0x46
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x8c
push eax
push 0xffffffffffffffff
push 0x101f9640
call fcn.1007c270
mov eax, dword [0x101f7d28]
add eax, 0x39
push 0xf
push 0xf
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x78
push eax
mov eax, 0x790b10
call eax
add esp, 0x30
test al, al
je 0x1006b121
cmp byte [0x101f7c64], 0
jne 0x1006b121
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1006b121
cmp byte [0x8793386], 0
je 0x1006b121
call esi
mov ecx, dword [0x101f7d20]
add ecx, 0xfa
cmp eax, ecx
jb 0x1006b121
mov eax, 0x83c080
call eax
mov eax, dword [0x101f7c60]
sub eax, 0xa
mov dword [0x101f7c60], eax
test eax, eax
jg 0x1006b11a
mov dword [0x101f7c60], 0
call esi
mov dword [0x101f7d20], eax
mov eax, dword [0x101f7d28]
add eax, 0x39
cmp byte [0x101f7c54], 0
jne 0x1006b16f
movd xmm3, eax
sub esp, 0x10
mov eax, dword [0x101f7d24]
mov ecx, 0x101f9640
add eax, 0x78
cvtdq2ps xmm3, xmm3
mov dword [esp + 8], 0
mov dword [esp + 4], 0
movd xmm2, eax
addss xmm3, dword [ebp - 0xec]
cvtdq2ps xmm2, xmm2
call fcn.1007c320
jmp 0x1006b1c5
movd xmm0, eax
sub esp, 0x18
mov eax, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
add eax, 0x78
mov dword [esp + 0x14], 0x41700000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x41700000
addss xmm0, dword [ebp - 0xec]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7c0d
call edi
add esp, 0x1c
mov eax, dword [0x101f7d28]
add eax, 0x39
push 0xf
push 0xf
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0xa0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1006b25e
cmp byte [0x101f7c64], 0
jne 0x1006b25e
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1006b25e
cmp byte [0x8793386], 0
je 0x1006b25e
call esi
mov ecx, dword [0x101f7d20]
add ecx, 0xfa
cmp eax, ecx
jb 0x1006b25e
mov eax, 0x83c080
call eax
mov eax, dword [0x101f7c60]
add eax, 0xa
mov dword [0x101f7c60], eax
cmp eax, 0x190
jl 0x1006b257
mov dword [0x101f7c60], 0x190
call esi
mov dword [0x101f7d20], eax
mov eax, dword [0x101f7d28]
add eax, 0x39
cmp byte [0x101f7c54], 0
jne 0x1006b2ae
movd xmm3, eax
sub esp, 0x10
mov eax, dword [0x101f7d24]
mov ecx, 0x101f9640
add eax, 0xa0
cvtdq2ps xmm3, xmm3
mov dword [esp + 8], 0
mov dword [esp + 4], 0
movd xmm2, eax
addss xmm3, dword [ebp - 0xec]
cvtdq2ps xmm2, xmm2
call fcn.1007c320
jmp 0x1006b306
movd xmm0, eax
sub esp, 0x18
mov eax, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
add eax, 0xa0
mov dword [esp + 0x14], 0x41700000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x41700000
addss xmm0, dword [ebp - 0xec]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7c0d
call edi
add esp, 0x1c
mov eax, dword [0x101f7d28]
add eax, 0x4c
push 0x15
push 0xaa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 8
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
setne byte [0x101fbf3e]
cmp byte [0x101fbec6], 1
jne 0x1006b373
mov ecx, 0x101fbf47
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006b356
sub ecx, edx
jne 0x1006b373
push 0x1019a71f
push 0x101fbf47
call sym.Main.dll_sprintf
add esp, 8
mov eax, dword [0x101f7d28]
mov ecx, 0x101f9640
add eax, 0x4c
push 0xa1
movd xmm3, eax
mov eax, dword [0x101f7d24]
add eax, 8
cvtdq2ps xmm3, xmm3
movd xmm2, eax
addss xmm3, dword [ebp - 0xec]
cvtdq2ps xmm2, xmm2
call fcn.10079610
cmp byte [0x101fbf3e], 1
jne 0x1006b3eb
mov eax, dword [0x101f7d28]
mov ecx, 0x101f9640
add eax, 0x4c
push 0xff19bdff
push 0xa1
movd xmm3, eax
mov eax, dword [0x101f7d24]
add eax, 8
cvtdq2ps xmm3, xmm3
movd xmm2, eax
addss xmm3, dword [ebp - 0xec]
cvtdq2ps xmm2, xmm2
call fcn.1007b600
push 0x15a
mov ecx, 0x101c3620
call fcn.10046da0
push eax
mov eax, dword [0x101f7d28]
add eax, 0x52
push 1
push 0xc8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x14
push eax
push 0xffffffffffffffff
push 0x101f9640
call fcn.1007c270
mov eax, dword [0x101f7d28]
add esp, 0x1c
add eax, 0x52
push 0x101fbf47
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 3
push 0xc8
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x1e
push eax
push 0xffffffffffffffff
push 0x101f9640
call fcn.1007c270
add esp, 0x1c
mov ecx, 0x101c3620
push 0x15b
call fcn.10046da0
push eax
mov eax, dword [0x101f7d28]
add eax, 0x68
push 1
push 0xc8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x14
push eax
push 0xffffffffffffffff
push 0x101f9640
call fcn.1007c270
mov eax, dword [0x101f7d28]
add esp, 0x1c
add eax, 0x64
push 0xf
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0xf
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [0x101f7d24]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x101a2ca0]
addsd xmm0, qword [0x101a2eb0]
cvttsd2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1006b56d
cmp byte [0x101f7c64], 0
jne 0x1006b56d
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1006b56d
cmp byte [0x8793386], 0
je 0x1006b56d
call esi
mov ecx, dword [0x101f7d20]
add ecx, 0xfa
cmp eax, ecx
jb 0x1006b56d
mov eax, 0x83c080
call eax
xor byte [0x101f7c55], 1
call esi
mov dword [0x101f7d20], eax
cmp byte [0x101f7c55], 0
mov al, byte [0x101f7c54]
jne 0x1006b58c
cmp al, 1
jne 0x1006b58c
sub esp, 0x18
mov dword [esp + 0x14], 0
jmp 0x1006b5ab
test al, al
je 0x1006b59a
movss xmm0, dword [0x101a32a8]
jmp 0x1006b5a2
movss xmm0, dword [0x101a32f8]
sub esp, 0x18
movss dword [esp + 0x14], xmm0
mov eax, dword [0x101f7d28]
add eax, 0x64
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x41700000
movd xmm0, eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
cvtdq2ps xmm0, xmm0
mov eax, edx
addss xmm0, dword [ebp - 0xec]
shr eax, 0x1f
add eax, edx
add eax, dword [0x101f7d24]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x101a2ca0]
addsd xmm0, qword [0x101a2eb0]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7bae
call edi
add esp, 0x1c
mov ecx, 0x101c3620
push 0x15c
call fcn.10046da0
push eax
mov eax, dword [0x101f7d28]
add eax, 0x7e
push 1
push 0xc8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x14
push eax
push 0xffffffffffffffff
push 0x101f9640
call fcn.1007c270
mov eax, dword [0x101f7d28]
add esp, 0x1c
add eax, 0x7a
push 0xf
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0xf
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [0x101f7d24]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x101a2ca0]
addsd xmm0, qword [0x101a2eb0]
cvttsd2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1006b71a
cmp byte [0x101f7c64], 0
jne 0x1006b71a
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1006b71a
cmp byte [0x8793386], 0
je 0x1006b71a
call esi
mov ecx, dword [0x101f7d20]
add ecx, 0xfa
cmp eax, ecx
jb 0x1006b71a
mov eax, 0x83c080
call eax
xor byte [0x101f7c56], 1
call esi
mov dword [0x101f7d20], eax
cmp byte [0x101f7c56], 0
mov al, byte [0x101f7c54]
jne 0x1006b739
cmp al, 1
jne 0x1006b739
sub esp, 0x18
mov dword [esp + 0x14], 0
jmp 0x1006b758
test al, al
je 0x1006b747
movss xmm0, dword [0x101a32a8]
jmp 0x1006b74f
movss xmm0, dword [0x101a32f8]
sub esp, 0x18
movss dword [esp + 0x14], xmm0
mov eax, dword [0x101f7d28]
add eax, 0x7a
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x41700000
movd xmm0, eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
cvtdq2ps xmm0, xmm0
mov eax, edx
addss xmm0, dword [ebp - 0xec]
shr eax, 0x1f
add eax, edx
add eax, dword [0x101f7d24]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x101a2ca0]
addsd xmm0, qword [0x101a2eb0]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7bae
call edi
add esp, 0x1c
mov ecx, 0x101c3620
push 0x15d
call fcn.10046da0
push eax
mov eax, dword [0x101f7d28]
add eax, 0x94
push 1
push 0xc8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x14
push eax
push 0xffffffffffffffff
push 0x101f9640
call fcn.1007c270
mov eax, dword [0x101f7d28]
add esp, 0x1c
add eax, 0x90
push 0xf
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0xf
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [0x101f7d24]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x101a2ca0]
addsd xmm0, qword [0x101a2eb0]
cvttsd2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1006b9a6
cmp byte [0x101f7c64], 0
jne 0x1006b9a6
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1006b9a6
cmp byte [0x8793386], 0
je 0x1006b9a6
call esi
mov ecx, dword [0x101f7d20]
add ecx, 0xfa
cmp eax, ecx
jb 0x1006b9a6
mov eax, 0x83c080
call eax
mov cl, byte [0x101f7c57]
xor cl, 1
xor eax, eax
mov byte [0x101f7c57], cl
test cl, cl
jne 0x1006b932
cmp eax, 6
ja case.default.0x1006b937
jmp dword [eax*4 + 0x1006c228]
mov byte [0x101f7c58], 1
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c59], 1
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c5a], 1
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c5b], 1
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c5c], 1
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c5d], 1
inc eax
jmp 0x1006b8e2
cmp eax, 6
ja case.default.0x1006b937
jmp dword [eax*4 + 0x1006c244]
mov byte [0x101f7c58], 0
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c59], 0
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c5a], 0
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c5b], 0
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c5c], 0
inc eax
jmp 0x1006b8e2
mov byte [0x101f7c5d], 0
inc eax
jmp 0x1006b8e2
inc eax
cmp eax, 7
jl 0x1006b8e2
jmp 0x1006b99f
mov byte [0x101f7c5e], 1
jmp 0x1006b99f
mov byte [0x101f7c5e], 0
call esi
mov dword [0x101f7d20], eax
cmp byte [0x101f7c57], 0
mov al, byte [0x101f7c54]
jne 0x1006b9c5
cmp al, 1
jne 0x1006b9c5
sub esp, 0x18
mov dword [esp + 0x14], 0
jmp 0x1006b9e4
test al, al
je 0x1006b9d3
movss xmm0, dword [0x101a32a8]
jmp 0x1006b9db
movss xmm0, dword [0x101a32f8]
sub esp, 0x18
movss dword [esp + 0x14], xmm0
mov eax, dword [0x101f7d28]
add eax, 0x90
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x41700000
movd xmm0, eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
cvtdq2ps xmm0, xmm0
mov eax, edx
addss xmm0, dword [ebp - 0xec]
shr eax, 0x1f
add eax, edx
add eax, dword [0x101f7d24]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x101a2ca0]
addsd xmm0, qword [0x101a2eb0]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7bae
call edi
mov eax, dword [0x101f7d28]
add esp, 0x1c
movd xmm2, dword [0x101f7d24]
add eax, 0x9b
cvtdq2ps xmm2, xmm2
mov ecx, 0x101f9640
push 0xa0
movd xmm3, eax
subss xmm2, dword [0x101a32c0]
cvtdq2ps xmm3, xmm3
addss xmm3, dword [ebp - 0xec]
call fcn.10079610
push 0x14
mov esi, 0x402320
mov ecx, 0x8128adc
call esi
push eax
lea eax, [ebp - 0xe8]
push 0x20
push eax
call fcn.1015af28
add esp, 0xc
mov ecx, 0x8128adc
push 0x15
call esi
push eax
lea eax, [ebp - 0xc8]
push 0x20
push eax
call fcn.1015af28
add esp, 0xc
mov ecx, 0x8128adc
push 0x16
call esi
push eax
lea eax, [ebp - 0xa8]
push 0x20
push eax
call fcn.1015af28
add esp, 0xc
mov ecx, 0x8128adc
push 0x17
call esi
push eax
lea eax, [ebp - 0x88]
push 0x20
push eax
call fcn.1015af28
add esp, 0xc
mov ecx, 0x8128adc
push 0x18
call esi
push eax
lea eax, [ebp - 0x68]
push 0x20
push eax
call fcn.1015af28
add esp, 0xc
push 0x697
mov ecx, 0x8128adc
call esi
push eax
lea eax, [ebp - 0x48]
push 0x20
push eax
call fcn.1015af28
add esp, 0xc
mov ecx, 0x8128adc
push 0xc4e
call esi
push eax
lea eax, [ebp - 0x28]
push 0x20
push eax
call fcn.1015af28
add esp, 0xc
xor esi, esi
nop word [eax + eax]
mov eax, esi
imul edi, esi, 0x16
shl eax, 5
lea ecx, [ebp - 0xe8]
add eax, ecx
push eax
mov eax, dword [0x101f7d28]
add eax, 0xae
add eax, edi
push 1
push 0xc8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d24]
add eax, 0x14
push eax
push 0xffffffffffffffff
push 0x101f9640
call fcn.1007c270
add esp, 0x1c
mov byte [ebp - 0xed], 0
cmp esi, 6
ja case.default.0x1006bbbc
jmp dword [esi*4 + 0x1006c260]
mov al, byte [0x101f7c58]
jmp 0x1006bbf2
mov al, byte [0x101f7c59]
jmp 0x1006bbf2
mov al, byte [0x101f7c5a]
jmp 0x1006bbf2
mov al, byte [0x101f7c5b]
jmp 0x1006bbf2
mov al, byte [0x101f7c5c]
jmp 0x1006bbf2
mov al, byte [0x101f7c5d]
jmp 0x1006bbf2
mov al, byte [0x101f7c5e]
mov byte [ebp - 0xed], al
mov eax, dword [0x101f7d28]
add eax, 0xaa
add eax, edi
push 0xf
push 0xf
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [0x101f7d24]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x101a2ca0]
addsd xmm0, qword [0x101a2eb0]
cvttsd2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1006bd12
cmp byte [0x101f7c64], 0
jne 0x1006bd12
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1006bd12
cmp byte [0x8793386], 0
je 0x1006bd12
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101f7d20]
add ecx, 0xfa
cmp eax, ecx
jb 0x1006bd12
mov eax, 0x83c080
call eax
cmp esi, 6
ja case.default.0x1006bcb3
jmp dword [esi*4 + 0x1006c27c]
xor byte [0x101f7c58], 1
jmp case.default.0x1006bcb3
xor byte [0x101f7c59], 1
jmp case.default.0x1006bcb3
xor byte [0x101f7c5a], 1
jmp case.default.0x1006bcb3
xor byte [0x101f7c5b], 1
jmp case.default.0x1006bcb3
xor byte [0x101f7c5c], 1
jmp case.default.0x1006bcb3
xor byte [0x101f7c5d], 1
jmp case.default.0x1006bcb3
xor byte [0x101f7c5e], 1
cmp byte [0x101f7c57], 1
jne 0x1006bd07
mov byte [0x101f7c57], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101f7d20], eax
cmp byte [ebp - 0xed], 0
mov al, byte [0x101f7c54]
jne 0x1006bd31
cmp al, 1
jne 0x1006bd31
sub esp, 0x18
mov dword [esp + 0x14], 0
jmp 0x1006bd50
test al, al
je 0x1006bd3f
movss xmm0, dword [0x101a32a8]
jmp 0x1006bd47
movss xmm0, dword [0x101a32f8]
sub esp, 0x18
movss dword [esp + 0x14], xmm0
mov eax, dword [0x101f7d28]
add eax, 0xaa
mov dword [esp + 0x10], 0
add eax, edi
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x41700000
movd xmm0, eax
mov eax, 0x55555556
imul dword [0x101f7d2c]
cvtdq2ps xmm0, xmm0
mov eax, edx
addss xmm0, dword [ebp - 0xec]
shr eax, 0x1f
add eax, edx
add eax, dword [0x101f7d24]
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x790e40
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x101a2ca0]
addsd xmm0, qword [0x101a2eb0]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7bae
call eax
add esp, 0x1c
test esi, esi
je 0x1006be86
mov eax, dword [0x101f7d28]
sub esp, 0x10
add eax, 0xa5
add eax, edi
mov dword [esp + 0xc], 0x40000000
mov dword [esp + 8], 0x42a40000
movd xmm0, eax
mov eax, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
add eax, 0xa
addss xmm0, dword [ebp - 0xec]
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x790b50
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7b5e
call eax
mov eax, dword [0x101f7d28]
add esp, 4
add eax, 0xa5
add eax, edi
mov edi, 0x790b50
mov dword [esp + 0xc], 0x40000000
mov dword [esp + 8], 0x42a40000
movd xmm0, eax
mov eax, dword [0x101f7d24]
cvtdq2ps xmm0, xmm0
add eax, 0x5c
addss xmm0, dword [ebp - 0xec]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7b5e
call edi
add esp, 0x14
jmp 0x1006be8b
mov edi, 0x790b50
inc esi
cmp esi, 7
jl 0x1006bb60
mov eax, dword [0x101f7d28]
movss xmm0, dword [0x101fbee8]
add eax, 0x138
movss xmm3, dword [0x101a3898]
movd xmm1, dword [0x101f7d24]
movss xmm4, dword [0x101fbee4]
movss xmm5, dword [0x101fbee0]
ucomiss xmm0, xmm3
movd xmm2, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
subss xmm1, dword [0x101a32c0]
addss xmm2, dword [ebp - 0xec]
lahf
test ah, 0x44
jnp 0x1006befb
movss xmm0, dword [0x101fbeec]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1006bf29
movaps xmm0, xmm1
movss dword [0x101fbee8], xmm1
addss xmm0, xmm5
movss dword [0x101fbeec], xmm2
movss dword [0x101fbef0], xmm0
movaps xmm0, xmm2
addss xmm0, xmm4
movss dword [0x101fbef4], xmm0
sub esp, 0x10
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push dword [0x101fbedc]
call edi
mov eax, dword [0x101f7d28]
add esp, 0x14
add eax, 0x151
push 0x1e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push 0x36
addss xmm0, dword [ebp - 0xec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101f7d2c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [0x101f7d24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x101a32dc]
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1006c183
cmp byte [0x101f7c64], 0
jne 0x1006c176
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1006c176
cmp byte [0x8793386], 0
je 0x1006c176
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x101f7d20]
add ecx, 0xfa
cmp eax, ecx
jb 0x1006c176
mov eax, dword [0x101f7d28]
sub esp, 0x18
add eax, 0x151
mov dword [esp + 0x14], 0x42700000
movd xmm0, eax
mov eax, dword [0x101f7d2c]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
mov dword [esp + 0x10], 0
sar eax, 1
add eax, dword [0x101f7d24]
mov dword [esp + 0xc], 0x41f00000
addss xmm0, dword [ebp - 0xec]
mov dword [esp + 8], 0x42580000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x790e40
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x101a32dc]
movss dword [esp], xmm0
push 0x7a5b
call eax
add esp, 0x1c
mov eax, 0x83c080
call eax
mov al, byte [0x101f7c54]
mov ecx, 0x1019a723
mov byte [ebp - 0x118], al
mov al, byte [0x101f7c55]
mov byte [ebp - 0x117], al
mov al, byte [0x101f7c56]
mov byte [ebp - 0x116], al
mov al, byte [0x101f7c57]
mov byte [ebp - 0x115], al
mov al, byte [0x101f7c58]
mov byte [ebp - 0x114], al
mov al, byte [0x101f7c59]
mov byte [ebp - 0x113], al
mov al, byte [0x101f7c5a]
mov byte [ebp - 0x112], al
mov al, byte [0x101f7c5b]
mov byte [ebp - 0x111], al
mov al, byte [0x101f7c5c]
mov byte [ebp - 0x110], al
mov al, byte [0x101f7c5d]
mov byte [ebp - 0x10f], al
mov al, byte [0x101f7c5e]
mov byte [ebp - 0x10e], al
mov eax, dword [0x101f7c60]
mov dword [ebp - 0x10c], eax
mov eax, 0x101fbf47
mov dword [ebp - 0x11c], 0x4ff2cc1
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1006c124
test dl, dl
je 0x1006c120
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1006c124
add eax, 2
add ecx, 2
test dl, dl
jne 0x1006c104
xor eax, eax
jmp 0x1006c129
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006c135
mov byte [ebp - 0x108], al
jmp 0x1006c155
movups xmm0, xmmword [0x101fbf47]
mov eax, dword [0x101fbf57]
mov byte [ebp - 0x108], 1
movups xmmword [ebp - 0x107], xmm0
mov dword [ebp - 0xf7], eax
mov edx, 0x2c
lea ecx, [ebp - 0x11c]
call fcn.100ca840
call fcn.1006c2a0
call esi
mov dword [0x101f7d20], eax
jmp 0x1006c1f8
sub esp, 0x18
mov dword [esp + 0x14], 0x41f00000
jmp 0x1006c18e
sub esp, 0x18
mov dword [esp + 0x14], 0
mov eax, dword [0x101f7d28]
add eax, 0x151
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41f00000
mov dword [esp + 8], 0x42580000
movd xmm0, eax
mov eax, dword [0x101f7d2c]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
add eax, dword [0x101f7d24]
addss xmm0, dword [ebp - 0xec]
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x790e40
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x101a32dc]
movss dword [esp], xmm0
push 0x7a5b
call eax
add esp, 0x1c
cmp byte [0x101fbec6], 1
jne 0x1006c208
mov byte [0x101fbec6], 0
push 0
mov eax, 0x635fd0
call eax
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10141b74
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret