joyce8/EMBER2024-capa huggingface dataset:
Function at 0x558704
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x558964
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x558767
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.005581cc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.004100e0
cmp al, 1
jne 0x558767
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.005584e4
test al, al
je 0x5588f3
cmp dword [ebp - 8], 0
jge 0x558785
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.005581cc
mov eax, dword [ebp - 0x210]
call fcn.00404f40
cmp ebx, eax
jge 0x5587cf
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.005581cc
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5a4890]
and eax, 0xff
bt dword [edx], eax
jae 0x5587cf
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x5587e3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005586e0
cmp ebx, dword [ebp - 8]
je 0x5588e5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x55880f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404048
and eax, 0x7f
movzx eax, word [eax*2 + 0x5a3c00]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x5588d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404048
and eax, 0x7f
movzx eax, word [eax*2 + 0x5a3c00]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045eae8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404048
and eax, 0x7f
movzx eax, word [eax*2 + 0x5a3c00]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045eae8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5588d9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x558946
cmp dword [ebp - 8], 0
jge 0x5588fe
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.005581cc
mov eax, dword [ebp - 0x218]
call fcn.00404f40
cmp eax, dword [ebp - 8]
jg 0x558938
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.005581cc
mov eax, dword [ebp - 0x21c]
call fcn.00404f40
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005586e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55896b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404ca4
ret
Function at 0x573540
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405130
xor eax, eax
push ebp
push 0x573601
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5735df
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.0040330c
lea eax, [ebp - 0x122]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.0040330c
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.0040b7e8
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x40
or word [ebp - 0x12], 0x10
or word [ebp - 0x12], 4
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5735eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x573608
lea eax, [ebp - 4]
call fcn.00404c80
ret

Function at 0x573614
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405130
xor eax, eax
push ebp
push 0x573743
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00405140
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
mov eax, edi
call fcn.00402838
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push edi
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x573754
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0040ac2c
push dword [ebx]
push 0x573760
mov eax, dword [esi + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.0040ac2c
push dword [ebp - 0x18]
mov eax, ebx
mov edx, 3
call fcn.00405000
push dword [ebx]
push 0x573760
mov eax, dword [esi + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.0040ac2c
push dword [ebp - 0x1c]
mov eax, ebx
mov edx, 3
call fcn.00405000
push dword [ebx]
push 0x573760
mov eax, dword [esi + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0040ac2c
push dword [ebp - 0x20]
mov eax, ebx
mov edx, 3
call fcn.00405000
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00402858
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57374a
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404ca4
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x5793d8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x579449
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.0040330c
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x579460
mov edx, ebx
call fcn.00404f8c
mov eax, dword [ebp - 0x24]
call fcn.00405140
mov dword [ebp - 0x16], eax
mov word [ebp - 0xe], 0x414
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579450
lea eax, [ebp - 0x24]
call fcn.00404c80
ret

Function at 0x58c368
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x568], ecx
mov dword [ebp - 0x56c], ecx
mov dword [ebp - 0x564], ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x10]
xor eax, eax
push ebp
push 0x58c50d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x564]
mov eax, dword [0x5a44b8]
mov eax, dword [eax]
call fcn.004787bc
mov eax, dword [ebp - 0x564]
lea edx, [ebp - 0x14]
call fcn.0040b574
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405140
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x58c4e0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.00405140
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x58c4c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x56c]
xor eax, eax
call fcn.00402bcc
mov eax, dword [ebp - 0x56c]
lea edx, [ebp - 0x568]
call fcn.0040b540
lea eax, [ebp - 0x568]
mov edx, edi
call fcn.00404f48
mov edx, dword [ebp - 0x568]
lea eax, [ebp - 0x560]
call fcn.00402f8c
mov edx, 1
lea eax, [ebp - 0x560]
call fcn.0040363c
call fcn.004029a0
push ebx
push 0x400
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x414]
mov ecx, dword [ebx]
lea eax, [ebp - 0x560]
call fcn.00403110
call fcn.004029a0
cmp dword [ebx], 0
jne 0x58c462
lea eax, [ebp - 0x560]
call fcn.00403130
call fcn.004029a0
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58c4c9
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x1459710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x102a000]
push edi
or ebp, 0xffffffff
jmp 0x1459732
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1459739
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1459728
mov eax, 1
add ebx, ebx
jne 0x145974b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1459740
jne 0x145975c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1459740
xor ecx, ecx
sub eax, 3
jb 0x1459770
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x14597e2
mov ebp, eax
add ebx, ebx
jne 0x145977b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1459788
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x14597ac
inc ecx
add ebx, ebx
jne 0x1459798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x145978d
jne 0x14597a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x145978d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x14597cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x14597bd
jmp 0x145972e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x14597cc
add edi, ecx
jmp 0x145972e
pop esi
mov edi, esi
mov ecx, 0x5b0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x14597ea
cmp byte [edi], 0xa
jne 0x14597ea
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 0x14597ef
lea edi, [esi + 0x1057000]
mov eax, dword [edi]
or eax, eax
je 0x145985e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1059abc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1059b34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x145981c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1059b3c]
or eax, eax
je 0x1459858
mov dword [ebx], eax
add ebx, 4
jmp 0x1459839
call dword [esi + 0x1059b38]
mov ebp, dword [esi + 0x1059b40]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1459892
sub esp, 0xffffff80
jmp 0x401635
Function at 0x10004060
Capabilities:
Create thread

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

