joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57f770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x122000]
push edi
jmp 0x57f78a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57f791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f780
mov eax, 1
add ebx, ebx
jne 0x57f7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57f7b4
jne 0x57f7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7d3
dec eax
add ebx, ebx
jne 0x57f7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57f798
add ebx, ebx
jne 0x57f7cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57f825
xor ecx, ecx
sub eax, 3
jb 0x57f7eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57f85a
sar eax, 1
mov ebp, eax
jmp 0x57f7f6
add ebx, ebx
jne 0x57f7f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
inc ecx
add ebx, ebx
jne 0x57f804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
add ebx, ebx
jne 0x57f811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57f806
jne 0x57f822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57f806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57f844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57f836
jmp 0x57f786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57f844
add edi, ecx
jmp 0x57f786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57f862
cmp byte [edi], 0x11
jne 0x57f862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x57f867
lea edi, [esi + 0x178000]
mov eax, dword [edi]
or eax, eax
je 0x57f8df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2196c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21983c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57f894
mov ecx, edi
jns 0x57f8c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x219840]
or eax, eax
je 0x57f8d9
mov dword [ebx], eax
add ebx, 4
jmp 0x57f8b1
call dword [esi + 0x219850]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57f910
cmp al, 0xef
ja 0x57f903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57f8e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57f8f2
mov ebp, dword [esi + 0x219844]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x57f944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x4061be
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43189c], 0
push esi
jne 0x4061f5
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4061cf
mov dword [ecx*4 + 0x431898], eax
inc ecx
cmp ecx, 0x100
jl 0x4061ca
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406226
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431898]
xor eax, esi
inc ecx
dec edx
jne 0x406208
pop edi
not eax
pop esi
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x381241
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x8142f80
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x14f4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.014f41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x14f407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14f406a
add dl, dl
jne 0x14f4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14f40dc
xor eax, eax
add dl, dl
jne 0x14f4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14f417d
add dl, dl
jne 0x14f40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14f40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14f40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14f40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x14f40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x14f4075
mov eax, 1
add dl, dl
jne 0x14f40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14f40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14f40e1
sub eax, ebx
mov ebx, 1
jne 0x14f4128
mov ecx, 1
add dl, dl
jne 0x14f410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14f4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14f4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14f4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14f413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14f414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14f4136
cmp eax, 0x7d00
jae 0x14f416d
cmp eax, 0x500
jb 0x14f4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14f4075
cmp eax, 0x7f
ja 0x14f4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14f4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x14f419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x14f4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100030b0
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x100030e3
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [esp + 0xc]
push 0x10002cc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100030e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 0xc

