Function at 0x10078100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e663c
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10122094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x84], 0
push 0x1c
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], 0
push str.Always_Show_Item_Stat_Ranges
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x1012f2d0
mov dword [ebp - 0x84], 1
call fcn.1005ae70
cmp byte [eax + 4], 0
jne 0x100781af
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x100781bc
test ebx, ebx
je 0x100781bc
cmp dword [ebx], 4
mov byte [ebp - 0x79], 0
je 0x100781c0
mov byte [ebp - 0x79], 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100781fb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100781f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10078957
push edx
push ecx
call fcn.100b4eda
add esp, 8
cmp byte [ebp - 0x79], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jne 0x10078939
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
mov edx, ecx
sub edx, 5
je 0x100787a0
sub edx, 2
je 0x1007875c
test dword [eax + 0x18], 0x4000000
je 0x1007844c
movzx ebx, word [eax + 0x38]
call fcn.1003b260
mov esi, 1
mov edi, dword [eax]
cmp edi, esi
jle 0x10078939
push esi
call fcn.1003b230
test eax, eax
je 0x10078939
cmp dword [eax + 0x82], ebx
je 0x10078275
inc esi
cmp esi, edi
jl 0x10078255
jmp 0x10078939
push dword [ebp - 0x78]
add eax, 0xb0
mov edx, 7
push dword [ebp - 0x88]
mov ecx, eax
mov dword [ebp - 0x84], eax
call fcn.10078970
add esp, 8
test eax, eax
je 0x10078939
mov ecx, dword [eax + 0xc]
mov edx, 7
mov edi, dword [eax + 8]
mov esi, ecx
push eax
push dword [ebp - 0x88]
mov dword [ebp - 0x90], ecx
mov ebx, edi
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x78], ebx
call fcn.10078ae0
add esp, 8
test eax, eax
je 0x100782e0
add ebx, dword [eax + 8]
add esi, dword [eax + 0xc]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], esi
cmp edi, dword [ebp - 0x90]
je 0x10078939
mov esi, dword [ebp - 0x8c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100782f5
sub esi, ecx
mov edi, 0x80
sar esi, 1
xor eax, eax
sub edi, esi
test edi, edi
cmovle edi, eax
mov eax, dword [ebp - 0x88]
cmp eax, 0xd8
je 0x10078334
cmp eax, 0xd9
je 0x10078334
cmp eax, 0xdb
je 0x10078334
cmp eax, 0xda
jne 0x10078365
push 0
push 0xc
call fcn.10036be0
push eax
call fcn.1003b0b0
imul eax, ebx
push 0
push 0xc
sar eax, 3
mov dword [ebp - 0x78], eax
call fcn.10036be0
push eax
call fcn.1003b0b0
imul eax, dword [ebp - 0x74]
sar eax, 3
mov dword [ebp - 0x74], eax
test edi, edi
je 0x10078939
mov edx, 3
lea ecx, [ebp - 0x58]
call fcn.10040e80
mov ebx, eax
mov dword [ebp - 4], 2
cmp dword [ebx + 0x14], 8
jb 0x1007838b
mov ebx, dword [ebx]
mov edx, dword [0x10122ebc]
lea ecx, [ebp - 0x28]
call fcn.10040e80
cmp dword [eax + 0x14], 8
jb 0x100783a1
mov eax, dword [eax]
push ebx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x8c]
push 0x10106134
push edi
lea eax, [eax + esi*2]
push eax
call fcn.10071050
mov edx, dword [ebp - 0x14]
add esp, 0x1c
cmp edx, 8
jb 0x100783fb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100783f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007895c
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x10078939
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007892f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007895c
jmp 0x1007892f
cmp ecx, 4
je 0x1007845f
cmp ecx, 6
je 0x1007845f
cmp ecx, 8
jne 0x10078939
push 1
call fcn.1003b1a0
mov ecx, dword [0x1012f2c8]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x80], esi
push ebx
mov dword [ebp - 0x74], edi
mov ecx, dword [ecx]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x94], eax
call fcn.1003b1d0
mov eax, dword [0x1012f2d8]
mov ecx, 1
mov eax, dword [eax]
movzx eax, byte [eax + 0x1eb]
and eax, 0x20
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x84], ecx
cmp word [eax + 0x36], 0
jne 0x100784cf
cmp ecx, dword [ebp - 0x94]
jg 0x100785f3
push ecx
call fcn.1003b1a0
mov edx, eax
mov dword [ebp - 0x90], edx
test edx, edx
je 0x100785f3
cmp dword [ebp - 0x98], 0
movzx ecx, word [edx + 0x22]
je 0x100784fd
test cx, cx
je 0x10078593
jmp 0x10078506
cmp ecx, 1
jne 0x10078593
cmp dword [edx + 0x58], 0x63
ja 0x10078593
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
cmp eax, 8
jae 0x10078521
cmp word [edx + 0x54], 0
je 0x10078593
cmp eax, 6
jb 0x1007852c
cmp byte [edx + 0x64], 0
je 0x10078593
xor edi, edi
lea esi, [edx + 0x78]
movzx eax, word [esi]
mov ecx, 0xffff
test ax, ax
je 0x1007855c
cmp ax, cx
je 0x1007855c
push eax
push ebx
call fcn.1003b200
test eax, eax
jne 0x1007858d
inc edi
add esi, 2
cmp edi, 5
jl 0x10078531
mov ecx, 0xffff
mov esi, dword [ebp - 0x90]
xor edi, edi
add esi, 0x6a
movzx eax, word [esi]
test ax, ax
je 0x1007858d
cmp ax, cx
je 0x1007858d
push eax
push ebx
call fcn.1003b200
test eax, eax
jne 0x1007859f
inc edi
add esi, 2
mov ecx, 0xffff
cmp edi, 7
jl 0x10078567
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x84]
inc ecx
jmp 0x100784b3
mov ecx, dword [ebp - 0x90]
mov edx, 3
push dword [ebp - 0x78]
push dword [ebp - 0x88]
lea ecx, [ecx + 0x24]
call fcn.10078970
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x1007858d
mov esi, dword [ebp - 0x80]
test esi, esi
jne 0x100785d0
mov esi, dword [ecx + 8]
jmp 0x100785d7
cmp dword [ecx + 8], esi
cmovl esi, dword [ecx + 8]
mov edi, dword [ebp - 0x74]
cmp dword [ecx + 0xc], edi
mov dword [ebp - 0x80], esi
cmovg edi, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x74], edi
inc ecx
jmp 0x100784b3
cmp esi, edi
jge 0x10078939
mov esi, dword [ebp - 0x8c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10078604
sub esi, ecx
mov edi, 0x80
sar esi, 1
xor eax, eax
sub edi, esi
test edi, edi
cmovle edi, eax
mov eax, dword [ebp - 0x88]
cmp eax, 0xdb
je 0x10078643
cmp eax, 0xda
je 0x10078643
cmp eax, 0xd8
je 0x10078643
cmp eax, 0xd9
jne 0x10078675
push 0
push 0xc
call fcn.10036be0
push eax
call fcn.1003b0b0
imul eax, dword [ebp - 0x80]
push 0
push 0xc
sar eax, 3
mov dword [ebp - 0x80], eax
call fcn.10036be0
push eax
call fcn.1003b0b0
imul eax, dword [ebp - 0x74]
sar eax, 3
mov dword [ebp - 0x74], eax
test edi, edi
je 0x10078939
mov edx, 3
lea ecx, [ebp - 0x70]
call fcn.10040e80
mov ebx, eax
mov dword [ebp - 4], 3
cmp dword [ebx + 0x14], 8
jb 0x1007869b
mov ebx, dword [ebx]
mov edx, dword [0x10122ebc]
lea ecx, [ebp - 0x40]
call fcn.10040e80
cmp dword [eax + 0x14], 8
jb 0x100786b1
mov eax, dword [eax]
push ebx
push dword [ebp - 0x74]
push dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x8c]
push 0x10106134
push edi
lea eax, [eax + esi*2]
push eax
call fcn.10071050
mov edx, dword [ebp - 0x2c]
add esp, 0x1c
cmp edx, 8
jb 0x1007870b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10078701
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10078961
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x10078939
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007892f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10078961
jmp 0x1007892f
imul ecx, dword [eax + 0x28], 0x14c
mov eax, dword [0x1012f298]
mov eax, dword [eax]
add ecx, dword [eax + 0xc24]
je 0x10078939
push dword [ebp - 0x78]
lea edi, [ecx + 0x8c]
mov edx, 0xc
push esi
mov ecx, edi
call fcn.10078970
mov esi, eax
add esp, 8
test esi, esi
je 0x10078939
mov edx, 0xc
jmp 0x100787e2
imul ecx, dword [eax + 0x28], 0x1b8
mov eax, dword [0x1012f298]
mov eax, dword [eax]
add ecx, dword [eax + 0xc18]
je 0x10078939
push dword [ebp - 0x78]
lea edi, [ecx + 0x88]
mov edx, 0x13
push esi
mov ecx, edi
call fcn.10078970
mov esi, eax
add esp, 8
test esi, esi
je 0x10078939
mov edx, 0x13
push esi
push dword [ebp - 0x88]
mov ecx, edi
call fcn.10078ae0
mov ecx, dword [esi + 0xc]
add esp, 8
mov ebx, dword [esi + 8]
mov dword [ebp - 0x78], ecx
test eax, eax
je 0x10078809
add ebx, dword [eax + 8]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x78], ecx
cmp ebx, ecx
jge 0x10078939
mov esi, dword [ebp - 0x8c]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10078820
sub esi, ecx
mov edi, 0x80
sar esi, 1
xor eax, eax
sub edi, esi
test edi, edi
cmovle edi, eax
mov eax, dword [ebp - 0x88]
cmp eax, 0xd8
je 0x1007885f
cmp eax, 0xd9
je 0x1007885f
cmp eax, 0xdb
je 0x1007885f
cmp eax, 0xda
jne 0x1007888d
push 0
push 0xc
call fcn.10036be0
push eax
call fcn.1003b0b0
imul ebx, eax
push 0
push 0xc
sar ebx, 3
call fcn.10036be0
push eax
call fcn.1003b0b0
imul eax, dword [ebp - 0x78]
sar eax, 3
mov dword [ebp - 0x78], eax
test edi, edi
je 0x10078939
mov edx, 3
lea ecx, [ebp - 0x58]
call fcn.10040e80
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x100788bd
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov edx, dword [0x10122ebc]
lea ecx, [ebp - 0x28]
call fcn.10040e80
cmp dword [eax + 0x14], 8
jb 0x100788d3
mov eax, dword [eax]
push dword [ebp - 0x84]
push dword [ebp - 0x78]
push ebx
push eax
mov eax, dword [ebp - 0x8c]
push 0x10106134
push edi
lea eax, [eax + esi*2]
push eax
call fcn.10071050
mov edx, dword [ebp - 0x14]
add esp, 0x1c
cmp edx, 8
jb 0x100783fb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100783f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007895c
jmp 0x100783f1
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b4e9c
mov esp, ebp
pop ebp
ret 0x10
call fcn.100ba49f
call fcn.100ba49f
call fcn.100ba49f
int3