Function at 0x10004930
Capabilities:
Hash data using fnv

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

Disassembly:
push ebx
mov ebx, ecx
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1000c654
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1000c654
push edi
mov edi, dword [0x10132ac8]
test edi, edi
je 0x1000c653
mov eax, dword [0x10132ac4]
push esi
test eax, eax
jne 0x1000c544
mov edx, 0xe80c2f78
mov ecx, 0x101114a5
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132ac4], eax
cmp dword [eax + edi], 0
jle case.default.0x1000c5eb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x1000c564
mov esi, 0x811c9dc5
jmp 0x1000c57a
movsx eax, al
inc ecx
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.10004930
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 [0x10132a7c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x10132a94]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
test eax, eax
je case.default.0x1000c5eb
test esi, esi
je case.default.0x1000c5eb
cmp esi, 0x1b30ddf0
jne case.default.0x1000c5eb
cmp eax, dword [0x10132ac8]
jne case.default.0x1000c5eb
cmp byte [0x10132f15], 0
mov dword [0x10132b54], 0x1f4
je case.default.0x1000c5eb
mov eax, dword [0x10132f3c]
cmp eax, 3
ja case.default.0x1000c5eb
jmp dword [eax*4 + 0x1000c658]
mov ecx, dword [0x10132b4c]
push str.buttons_arena_switch_press_02.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop esi
pop edi
pop ebx
ret
mov ecx, dword [0x10132b4c]
push str.buttons_button22.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop esi
pop edi
pop ebx
ret
mov ecx, dword [0x10132b4c]
push str.survivalmoney_collect_01.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop esi
pop edi
pop ebx
ret
mov ecx, dword [0x10132b4c]
push str.Ui_beep07.wav
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
pop esi
pop edi
pop ebx
ret
Function at 0x1000fc50
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp byte [0x10132fb9], 0
push ebx
push ebp
push esi
push edi
mov ebx, ecx
je 0x1000fdce
mov ecx, dword [0x10131378]
mov eax, dword [0x10132fbc]
cmp ecx, 3
ja case.0x1000fc74.0
jmp dword [ecx*4 + 0x1000fdd4]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x1000fcac
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x1000fcac
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x1000fdce
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1000fdce
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1000fdce
mov edi, dword [0x10132ac8]
test edi, edi
je 0x1000fdce
mov eax, dword [0x10132ac4]
test eax, eax
jne 0x1000fd23
mov edx, 0xe80c2f78
mov ecx, 0x101114a5
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132ac4], eax
cmp dword [eax + edi], 0
jle 0x1000fdce
call fcn.1000a160
cmp eax, 8
je 0x1000fdce
call fcn.1000a160
cmp eax, 9
je 0x1000fdce
call fcn.1000a160
cmp eax, 0xa
je 0x1000fdce
mov eax, dword [0x10132af8]
mov ebp, dword [0x1013136c]
mov edi, dword [0x10132ac8]
test eax, eax
jne 0x1000fd96
mov edx, 0xe80c2f78
mov ecx, 0x101115e9
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132af8], eax
test byte [eax + edi], 1
mov ecx, dword [ebx + 8]
je 0x1000fdc1
mov eax, dword [0x10132f68]
add eax, ebp
cmp ecx, eax
jle 0x1000fdce
or dword [ebx + 0x30], 2
mov byte [0x1013302d], 1
mov dword [0x10132f68], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov byte [0x1013302d], 0
mov dword [0x10132f68], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1000fe00
Capabilities:
Log keystrokes via polling

Disassembly:
cmp byte [0x10132fb8], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x1001001f
mov ecx, dword [0x10131360]
mov eax, dword [0x10132fd0]
cmp ecx, 3
ja case.0x1000fe22.0
jmp dword [ecx*4 + 0x10010024]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x1000fe5a
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x1000fe5a
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x1001001f
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001001f
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1001001f
mov ebx, dword [0x10132ac8]
test ebx, ebx
je 0x1001001f
mov eax, dword [0x10132ac4]
test eax, eax
jne 0x1000fed1
mov edx, 0xe80c2f78
mov ecx, 0x101114a5
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132ac4], eax
cmp dword [eax + ebx], 0
jle 0x1001001f
call fcn.1000a160
cmp eax, 8
je 0x1001001f
call fcn.1000a160
cmp eax, 9
je 0x1001001f
call fcn.1000a160
cmp eax, 0xa
je 0x1001001f
test byte [0x1013303c], 1
je 0x10010018
mov eax, dword [0x10132af8]
mov ebx, dword [0x10132ac8]
test eax, eax
jne 0x1000ff4f
mov edx, 0xe80c2f78
mov ecx, 0x101115e9
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132af8], eax
test byte [eax + ebx], 1
jne 0x10010018
cmp byte [0x10132fe0], 0
je 0x10010009
cmp byte [0x10132fd8], 0
je 0x10010009
mov eax, dword [0x10132fc4]
test al, al
je 0x1000ff9c
mov ecx, dword [0x10132a7c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x10132fc4]
test ah, ah
je 0x1000ffbb
mov ecx, dword [0x10132a7c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x10132fc6], 0
je 0x1000ffe2
mov ecx, dword [0x10132a7c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x10132fc7], 0
je 0x10010009
mov ecx, dword [0x10132a7c]
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 [0x10133029], 1
pop edi
pop esi
pop ebx
ret
mov byte [0x10133029], 0
pop edi
pop esi
pop ebx
ret
Function at 0x1000fe29
Capabilities:
Log keystrokes via polling