Function at 0x10003ad0
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
jne 0x10003ad9
mov eax, edx
ret
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
jmp fcn.10003ad0
Function at 0x1000ee00
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, ecx
mov ecx, dword [0x101c176c]
push esi
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je case.default.0x1000ef1b
mov ecx, dword [0x101c176c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je case.default.0x1000ef1b
mov edi, dword [0x101f764c]
test edi, edi
je case.default.0x1000ef1b
mov eax, dword [0x101f7648]
test eax, eax
jne 0x1000ee74
mov edx, 0xe80c2f78
mov ecx, 0x1014c9ed
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7648], eax
cmp dword [eax + edi], 0
jle case.default.0x1000ef1b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x1000ee94
mov esi, 0x811c9dc5
jmp 0x1000eeaa
movsx eax, al
inc ecx
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.10003ad0
mov esi, eax
mov ecx, dword [ebx]
push 0
push str.attacker
mov edx, dword [ecx + 0x18]
mov ecx, ebx
call edx
mov ecx, dword [0x101c176c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x101f75d0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
test eax, eax
je case.default.0x1000ef1b
test esi, esi
je case.default.0x1000ef1b
cmp esi, 0x1b30ddf0
jne case.default.0x1000ef1b
cmp eax, dword [0x101f764c]
jne case.default.0x1000ef1b
cmp byte [0x101f76f0], 0
mov dword [0x101f76e4], 0xff
je case.default.0x1000ef1b
mov eax, dword [0x101f7740]
cmp eax, 3
ja case.default.0x1000ef1b
jmp dword [eax*4 + 0x1000ef88]
mov ecx, dword [0x101f76e0]
push str.buttons_arena_switch_press_02.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x101f76e0]
push str.buttons_button22.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x101f76e0]
push str.survivalmoney_collect_01.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x101f76e0]
push str.Ui_beep07.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop edi
pop esi
pop ebx
ret
Function at 0x10012950
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x101f764c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10012b3b
mov eax, dword [0x101f7648]
test eax, eax
jne 0x1001299a
mov edx, 0xe80c2f78
mov ecx, 0x1014c9ed
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7648], eax
cmp dword [eax + ebx], 0
jle 0x10012b3b
call fcn.1000a2e0
cmp eax, 9
je 0x10012b3b
cmp eax, 8
je 0x10012b3b
cmp eax, 0xa
je 0x10012b3b
cmp byte [0x101f78d2], 0
je 0x10012b3b
mov ecx, dword [0x101be28c]
mov eax, dword [0x101f78fc]
cmp ecx, 3
ja case.0x100129e1.0
jmp dword [ecx*4 + 0x10012b40]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10012a19
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10012a19
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10012b3b
test byte [0x101f79b0], 1
je 0x10012b34
mov eax, dword [0x101f7680]
mov ebx, dword [0x101f764c]
test eax, eax
jne 0x10012a6b
mov edx, 0xe80c2f78
mov ecx, 0x101985a5
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7680], eax
test byte [eax + ebx], 1
jne 0x10012b34
cmp byte [0x101f791d], 0
je 0x10012b25
cmp byte [0x101f7904], 0
je 0x10012b25
mov eax, dword [0x101f78dc]
test al, al
je 0x10012ab8
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x101f78dc]
test ah, ah
je 0x10012ad7
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78de], 0
je 0x10012afe
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78df], 0
je 0x10012b25
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
or dword [edi + 0x30], 2
mov byte [0x101fcda2], 1
pop edi
pop esi
pop ebx
ret
mov byte [0x101fcda2], 0
pop edi
pop esi
pop ebx
ret
Function at 0x10012b50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x101f764c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10012dad
mov eax, dword [0x101f7648]
test eax, eax
jne 0x10012b9a
mov edx, 0xe80c2f78
mov ecx, 0x1014c9ed
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7648], eax
cmp dword [eax + ebx], 0
jle 0x10012dad
cmp byte [0x101f78e0], 0
je 0x10012dad
call fcn.1000a2e0
cmp eax, 9
je 0x10012dad
cmp eax, 8
je 0x10012dad
cmp eax, 0xa
je 0x10012dad
mov ecx, dword [0x101f7680]
mov ebx, dword [0x101f764c]
test ecx, ecx
jne 0x10012c12
mov edx, 0xe80c2f78
mov ecx, 0x101985a5
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov ecx, eax
mov dword [0x101f7680], ecx
test byte [ecx + ebx], 1
mov eax, dword [0x101f75d8]
je 0x10012c28
mov edx, dword [eax + 0x1c]
mov dword [0x101f2ef8], edx
jmp 0x10012c2e
mov edx, dword [0x101f2ef8]
mov eax, dword [eax + 0x1c]
mov esi, dword [0x101be2f0]
sub eax, edx
mov edx, dword [0x101f78b4]
cmp eax, 2
setle al
mov byte [0x101f7988], al
cmp esi, 3
ja case.0x10012c4f.0
jmp dword [esi*4 + 0x10012db4]
push edx
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10012c87
push edx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10012c87
push edx
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10012dad
mov al, byte [0x101f7988]
mov ecx, dword [0x101f7680]
test al, al
je 0x10012da6
mov ebx, dword [0x101f764c]
test ecx, ecx
jne 0x10012cdd
mov edx, 0xe80c2f78
mov ecx, 0x101985a5
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov ecx, eax
mov dword [0x101f7680], ecx
test byte [ecx + ebx], 1
jne 0x10012da6
cmp byte [0x101f791d], 0
je 0x10012d97
cmp byte [0x101f7907], 0
je 0x10012d97
mov eax, dword [0x101f78dc]
test al, al
je 0x10012d2a
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x101f78dc]
test ah, ah
je 0x10012d49
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78de], 0
je 0x10012d70
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78df], 0
je 0x10012d97
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
or dword [edi + 0x30], 4
mov byte [0x101fcda1], 1
pop edi
pop esi
pop ebx
ret
mov byte [0x101fcda1], 0
pop edi
pop esi
pop ebx
ret
Function at 0x10012dd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x101f764c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10012fcb
mov eax, dword [0x101f7648]
test eax, eax
jne 0x10012e1a
mov edx, 0xe80c2f78
mov ecx, 0x1014c9ed
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7648], eax
cmp dword [eax + ebx], 0
jle 0x10012fcb
call fcn.1000a2e0
cmp eax, 9
je 0x10012fcb
cmp eax, 8
je 0x10012fcb
cmp eax, 0xa
je 0x10012fcb
cmp byte [0x101f78bb], 0
je 0x10012fcb
mov ecx, dword [0x101be2c4]
mov eax, dword [0x101f7934]
cmp ecx, 3
ja case.0x10012e61.0
jmp dword [ecx*4 + 0x10012fd0]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10012e99
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10012e99
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10012fcb
test byte [0x101f79b0], 1
je 0x10012fc4
mov eax, dword [0x101f7680]
mov ebx, dword [0x101f764c]
test eax, eax
jne 0x10012eeb
mov edx, 0xe80c2f78
mov ecx, 0x101985a5
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7680], eax
test byte [eax + ebx], 1
jne 0x10012fc4
cmp byte [0x101f791d], 0
je 0x10012f22
cmp byte [0x101f7905], 0
je 0x10012f22
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78dd], 0
lea esi, [edi + 0x30]
je 0x10012f48
mov ecx, dword [0x101c176c]
and dword [esi], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78de], 0
je 0x10012f6e
mov ecx, dword [0x101c176c]
and dword [esi], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78df], 0
mov ecx, esi
je 0x10012f99
mov ecx, dword [0x101c176c]
and dword [esi], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
lea ecx, [edi + 0x30]
cmp byte [0x101f790c], 0
mov byte [0x101fcda0], 1
je 0x10012fb7
or dword [esi], 2
mov eax, dword [esi]
or eax, 4
mov dword [ecx], eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi]
mov ecx, esi
or eax, 4
mov dword [ecx], eax
pop edi
pop esi
pop ebx
ret
mov byte [0x101fcda0], 0
pop edi
pop esi
pop ebx
ret
Function at 0x10012e68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x101f764c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10012fcb
mov eax, dword [0x101f7648]
test eax, eax
jne 0x10012e1a
mov edx, 0xe80c2f78
mov ecx, 0x1014c9ed
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7648], eax
cmp dword [eax + ebx], 0
jle 0x10012fcb
call fcn.1000a2e0
cmp eax, 9
je 0x10012fcb
cmp eax, 8
je 0x10012fcb
cmp eax, 0xa
je 0x10012fcb
cmp byte [0x101f78bb], 0
je 0x10012fcb
mov ecx, dword [0x101be2c4]
mov eax, dword [0x101f7934]
cmp ecx, 3
ja case.0x10012e61.0
jmp dword [ecx*4 + 0x10012fd0]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10012e99
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10012e99
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10012fcb
test byte [0x101f79b0], 1
je 0x10012fc4
mov eax, dword [0x101f7680]
mov ebx, dword [0x101f764c]
test eax, eax
jne 0x10012eeb
mov edx, 0xe80c2f78
mov ecx, 0x101985a5
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7680], eax
test byte [eax + ebx], 1
jne 0x10012fc4
cmp byte [0x101f791d], 0
je 0x10012f22
cmp byte [0x101f7905], 0
je 0x10012f22
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78dd], 0
lea esi, [edi + 0x30]
je 0x10012f48
mov ecx, dword [0x101c176c]
and dword [esi], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78de], 0
je 0x10012f6e
mov ecx, dword [0x101c176c]
and dword [esi], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78df], 0
mov ecx, esi
je 0x10012f99
mov ecx, dword [0x101c176c]
and dword [esi], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
lea ecx, [edi + 0x30]
cmp byte [0x101f790c], 0
mov byte [0x101fcda0], 1
je 0x10012fb7
or dword [esi], 2
mov eax, dword [esi]
or eax, 4
mov dword [ecx], eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi]
mov ecx, esi
or eax, 4
mov dword [ecx], eax
pop edi
pop esi
pop ebx
ret
mov byte [0x101fcda0], 0
pop edi
pop esi
pop ebx
ret
Function at 0x10012e7a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [0x101f764c]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x10012fcb
mov eax, dword [0x101f7648]
test eax, eax
jne 0x10012e1a
mov edx, 0xe80c2f78
mov ecx, 0x1014c9ed
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7648], eax
cmp dword [eax + ebx], 0
jle 0x10012fcb
call fcn.1000a2e0
cmp eax, 9
je 0x10012fcb
cmp eax, 8
je 0x10012fcb
cmp eax, 0xa
je 0x10012fcb
cmp byte [0x101f78bb], 0
je 0x10012fcb
mov ecx, dword [0x101be2c4]
mov eax, dword [0x101f7934]
cmp ecx, 3
ja case.0x10012e61.0
jmp dword [ecx*4 + 0x10012fd0]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10012e99
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10012e99
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x10012fcb
test byte [0x101f79b0], 1
je 0x10012fc4
mov eax, dword [0x101f7680]
mov ebx, dword [0x101f764c]
test eax, eax
jne 0x10012eeb
mov edx, 0xe80c2f78
mov ecx, 0x101985a5
call fcn.10003ad0
mov edx, 0xc10bf213
mov ecx, 0x1014c915
mov esi, eax
call fcn.10003ad0
mov edx, esi
mov ecx, eax
call fcn.100abe50
mov dword [0x101f7680], eax
test byte [eax + ebx], 1
jne 0x10012fc4
cmp byte [0x101f791d], 0
je 0x10012f22
cmp byte [0x101f7905], 0
je 0x10012f22
mov ecx, dword [0x101c176c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78dd], 0
lea esi, [edi + 0x30]
je 0x10012f48
mov ecx, dword [0x101c176c]
and dword [esi], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78de], 0
je 0x10012f6e
mov ecx, dword [0x101c176c]
and dword [esi], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x101f78df], 0
mov ecx, esi
je 0x10012f99
mov ecx, dword [0x101c176c]
and dword [esi], 0xfffffbff
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
lea ecx, [edi + 0x30]
cmp byte [0x101f790c], 0
mov byte [0x101fcda0], 1
je 0x10012fb7
or dword [esi], 2
mov eax, dword [esi]
or eax, 4
mov dword [ecx], eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi]
mov ecx, esi
or eax, 4
mov dword [ecx], eax
pop edi
pop esi
pop ebx
ret
mov byte [0x101fcda0], 0
pop edi
pop esi
pop ebx
ret