Function at 0x1006c878
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x100febe0
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 0x10144b9e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3b8
mov eax, dword [0x10165f34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov ecx, 0x108cb880
call fcn.1006d309
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x1a], 0
mov eax, dword [0x108c6a3c]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x108c566c]
cmp eax, dword [edx + 0x104]
jle 0x100fec93
push 0x108c566c
call fcn.1006d403
add esp, 4
cmp dword [0x108c566c], 0xffffffff
jne 0x100fec93
mov ecx, 0x108c5650
call fcn.1006c10c
push 0x1014a740
call fcn.1006bfae
add esp, 4
push 0x108c566c
call fcn.1006d49e
add esp, 4
push 0x1014fefa
lea ecx, [ebp - 0x38]
call fcn.1006a947
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0x109
mov dword [ebp - 0x44], 0
push 0x1014fefa
lea eax, [ebx + 0xc]
push eax
call fcn.1006bd83
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x100fecda
mov dword [ebp - 0x44], 0
jmp 0x100fece1
mov dword [ebp - 0x44], 0xe
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x100fed46
push 0x11
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
add edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x107c]
add ecx, 0x14
push ecx
mov ecx, dword [0x108c6388]
call fcn.1006a3f2
movzx edx, al
test edx, edx
je 0x100fed46
movzx eax, byte [0x108c5627]
test eax, eax
jne 0x100fed46
lea eax, [ebx + 0xc]
push eax
mov ecx, 0x108c5650
call fcn.1006ac44
mov byte [ebp - 0x19], 1
mov byte [0x108c5627], 1
jmp 0x100fed8c
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x100fed8c
push 0x14
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
add edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x107c]
add ecx, 0x14
push ecx
mov ecx, dword [0x108c6388]
call fcn.1006a3f2
movzx edx, al
test edx, edx
je 0x100fed8c
mov byte [0x108c5627], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100fedd5
movzx eax, byte [0x108c564c]
test eax, eax
jne 0x100fedcc
movzx eax, byte [0x108c5626]
test eax, eax
jne 0x100fedb6
mov dword [ebp - 0x3b4], 1
jmp 0x100fedc0
mov dword [ebp - 0x3b4], 0
mov cl, byte [ebp - 0x3b4]
mov byte [0x108c5626], cl
mov byte [0x108c564c], 1
jmp 0x100feddc
mov byte [0x108c564c], 0
lea eax, [ebx + 0xc]
push eax
push 0x108c5650
call fcn.1006d24b
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x100fedfc
mov al, byte [0x108c5626]
mov byte [ebp - 0x1a], al
lea ecx, [ebx + 0xc]
call fcn.1006cd50
mov dword [ebp - 0x3b4], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1080]
push edx
push 0x8f
push 0x8f
push 0x8f
lea ecx, [ebp - 0x104]
call fcn.1006a230
mov ecx, dword [eax]
mov dword [ebp - 0x118], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x114], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x110], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
sub edx, 3
mov dword [ebp - 0x3bc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x107c]
add ecx, 0x14
mov dword [ebp - 0x3c0], ecx
mov edx, dword [ebp - 0x3b4]
push edx
push 0
mov eax, dword [ebp - 0x3b8]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x158]
mov dword [ecx], edx
mov eax, dword [ebp - 0x154]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x150]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x3bc]
push ecx
mov edx, dword [ebp - 0x3c0]
push edx
mov eax, dword [0x108c6388]
push eax
call fcn.1006ad8e
add esp, 0x28
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1080]
push ecx
push 0x2b
push 0x2b
push 0x2b
lea ecx, [ebp - 0x168]
call fcn.1006a230
mov edx, dword [eax]
mov dword [ebp - 0x178], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x174], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x170], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x17c], ecx
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
mov edx, dword [ebp - 0x44]
lea eax, [ecx + edx - 2]
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x107c]
add edx, 0x14
mov dword [ebp - 0x3b8], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x198]
mov dword [eax], ecx
mov edx, dword [ebp - 0x194]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x190]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18c]
mov dword [eax + 0xc], edx
push 0x14
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x3b4]
push ecx
mov edx, dword [ebp - 0x3b8]
push edx
mov ecx, dword [0x108c6388]
call fcn.1006a082
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1080]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1006a230
mov edx, dword [eax]
mov dword [ebp - 0x1b8], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x1b0], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c8], ecx
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1cc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
mov edx, dword [ebp - 0x44]
lea eax, [ecx + edx - 2]
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x107c]
add edx, 0x14
mov dword [ebp - 0x3b8], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x1d8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1d4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1d0]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x1cc]
mov dword [eax + 0xc], edx
push 0x14
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x3b4]
push ecx
mov edx, dword [ebp - 0x3b8]
push edx
mov ecx, dword [0x108c6388]
call fcn.1006b504
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x100ff861
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1080]
push ecx
push 0x2b
push 0x2b
push 0x2b
lea ecx, [ebp - 0x1e8]
call fcn.1006a230
mov edx, dword [eax]
mov dword [ebp - 0x1f8], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x1f0], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
mov edx, dword [ebp - 0x44]
lea eax, [ecx + edx + 0x15]
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x107c]
add edx, 0x14
mov dword [ebp - 0x3b8], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x218]
mov dword [eax], ecx
mov edx, dword [ebp - 0x214]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x210]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x20c]
mov dword [eax + 0xc], edx
movss xmm0, dword [ebx + 8]
mulss xmm0, dword [0x10156534]
cvttss2si eax, xmm0
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x3b4]
push edx
mov eax, dword [ebp - 0x3b8]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006a082
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1080]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x228]
call fcn.1006a230
mov edx, dword [eax]
mov dword [ebp - 0x238], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x234], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x230], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x24c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
mov edx, dword [ebp - 0x44]
lea eax, [ecx + edx + 0x15]
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x107c]
add edx, 0x14
mov dword [ebp - 0x3b8], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x258]
mov dword [eax], ecx
mov edx, dword [ebp - 0x254]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x250]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24c]
mov dword [eax + 0xc], edx
movss xmm0, dword [ebx + 8]
mulss xmm0, dword [0x10156534]
cvttss2si eax, xmm0
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x3b4]
push edx
mov eax, dword [ebp - 0x3b8]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006b504
mov dword [ebp - 0x48], 0
jmp 0x100ff406
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
cvtsi2ss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebx + 8]
comiss xmm1, xmm0
jbe 0x100ff861
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x100ff4a3
push 0x14
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
add edx, dword [ebp - 0x44]
imul eax, dword [ebp - 0x48], 0x13
lea ecx, [edx + eax + 0x17]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x107c]
add eax, 0x14
push eax
mov ecx, dword [0x108c6388]
call fcn.1006a3f2
movzx ecx, al
test ecx, ecx
je 0x100ff4a3
movzx eax, byte [0x108c5625]
test eax, eax
je 0x100ff49c
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x48]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x100ff484
mov dword [ebp - 0x3b4], 1
jmp 0x100ff48e
mov dword [ebp - 0x3b4], 0
mov edx, dword [ebx + 0x2c]
add edx, dword [ebp - 0x48]
mov al, byte [ebp - 0x3b4]
mov byte [edx], al
mov byte [0x108c5625], 0
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x100ff4fc
push 0x14
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
add edx, dword [ebp - 0x44]
imul eax, dword [ebp - 0x48], 0x13
lea ecx, [edx + eax + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x107c]
add eax, 0x14
push eax
mov ecx, dword [0x108c6388]
call fcn.1006a3f2
movzx ecx, al
test ecx, ecx
je 0x100ff4fc
movzx eax, byte [0x108c5625]
test eax, eax
jne 0x100ff4fc
mov byte [0x108c5625], 1
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x48]
movzx ecx, byte [eax]
test ecx, ecx
je 0x100ff6b7
imul ecx, dword [ebp - 0x48], 0x1c
add ecx, dword [ebx + 0x28]
call fcn.1006cd50
mov dword [ebp - 0x3b4], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1080]
push edx
push 0xff
push 0xff
push 0xff
lea ecx, [ebp - 0x268]
call fcn.1006a230
mov ecx, dword [eax]
mov dword [ebp - 0x278], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x274], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x270], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x298], ecx
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0x2a8], edx
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x29c], edx
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2b4], ecx
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2b0], edx
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2ac], eax
imul ecx, dword [ebp - 0x48], 0x13
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1078]
add eax, dword [ebp - 0x44]
lea ecx, [eax + ecx + 0x17]
mov dword [ebp - 0x3bc], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x107c]
add eax, 0x19
mov dword [ebp - 0x3c0], eax
mov ecx, dword [ebp - 0x3b4]
push ecx
push 0
mov edx, dword [ebp - 0x3b8]
push edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x2b8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2b4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2b0]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x2ac]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x3bc]
push eax
mov ecx, dword [ebp - 0x3c0]
push ecx
mov edx, dword [0x108c6388]
push edx
call fcn.1006ad8e
add esp, 0x28
jmp 0x100ff85c
imul ecx, dword [ebp - 0x48], 0x1c
add ecx, dword [ebx + 0x28]
call fcn.1006cd50
mov dword [ebp - 0x3b4], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1080]
push edx
push 0xb9
push 0xb9
push 0xb9
lea ecx, [ebp - 0x2c8]
call fcn.1006a230
mov ecx, dword [eax]
mov dword [ebp - 0x2d8], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x2d4], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2d0], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x2cc], edx
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2e0], edx
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2f8], ecx
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2f4], edx
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2ec], ecx
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x308], edx
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x300], ecx
mov edx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2fc], edx
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x304]
mov dword [ebp - 0x314], ecx
mov edx, dword [ebp - 0x300]
mov dword [ebp - 0x310], edx
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x30c], eax
imul ecx, dword [ebp - 0x48], 0x13
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1078]
add eax, dword [ebp - 0x44]
lea ecx, [eax + ecx + 0x17]
mov dword [ebp - 0x3bc], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x107c]
add eax, 0x19
mov dword [ebp - 0x3c0], eax
mov ecx, dword [ebp - 0x3b4]
push ecx
push 0
mov edx, dword [ebp - 0x3b8]
push edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x318]
mov dword [eax], ecx
mov edx, dword [ebp - 0x314]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x310]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x30c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x3bc]
push eax
mov ecx, dword [ebp - 0x3c0]
push ecx
mov edx, dword [0x108c6388]
push edx
call fcn.1006ad8e
add esp, 0x28
jmp 0x100ff3fd
mov byte [ebp - 0x49], 0
mov dword [ebp - 0x50], 0
jmp 0x100ff877
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
cvtsi2ss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebx + 8]
comiss xmm1, xmm0
jbe 0x100ff8a3
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x50]
movzx ecx, byte [eax]
test ecx, ecx
je 0x100ff8a1
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x50]
jge 0x100ff8a1
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
jmp 0x100ff86e
mov dword [ebp - 0x54], 0
jmp 0x100ff8b5
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
cvtsi2ss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebx + 8]
comiss xmm1, xmm0
jbe 0x100ffa08
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x54]
movzx ecx, byte [eax]
test ecx, ecx
je 0x100ffa03
mov byte [ebp - 0x49], 1
lea ecx, [ebp - 0x38]
call fcn.1006cd50
mov dword [ebp - 0x3b4], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b4]
push ecx
mov edx, dword [ebp - 0x3b8]
push edx
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006d921
imul ecx, dword [ebp - 0x54], 0x1c
add ecx, dword [ebx + 0x28]
call fcn.1006cd50
mov dword [ebp - 0x3b4], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b4]
push ecx
mov edx, dword [ebp - 0x3b8]
push edx
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006d921
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x40]
jge 0x100ffa03
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x54]
jne 0x100ff970
mov dword [ebp - 0x3b4], 0x1014fefa
jmp 0x100ff97a
mov dword [ebp - 0x3b4], 0x1015634c
mov ecx, dword [ebp - 0x3b4]
push ecx
mov edx, dword [ebp - 0x54]
push edx
lea eax, [ebp - 0x334]
push eax
call fcn.1006a541
add esp, 8
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3bc]
push edx
lea eax, [ebp - 0x350]
push eax
call fcn.1006daa2
add esp, 0xc
mov dword [ebp - 0x3c0], eax
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x3c4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x3c4]
push edx
lea ecx, [ebp - 0x38]
call fcn.1006c2a6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x350]
call fcn.1006bd38
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x334]
call fcn.1006bd38
jmp 0x100ff8ac
movzx eax, byte [ebp - 0x49]
test eax, eax
jne 0x100ffa1d
push str.Disabled
lea ecx, [ebp - 0x38]
call fcn.1006c3f0
lea ecx, [ebp - 0x38]
call fcn.1006cd50
mov dword [ebp - 0x3b4], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1080]
push edx
push 0x8f
push 0x8f
push 0x8f
lea ecx, [ebp - 0x360]
call fcn.1006a230
mov ecx, dword [eax]
mov dword [ebp - 0x370], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x36c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x368], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x364], edx
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x36c]
mov dword [ebp - 0x37c], ecx
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x378], edx
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x390], ecx
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x38c], edx
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x374]
mov dword [ebp - 0x384], ecx
mov edx, dword [ebp - 0x390]
mov dword [ebp - 0x3a0], edx
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x388]
mov dword [ebp - 0x398], ecx
mov edx, dword [ebp - 0x384]
mov dword [ebp - 0x394], edx
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x39c]
mov dword [ebp - 0x3ac], ecx
mov edx, dword [ebp - 0x398]
mov dword [ebp - 0x3a8], edx
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
mov eax, dword [ebp - 0x44]
lea ecx, [edx + eax + 1]
mov dword [ebp - 0x3bc], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x107c]
add eax, 0x19
mov dword [ebp - 0x3c0], eax
mov ecx, dword [ebp - 0x3b4]
push ecx
push 0
mov edx, dword [ebp - 0x3b8]
push edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x3b0]
mov dword [eax], ecx
mov edx, dword [ebp - 0x3ac]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x3a8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x3a4]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x3bc]
push eax
mov ecx, dword [ebp - 0x3c0]
push ecx
mov edx, dword [0x108c6388]
push edx
call fcn.1006ad8e
add esp, 0x28
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x100ffbf5
movss xmm0, dword [ebx + 8]
mulss xmm0, dword [0x10153248]
addss xmm0, dword [0x10156538]
mov eax, dword [ebp - 0x18]
cvtsi2ss xmm1, dword [eax + 0x1078]
addss xmm1, xmm0
cvttss2si ecx, xmm1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1078], ecx
jmp 0x100ffc0a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
add ecx, 0x29
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1078], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.1006bd38
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.1006bd38
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.1006b644
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x28