Disassembly:
cmp byte [0x10132fb8], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x1001001f
mov ecx, dword [0x10131360]
mov eax, dword [0x10132fd0]
cmp ecx, 3
ja case.0x1000fe22.0
jmp dword [ecx*4 + 0x10010024]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x1000fe5a
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x1000fe5a
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x1001001f
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001001f
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1001001f
mov ebx, dword [0x10132ac8]
test ebx, ebx
je 0x1001001f
mov eax, dword [0x10132ac4]
test eax, eax
jne 0x1000fed1
mov edx, 0xe80c2f78
mov ecx, 0x101114a5
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132ac4], eax
cmp dword [eax + ebx], 0
jle 0x1001001f
call fcn.1000a160
cmp eax, 8
je 0x1001001f
call fcn.1000a160
cmp eax, 9
je 0x1001001f
call fcn.1000a160
cmp eax, 0xa
je 0x1001001f
test byte [0x1013303c], 1
je 0x10010018
mov eax, dword [0x10132af8]
mov ebx, dword [0x10132ac8]
test eax, eax
jne 0x1000ff4f
mov edx, 0xe80c2f78
mov ecx, 0x101115e9
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132af8], eax
test byte [eax + ebx], 1
jne 0x10010018
cmp byte [0x10132fe0], 0
je 0x10010009
cmp byte [0x10132fd8], 0
je 0x10010009
mov eax, dword [0x10132fc4]
test al, al
je 0x1000ff9c
mov ecx, dword [0x10132a7c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x10132fc4]
test ah, ah
je 0x1000ffbb
mov ecx, dword [0x10132a7c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x10132fc6], 0
je 0x1000ffe2
mov ecx, dword [0x10132a7c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x10132fc7], 0
je 0x10010009
mov ecx, dword [0x10132a7c]
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 [0x10133029], 1
pop edi
pop esi
pop ebx
ret
mov byte [0x10133029], 0
pop edi
pop esi
pop ebx
ret
Function at 0x1000fe3b
Capabilities:
Log keystrokes via polling

Disassembly:
cmp byte [0x10132fb8], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x1001001f
mov ecx, dword [0x10131360]
mov eax, dword [0x10132fd0]
cmp ecx, 3
ja case.0x1000fe22.0
jmp dword [ecx*4 + 0x10010024]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x1000fe5a
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x1000fe5a
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x1001001f
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001001f
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1001001f
mov ebx, dword [0x10132ac8]
test ebx, ebx
je 0x1001001f
mov eax, dword [0x10132ac4]
test eax, eax
jne 0x1000fed1
mov edx, 0xe80c2f78
mov ecx, 0x101114a5
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132ac4], eax
cmp dword [eax + ebx], 0
jle 0x1001001f
call fcn.1000a160
cmp eax, 8
je 0x1001001f
call fcn.1000a160
cmp eax, 9
je 0x1001001f
call fcn.1000a160
cmp eax, 0xa
je 0x1001001f
test byte [0x1013303c], 1
je 0x10010018
mov eax, dword [0x10132af8]
mov ebx, dword [0x10132ac8]
test eax, eax
jne 0x1000ff4f
mov edx, 0xe80c2f78
mov ecx, 0x101115e9
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132af8], eax
test byte [eax + ebx], 1
jne 0x10010018
cmp byte [0x10132fe0], 0
je 0x10010009
cmp byte [0x10132fd8], 0
je 0x10010009
mov eax, dword [0x10132fc4]
test al, al
je 0x1000ff9c
mov ecx, dword [0x10132a7c]
and dword [edi + 0x30], 0xfffffff7
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov eax, dword [0x10132fc4]
test ah, ah
je 0x1000ffbb
mov ecx, dword [0x10132a7c]
and dword [edi + 0x30], 0xffffffef
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x10132fc6], 0
je 0x1000ffe2
mov ecx, dword [0x10132a7c]
and dword [edi + 0x30], 0xfffffdff
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x10132fc7], 0
je 0x10010009
mov ecx, dword [0x10132a7c]
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 [0x10133029], 1
pop edi
pop esi
pop ebx
ret
mov byte [0x10133029], 0
pop edi
pop esi
pop ebx
ret