Function at 0x10016500
Capabilities:
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
push 0xffffffffffffffff
push 0x1007bb09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x120
movss xmm0, dword [ebx + 0xc]
xor edx, edx
push esi
mov esi, dword [ebx + 8]
push edi
push dword [ebx + 0x10]
push ecx
mov ecx, dword [0x100c6d74]
movss dword [esp], xmm0
push esi
call dword [0x100c6d1c]
mov eax, 0x1b4e81b5
mov byte [0x100c39e4], 0
imul esi
mov byte [0x100c3fd8], 0
sar edx, 4
mov eax, edx
mov byte [0x100c4014], 0
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x96
sub esi, eax
mov eax, dword [0x100c4098]
imul ecx, esi, 0x64
imul edx, esi, 0x68
add ecx, dword [eax + 0xec]
add edx, dword [eax + 0xf0]
mov eax, dword [0x100c7c5c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [0x100c39e0], ecx
cmp dword [eax], 0
je 0x100171fd
mov ecx, dword [eax]
call fcn.10052970
test al, al
je 0x100171fd
mov eax, dword [0x100c39e0]
test eax, eax
je 0x100171fd
cmp dword [eax + 4], 0
je 0x100171fd
movss xmm0, dword [eax + 0xc]
movss dword [0x100c219c], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [0x100c21a0], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [0x100c21a4], xmm0
call fcn.100122d0
mov ecx, dword [0x100c39e0]
xorps xmm1, xmm1
mov eax, dword [0x100c39f8]
movss dword [0x100c39ec], xmm0
movss xmm0, dword [ecx + 0x24]
mov eax, dword [eax + 0x4cb0]
ucomiss xmm0, xmm1
mov dword [0x100c3fb8], eax
lahf
test ah, 0x44
jp 0x10016646
movss xmm0, dword [ecx + 0x28]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10016646
xor al, al
jmp 0x10016648
mov al, 1
mov ecx, dword [0x100c39c0]
mov byte [0x100c400c], al
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x100166ab
mov ecx, dword [0x100c39c0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
push 0
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x28]
mov dword [ebp - 0x20], ecx
mov ecx, eax
call dword [ebp - 0x20]
mov ecx, dword [0x100c39c0]
fstp dword [0x100c8a40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
push 1
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x28]
mov dword [ebp - 0x20], ecx
mov ecx, eax
call dword [ebp - 0x20]
fstp dword [0x100c8a44]
call fcn.1000a180
mov eax, dword [0x100c75a8]
mov al, byte [eax]
test al, al
je 0x100166c7
mov eax, dword [0x100c39e0]
or dword [eax + 0x30], 0x400000
mov esi, dword [0x100c39f8]
mov edi, dword [esi + 0x174]
test edi, edi
je 0x10016701
mov ecx, dword [0x100c4008]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x4cb0]
add eax, dword [esi + 0x4cac]
test edi, edi
push eax
push dword [esi + 0x4cb4]
setg al
movzx eax, al
push eax
push edi
call edx
mov eax, dword [0x100c7c5c]
mov ecx, dword [eax]
call fcn.100065d0
mov ecx, dword [0x100c39e0]
mov eax, dword [eax]
and eax, 1
mov dword [0x100c4010], eax
jne 0x10016737
mov eax, dword [0x100c75cc]
mov al, byte [eax]
test al, al
je 0x10016737
mov eax, dword [ecx + 0x30]
test al, 2
je 0x10016737
and eax, 0xfffffffd
mov dword [ecx + 0x30], eax
xor dl, dl
mov byte [0x100c3fd9], 0
test dword [ecx + 0x30], 0x20000
je 0x10016762
mov eax, dword [0x100c7614]
mov al, byte [eax]
test al, al
je 0x10016762
call fcn.1000b140
mov byte [0x100c3fd9], 1
mov dl, 1
cmp byte [0x100c400c], 0
jne 0x1001677f
mov eax, dword [0x100c7638]
mov al, byte [eax]
test al, al
je 0x10016787
mov byte [0x100c4014], 1
jmp 0x10016787
mov byte [ebp - 0x11], 0
test dl, dl
je 0x1001678b
mov byte [ebp - 0x11], 1
cmp byte [0x100c4014], 0
jne 0x100167a1
cmp byte [0x100c3a0c], 0
je 0x100168aa
mov eax, dword [0x100c7c5c]
mov ecx, dword [eax]
call fcn.100065d0
test byte [eax], 1
je 0x100168aa
mov eax, dword [0x100c39e0]
test byte [eax + 0x30], 2
jne 0x100168aa
mov eax, dword [0x100c7c5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov ecx, dword [eax]
call fcn.10006730
lea edx, [ebp - 0x4c]
mov ecx, eax
call fcn.10011a90
mov eax, dword [0x100c7c5c]
mov ecx, dword [eax]
call fcn.10006730
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10003db0
movss xmm2, dword [ebp - 0x4c]
lea edx, [ebp - 0x74]
mulss xmm2, dword [0x100b99c8]
lea ecx, [ebp - 0x18]
movss dword [ebp - 0x20], xmm0
call fcn.10011290
movss xmm2, dword [0x100c21a0]
lea edx, [ebp - 0x1c]
subss xmm2, dword [ebp - 0x48]
lea ecx, [ebp - 0x18]
mulss xmm2, dword [0x100b99c8]
call fcn.10011290
movss xmm2, dword [ebp - 0x20]
comiss xmm2, dword [0x100b9b10]
movss xmm3, dword [ebp - 0x1c]
movaps xmm1, xmm2
movss xmm4, dword [ebp - 0x18]
mulss xmm3, dword [ebp - 0x74]
mulss xmm4, dword [ebp - 0x74]
xorps xmm1, xmmword [0x100b9d40]
mulss xmm3, xmm1
mulss xmm4, xmm1
jbe 0x10016891
mov eax, dword [0x100c39e0]
movss dword [eax + 0x24], xmm3
movss dword [eax + 0x28], xmm4
jmp 0x100168aa
cmp byte [ebp - 0x11], 0
je 0x100168aa
mov eax, dword [0x100c39e0]
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
call fcn.1000a8c0
mov eax, dword [0x100c4008]
mov edi, dword [0x100c2ee8]
mov byte [eax + 0xc], 1
mov eax, dword [0x100c39e0]
mov esi, dword [eax + 0x40]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x100c7cf0]
cmp eax, dword [ecx + 4]
jg 0x10017212
mov eax, dword [0x100c7cf8]
mov eax, dword [eax]
mov dword [eax], esi
mov eax, dword [0x100c7c5c]
mov ecx, dword [eax]
call fcn.1000a110
mov eax, dword [0x100c39bc]
movss xmm0, dword [eax + 0x10]
movss dword [0x100c7ce8], xmm0
movss xmm0, dword [eax + 0x14]
mov eax, dword [0x100c7c5c]
movss dword [0x100c7ce4], xmm0
mov ecx, dword [eax]
call fcn.10006b90
and dword [eax], 0xffffefff
mov eax, dword [0x100c7c5c]
mov ecx, dword [eax]
call fcn.10006730
mov ecx, dword [0x100c7c5c]
mov esi, eax
mov ecx, dword [ecx]
call fcn.10006da0
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov eax, dword [0x100c7c5c]
mov esi, dword [eax]
mov ecx, esi
call fcn.10006180
push eax
mov ecx, esi
call fcn.10004550
mov eax, dword [0x100c7c5c]
mov ecx, dword [eax]
call fcn.10004290
mov ecx, dword [0x100c39bc]
push 0xb8
push 0
movd xmm0, dword [eax]
lea eax, [ebp - 0x130]
movss xmm1, dword [ecx + 0x20]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ecx + 0x14], xmm1
mulss xmm0, xmm1
movss dword [ecx + 0x10], xmm0
call fcn.100573b0
mov ecx, dword [0x100c4000]
add esp, 0xc
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov eax, dword [0x100c7c5c]
push dword [eax]
call edx
mov ecx, dword [0x100c4004]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [0x100c7c5c]
push dword [eax]
call edx
mov ecx, dword [0x100c4008]
lea esi, [ebp - 0x130]
push esi
push dword [0x100c4000]
mov eax, dword [ecx]
push dword [0x100c39e0]
mov edx, dword [eax + 0x50]
mov eax, dword [0x100c7c5c]
push dword [eax]
call edx
mov ecx, dword [0x100c4004]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov eax, dword [0x100c7c5c]
push dword [eax]
call edx
mov ecx, dword [0x100c4008]
mov eax, dword [ecx]
push esi
push dword [0x100c39e0]
mov edx, dword [eax + 0x54]
mov eax, dword [0x100c7c5c]
push dword [eax]
call edx
call fcn.10008810
mov eax, dword [0x100c7c5c]
mov ecx, dword [eax]
call fcn.10004290
movd xmm0, dword [eax]
mov eax, dword [0x100c39bc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x100c7c5c]
movss dword [ebp - 0x1c], xmm0
mov ecx, dword [eax]
call fcn.100068a0
mov esi, dword [0x100c39c4]
mov eax, dword [eax]
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx + 0x10]
mov ecx, esp
mov dword [ecx], eax
mov ecx, esi
call edx
mov ecx, eax
mov dword [0x100c39f0], ecx
test ecx, ecx
je 0x10016b37
mov eax, dword [ecx]
mov eax, dword [eax + 0x75c]
call eax
mov ecx, dword [0x100c39f0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov dword [0x100c39e8], eax
mov eax, dword [0x100c7c5c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x100c6cd4]
cmp eax, dword [ecx + 4]
jg 0x10017253
mov eax, dword [0x100c6ce4]
mov ecx, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x1c]
comiss xmm0, dword [ecx + eax]
jb 0x10016b25
mov eax, dword [0x100c39f0]
mov dword [ebp - 0x18], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x100c6d70]
cmp eax, dword [ecx + 4]
jg 0x10017392
jmp 0x10016b00
movss xmm0, dword [ebp - 0x1c]
mov eax, dword [0x100c6cdc]
mov ecx, dword [ebp - 0x18]
comiss xmm0, dword [ecx + eax]
jb 0x10016b25
call fcn.10014310
cmp dword [eax], 0
jg 0x10016b21
call fcn.10014660
test al, al
je 0x10016b25
mov al, 1
jmp 0x10016b27
xor al, al
mov ecx, dword [0x100c39f0]
mov byte [0x100c39e4], al
call fcn.10003e40
cmp byte [0x100c39e4], 0
jne 0x10016b52
call fcn.100145f0
test al, al
jne 0x10016b52
mov eax, dword [0x100c39e0]
and dword [eax + 0x30], 0xfffffffe
call fcn.100058b0
cmp dword [0x100c39f0], 0
je 0x10016bc7
call fcn.100145f0
test al, al
je 0x10016bc7
mov eax, dword [0x100c39f0]
mov dword [ebp - 0x18], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x100c6d7c]
cmp eax, dword [ecx + 4]
jg 0x100174c6
mov eax, dword [0x100c6d60]
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + eax], 0
je 0x10016ba7
mov eax, dword [0x100c39e0]
test dword [eax + 0x30], 0x801
je 0x10016bcc
call fcn.10014480
xorps xmm1, xmm1
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x10016bc7
call fcn.10014480
movss xmm0, dword [ebp - 0x1c]
comiss xmm0, dword [eax]
jae 0x10016bf2
mov eax, dword [0x100c39e0]
mov ecx, dword [eax + 0x30]
mov al, byte [0x100c39e4]
test cl, 1
je 0x10016bdd
test al, al
jne 0x10016bf2
test ecx, 0x800
je 0x10016bf9
test al, al
je 0x10016bf9
call fcn.10014660
test al, al
je 0x10016bf9
mov byte [0x100c3fd8], 1
mov eax, dword [0x100c6fe4]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push dword [eax]
call edi
test ax, ax
mov eax, dword [0x100c6f9c]
setne byte [ebp - 0x11]
push dword [eax]
call edi
mov ecx, dword [0x100c6fc0]
mov si, ax
push dword [ecx]
call edi
mov edx, dword [0x100c0aa4]
test ax, ax
movss xmm2, dword [0x100b9b44]
mov eax, 2
movss xmm1, dword [0x100b9b58]
setne cl
test si, si
cmovne edx, eax
test cl, cl
mov eax, 3
cmovne edx, eax
cmp byte [ebp - 0x11], 0
mov eax, 1
cmovne edx, eax
mov eax, dword [0x100c6f78]
mov dword [0x100c0aa4], edx
mov al, byte [eax]
test al, al
je 0x10016d27
cmp byte [0x100c3fd8], 0
jne 0x10016d27
mov esi, dword [0x100c39e0]
mov dword [esi + 0xc], 0x42b20000
sub edx, 1
je 0x10016cbe
sub edx, 1
je 0x10016caf
sub edx, 1
jne 0x10016ccc
movss xmm0, dword [esi + 0x10]
addss xmm0, dword [0x100b9b48]
jmp 0x10016cc7
movss xmm0, dword [esi + 0x10]
subss xmm0, dword [0x100b9b48]
jmp 0x10016cc7
movss xmm0, dword [esi + 0x10]
addss xmm0, xmm1
movss dword [esi + 0x10], xmm0
mov ecx, dword [0x100c3fb8]
test ecx, ecx
je 0x10016d04
movss xmm0, dword [0x100b9bf8]
call fcn.100113b0
mov esi, dword [0x100c39e0]
mov ecx, dword [0x100c3fb8]
movss xmm1, dword [0x100b9b58]
movss xmm2, dword [0x100b9b44]
movss dword [esi + 0x10], xmm0
cmp byte [0x100c3fd9], 0
je 0x10016d19
mov eax, 0xe
cmp ecx, eax
setge al
jmp 0x10016d2f
mov eax, dword [0x100c7008]
mov eax, dword [eax]
cmp ecx, eax
setge al
jmp 0x10016d2f
mov esi, dword [0x100c39e0]
mov al, 1
movss xmm0, dword [esi + 0xc]
comiss xmm0, xmm2
mov byte [0x100c0aa0], al
jbe 0x10016d53
nop
movss xmm0, dword [esi + 0xc]
subss xmm0, xmm1
comiss xmm0, xmm2
movss dword [esi + 0xc], xmm0
ja 0x10016d40
movss xmm2, dword [0x100b9bec]
comiss xmm2, xmm0
jbe 0x10016d73
movss xmm0, dword [esi + 0xc]
addss xmm0, xmm1
comiss xmm2, xmm0
movss dword [esi + 0xc], xmm0
ja 0x10016d60
movss xmm0, dword [esi + 0x10]
movss xmm3, dword [0x100b9bf8]
comiss xmm3, xmm0
movss xmm2, dword [0x100b9b68]
jbe 0x10016da3
nop dword [eax]
movss xmm0, dword [esi + 0x10]
addss xmm0, xmm2
comiss xmm3, xmm0
movss dword [esi + 0x10], xmm0
ja 0x10016d90
comiss xmm0, xmm1
jbe 0x10016dc3
nop dword [eax + eax]
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm2
comiss xmm0, xmm1
movss dword [esi + 0x10], xmm0
ja 0x10016db0
mov dword [esi + 0x14], 0
test al, al
je 0x10016ec4
movss xmm0, dword [esi + 0xc]
mov edi, dword [0x100c6ebc]
mov edx, dword [0x100c6ec0]
mov ecx, dword [0x100c6eb8]
movss dword [0x100c2190], xmm0
movss xmm0, dword [esi + 0x10]
movss dword [0x100c2194], xmm0
lea eax, [edi + edx]
movss xmm0, dword [esi + 0x14]
movss dword [0x100c2198], xmm0
test al, 3
jne 0x10016e34
lea eax, [edx + 4]
shr eax, 2
cmp ecx, eax
ja 0x10016e34
push ecx
call fcn.10018310
mov edx, dword [0x100c6ec0]
mov edi, dword [0x100c6ebc]
mov ecx, dword [0x100c6eb8]
lea eax, [ecx*4 - 1]
and eax, edi
add edx, eax
mov dword [0x100c6ebc], eax
mov edi, edx
mov dword [ebp - 0x18], edx
shr edi, 2
lea eax, [ecx - 1]
mov ecx, dword [0x100c6eb4]
and edi, eax
cmp dword [ecx + edi*4], 0
jne 0x10016e79
push 0x10
call fcn.10055035
mov ecx, dword [0x100c6eb4]
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ecx + edi*4], eax
mov ecx, dword [0x100c6eb4]
mov ecx, dword [ecx + edi*4]
and edx, 3
mov eax, dword [esi + 4]
mov dword [ecx + edx*4], eax
mov eax, dword [0x100c6ec0]
inc eax
mov dword [0x100c6ec0], eax
cmp eax, 0x40
jbe 0x10016ef1
mov ecx, dword [0x100c6ebc]
nop dword [eax + eax]
add eax, 0xffffffff
mov dword [0x100c6ec0], eax
je 0x10016eb8
inc ecx
mov dword [0x100c6ebc], ecx
cmp eax, 0x40
ja 0x10016ea0
jmp 0x10016ef1
mov dword [0x100c6ebc], 0
jmp 0x10016ef1
mov eax, dword [0x100c39f8]
mov edi, dword [eax + 0x9c]
test edi, edi
je 0x10016ef1
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [edi + 0x2c]
mov dword [edi + 0x2c], 0
push 0
mov eax, dword [eax + 0xc0]
call eax
dec dword [edi + 0x18]
mov dword [edi + 0x2c], esi
mov eax, dword [0x100c7c5c]
cmp dword [eax], 0
je 0x10016f9b
mov ecx, dword [eax]
call fcn.10052970
test al, al
je 0x10016f9b
mov eax, dword [0x100c7c5c]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x3874]
test esi, esi
je 0x10016f9b
cmp dword [0x100c3fb8], 0
jne 0x10016f9b
mov ecx, dword [0x100c39e0]
movss xmm0, dword [ecx + 0xc]
movss dword [0x100c21a8], xmm0
movss xmm0, dword [ecx + 0x10]
movss dword [0x100c21ac], xmm0
movss xmm0, dword [ecx + 0x14]
mov ecx, dword [0x100c39bc]
movss dword [0x100c21b0], xmm0
mov edx, dword [esi + 0x70]
cmp edx, dword [ecx + 4]
jne 0x10016f72
lea eax, [edx - 1]
mov dword [esi + 0x70], eax
mov eax, dword [0x100c7c5c]
mov ecx, dword [eax]
call dword [0x100c3f64]
mov eax, dword [0x100c7c5c]
push 0x100c7c70
mov ecx, dword [eax]
call fcn.10052590
movss xmm0, dword [esi + 0x80]
movss dword [0x100c7cd0], xmm0
movq xmm0, qword [0x100c219c]
sub esp, 0xc
mov eax, dword [0x100c21a4]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.1000aac0
mov ecx, dword [ebx + 0x14]
add esp, 0xc
mov al, byte [0x100c0aa0]
mov byte [ecx], al
mov eax, dword [0x100c4008]
mov ecx, dword [0x100c4004]
mov byte [eax + 0xc], 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [0x100c7c5c]
push dword [eax]
call edx
mov ecx, dword [0x100c4000]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword fs:[0x2c]
mov esi, dword [0x100c2ee8]
mov ecx, dword [eax + esi*4]
mov eax, dword [0x100c7cf0]
cmp eax, dword [ecx + 4]
jg 0x100175fa
mov eax, dword [0x100c7cf8]
mov eax, dword [eax]
mov dword [eax], 0xffffffff
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
mov eax, dword [0x100c7cec]
cmp eax, dword [ecx + 4]
jg 0x1001763b
mov eax, dword [0x100c7cf4]
movss xmm0, dword [0x100c7ce8]
mov eax, dword [eax]
mov dword [eax], 0
mov eax, dword [0x100c39bc]
movss dword [eax + 0x10], xmm0
movss xmm0, dword [0x100c7ce4]
movss dword [eax + 0x14], xmm0
mov edi, dword [0x100c7740]
mov eax, dword [0x100c7744]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x1001715a
lea esi, [edi + 0xc]
mov dword [ebp - 0x20], esi
mov ecx, dword [edi]
call fcn.10006180
mov ecx, dword [esi - 8]
mov dword [eax], ecx
mov ecx, dword [esi - 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi]
mov dword [eax + 8], ecx
lea eax, [esi + 4]
mov ecx, dword [edi]
push eax
call fcn.10004550
mov ecx, dword [edi]
lea eax, [esi + 0x10]
push eax
call fcn.100044e0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esi + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi + 0x28]
mov dword [eax], ecx
mov ecx, dword [esi + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x30]
mov dword [eax + 8], ecx
lea eax, [esi + 0x34]
mov ecx, dword [edi]
push eax
call fcn.10052730
mov ecx, dword [edi]
lea eax, [esi + 0x94]
push eax
call fcn.10052920
mov esi, dword [edi]
mov ecx, esi
call fcn.10004470
mov ecx, esi
mov edi, dword [eax + 0xc]
call fcn.10004470
mov esi, dword [ebp - 0x20]
lea ecx, [edi + edi*2]
shl ecx, 4
push ecx
lea ecx, [esi + 0x36c]
push ecx
push dword [eax]
call fcn.10056e20
mov edi, dword [ebp - 0x1c]
add esi, 0x1b78
add edi, 0x1b78
mov dword [ebp - 0x20], esi
add esp, 0xc
mov dword [ebp - 0x1c], edi
cmp edi, dword [ebp - 0x18]
jne 0x10017082
mov esi, dword [ebp - 0x40]
mov edi, 0x18
mov ecx, dword [ebp - 0x3c]
lea edx, [esi + 0x49]
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x30], eax
mov al, byte [ecx + 0x34]
mov byte [esi + 0x34], al
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ecx + 0x40]
mov dword [esi + 0x40], eax
movzx eax, word [ecx + 0x44]
mov word [esi + 0x44], ax
movzx eax, word [ecx + 0x46]
mov word [esi + 0x46], ax
mov al, byte [ecx + 0x48]
mov byte [esi + 0x48], al
mov eax, ecx
sub eax, esi
mov esi, eax
mov al, byte [esi + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub edi, 1
jne 0x100171e4
call fcn.10012f00
mov esi, dword [ebp - 0x40]
mov dword [esi + 0x64], eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 0x100c7cf0
call fcn.1005566c
add esp, 4
cmp dword [0x100c7cf0], 0xffffffff
jne 0x100168e0
mov edx, str.A3_________66_0F_6E_86
mov ecx, 0x100b75f8
call fcn.100121d0
inc eax
push 0x100c7cf0
mov dword [0x100c7cf8], eax
call fcn.10055622
add esp, 4
jmp 0x100168e0
push 0x100c6cd4
call fcn.1005566c
add esp, 4
cmp dword [0x100c6cd4], 0xffffffff
jne 0x10016ac4
mov dword [ebp - 4], 0
call fcn.10005de0
mov ecx, dword [0x100b7f0c]
mov esi, eax
movq xmm0, qword [str.m_flNextAttack]
mov dword [ebp - 0x50], ecx
mov cx, word [0x100b7f10]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0xe
movq qword [ebp - 0x58], xmm0
mov word [ebp - 0x4c], cx
mov byte [ebp - 0x4a], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
push 0x16
mov dword [ebp - 0x38], 0
push str.DT_BaseCombatCharacter
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.10003580
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.100537d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
mov dword [0x100c6ce4], eax
cmp edx, 0x10
jb 0x1001732a
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001731e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017356
jmp 0x1001731e
push edx
push ecx
call fcn.10055494
add esp, 8
jmp 0x1001732a
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10017367
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001735b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001735b
jmp 0x10017356
call fcn.10059ddf
push edx
push ecx
call fcn.10055494
add esp, 8
jmp 0x10017367
push 0x100c6cd4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10055622
add esp, 4
jmp 0x10016ac4
push 0x100c6d70
call fcn.1005566c
add esp, 4
cmp dword [0x100c6d70], 0xffffffff
jne 0x10016afb
mov dword [ebp - 4], 3
call fcn.10005de0
push 0x15
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push str.m_flNextPrimaryAttack
mov esi, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.10003580
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
push 0x13
mov dword [ebp - 0x70], 0
push str.DT_BaseCombatWeapon
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.10003580
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.100537d0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x5c]
mov dword [0x100c6cdc], eax
cmp edx, 0x10
jb 0x1001745e
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017452
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001748a
jmp 0x10017452
push edx
push ecx
call fcn.10055494
add esp, 8
jmp 0x1001745e
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x1001749b
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001748f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001748f
jmp 0x1001748a
call fcn.10059ddf
push edx
push ecx
call fcn.10055494
add esp, 8
jmp 0x1001749b
push 0x100c6d70
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10055622
add esp, 4
jmp 0x10016afb
push 0x100c6d7c
call fcn.1005566c
add esp, 4
cmp dword [0x100c6d7c], 0xffffffff
jne 0x10016b8b
mov dword [ebp - 4], 6
call fcn.10005de0
movq xmm0, qword [str.m_bPinPulled]
mov esi, eax
mov ecx, dword [0x100b7eb0]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0xc
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
push 0x10
mov dword [ebp - 0x70], 0
push str.DT_BaseCSGrenade
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.10003580
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.100537d0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x5c]
mov dword [0x100c6d60], eax
cmp edx, 0x10
jb 0x10017592
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017586
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100175be
jmp 0x10017586
push edx
push ecx
call fcn.10055494
add esp, 8
jmp 0x10017592
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x100175cf
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100175c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100175c3
jmp 0x100175be
call fcn.10059ddf
push edx
push ecx
call fcn.10055494
add esp, 8
jmp 0x100175cf
push 0x100c6d7c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10055622
add esp, 4
jmp 0x10016b8b
push 0x100c7cf0
call fcn.1005566c
add esp, 4
cmp dword [0x100c7cf0], 0xffffffff
jne 0x10017010
mov edx, str.A3_________66_0F_6E_86
mov ecx, 0x100b75f8
call fcn.100121d0
inc eax
push 0x100c7cf0
mov dword [0x100c7cf8], eax
call fcn.10055622
add esp, 4
jmp 0x10017010
push 0x100c7cec
call fcn.1005566c
add esp, 4
cmp dword [0x100c7cec], 0xffffffff
jne 0x10017037
mov edx, str.89_35_________F3_0F_10_48
mov ecx, 0x100b75f8
call fcn.100121d0
add eax, 2
push 0x100c7cec
mov dword [0x100c7cf4], eax
call fcn.10055622
add esp, 4
jmp 0x10017037