joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d720
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
cmp byte [edi + 9], 0
je 0x1001d79b
movups xmm4, xmmword [0x10196d40]
push ebx
mov esi, 0xffffffdf
mov ebx, 2
lea eax, [esi - 1]
movd xmm2, esi
lea edx, [esi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [esi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + esi + 0x21]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + esi + 0x21], xmm3
add esi, 4
sub ebx, 1
jne 0x1001d742
pop ebx
mov byte [edi + 9], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 1]
push eax
lea eax, [edi + 8]
push eax
push edi
call fcn.100055e0
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1001d7c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x10], 0
je 0x1001d849
movups xmm4, xmmword [0x10196d40]
push ebx
mov ebx, 0xffffffdf
mov eax, 0xc
lea ecx, [ebx - 1]
movd xmm2, ebx
lea esi, [ebx - 3]
movd xmm0, ecx
movd xmm3, esi
lea edx, [ebx - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + ebx + 0x21]
punpcklbw xmm0, xmm0
movd xmm1, edx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + ebx + 0x21], xmm3
add ebx, 4
cmp ebx, 0xffffffeb
jb 0x1001d7e2
pop ebx
lea edx, [edi + eax]
lea ecx, [eax - 0x24]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x1001d837
mov byte [edi + 0x10], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 1]
push eax
lea eax, [edi + 0xf]
push eax
push edi
call fcn.100055e0
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001dfe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
jg 0x1001e001
jl 0x1001dff7
test esi, esi
jne 0x1001e001
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1001e018
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
pop ebp
ret 0xc
push edi
mov edi, esi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
test eax, eax
je 0x1001e054
cmp eax, dword [ebp + 0xc]
mov ecx, ebx
cmovb esi, eax
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
mov edi, dword [ebp + 8]
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add edi, esi
add esp, 0xc
mov dword [ebp + 8], edi
mov ecx, ebx
mov edi, dword [ebp + 0xc]
sub edi, esi
push esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebp + 8]
je 0x1001e0c8
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const]
lea ecx, [ebx + 0x3c]
cmp eax, ecx
jne 0x1001e07c
push dword [ebx + 0x54]
mov eax, dword [ebx + 0x50]
mov ecx, ebx
push eax
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, edi
cmp edi, 0xfff
jbe 0x1001e0b6
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x1001e0c8
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x1001e090
test ecx, ecx
je 0x1001e0c8
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
pop ebp
ret 0xc
Function at 0x1001e0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1001e105
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x1001e197
jg 0x1001e12b
test esi, esi
je 0x1001e197
test ecx, ecx
jl 0x1001e17a
jg 0x1001e135
test eax, eax
je 0x1001e17a
cmp edi, ecx
jg 0x1001e145
jl 0x1001e13f
cmp esi, eax
jae 0x1001e145
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x10]
add esp, 0xc
add dword [ebp + 8], eax
mov ecx, ebx
sub esi, eax
sbb edi, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
test edi, edi
jl 0x1001e197
jg 0x1001e17a
test esi, esi
je 0x1001e197
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp + 8]
test eax, eax
je 0x1001e197
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001e2f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movups xmm0, xmmword [0x1019a5e0]
mov eax, dword [0x1019a608]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 8], eax
mov esi, ecx
mov ax, word [0x1019a60c]
push 3
movups xmmword [ebp - 0x30], xmm0
push 0
movups xmm0, xmmword [0x1019a5f0]
mov word [ebp - 4], ax
mov eax, 0x30
push 0
mov word [ebp - 6], ax
lea eax, [ebp - 0x30]
movups xmmword [ebp - 0x20], xmm0
push 0xc0000000
movq xmm0, qword [0x1019a600]
push eax
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x1001e3b6
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x1001e37f
mov ax, word [ebp - 6]
cmp ax, 0x39
jae 0x1001e3c2
inc ax
mov word [ebp - 6], ax
jmp 0x1001e395
cmp eax, 0xe7
jne 0x1001e3c2
push 0x2710
lea eax, [ebp - 0x30]
push eax
call ebx
test eax, eax
je 0x1001e3c2
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x1001e366
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001e830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa90
lea eax, [ebp - 0x88]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x48]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 0
push 0xfde9
call esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x1019a770
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001e894
push 0x1019a79c
jmp 0x1001e939
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x290]
push eax
push 0
push 0
push 0x1019a7b8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1001e934
mov ecx, dword [ebp - 8]
cmp ecx, 1
jb 0x1001e934
shr ecx, 1
mov eax, esi
je 0x1001e8f8
lea edx, [esi + 0x5c]
nop dword [eax + eax]
cmp word [ebp + eax*2 - 0x290], 0x2f
jne 0x1001e8f3
mov word [ebp + eax*2 - 0x290], dx
inc eax
cmp eax, ecx
jb 0x1001e8e0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x1019a7e8
lea eax, [ebp - 0xa90]
push 0x800
push eax
call fcn.1001e750
lea eax, [ebp - 0xa90]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1001e4c0
add esp, 0x1c
pop esi
mov esp, ebp
pop ebp
ret
push 0x1019a7cc
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.1001e960
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10020200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0x1116ed54
push 0x64
call fcn.1013204b
mov esi, eax
add esp, 8
test esi, esi
je 0x100203a3
push 0x64
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov byte [esi], 1
lea eax, [esi + 0x34]
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
push eax
movq qword [esi + 0x20], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 4], 2
mov dword [esi + 0x30], 0
call sub.MSVCP140.dll__Cnd_init_in_situ
xorps xmm0, xmm0
mov dword [0x1130f284], esi
add esp, 0x10
movq qword [esi + 0x5c], xmm0
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x100202a6
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1002029b
cmp byte [eax], 0
je 0x1002029b
push eax
push esi
call fcn.1001e830
jmp 0x100202a3
push 0
push esi
call fcn.1001e7c0
add esp, 8
call sub.KERNEL32.dll_GetCurrentProcessId
push 0x1118e060
mov dword [0x1130f280], eax
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x100203b2
cmp dword [0x1118e08c], 0x7fffffff
je 0x100203b9
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100202ed
movups xmm0, xmmword [eax]
movups xmmword [0x1130ac30], xmm0
movq xmm0, qword [eax + 0x10]
jmp 0x100202f7
xorps xmm0, xmm0
movups xmmword [0x1130ac30], xmm0
movq qword [0x1130ac40], xmm0
xorps xmm0, xmm0
push 0x1118e060
movups xmmword [0x1130ac48], xmm0
movq qword [0x1130ac58], xmm0
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
cmp dword [0x1130ac2c], 0
jne 0x100203ad
push esi
call fcn.10021610
mov dword [0x1130ac2c], eax
mov dword [eax + 8], 0x1001e990
mov eax, dword [0x1130ac2c]
mov dword [eax + 0xc], 0x1001e9a0
mov al, 1
mov esi, dword [0x1130f284]
xchg byte [esi], al
push 4
call fcn.101313ed
add esp, 8
test eax, eax
je 0x10020365
mov dword [eax], esi
jmp 0x10020367
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x1001e9f0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x100203ca
cmp dword [esi + 0x60], 0
je 0x10020395
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x1130f284], 0
pop esi
mov esp, ebp
pop ebp
ret
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 6
mov dword [0x1118e08c], 0x7ffffffe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 6
mov dword [ebp - 4], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1002bbf0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x1002bc10
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
pop ebp
ret 4

Function at 0x1002bf10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1002bf6d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x1002bf30
mov eax, dword [esi]
jmp 0x1002c04b
cmp eax, 0x4e0
jb 0x1002c04b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1002bf86
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1002bfd1
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10035680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
test ecx, ecx
je 0x10035787
call fcn.100ce2c0
test al, al
je 0x10035787
push esi
push dword [0x1131f4f8]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
test ax, ax
je 0x100356c8
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003a980
test byte [eax], 1
jne 0x10035786
cmp byte [0x1131f4f6], 0
je 0x10035786
push dword [0x1131f4f8]
call esi
test ax, ax
je 0x10035786
mov eax, dword [0x1131f3ec]
push edi
mov ecx, dword [eax]
call fcn.100cec00
mov edi, dword [ebp + 8]
mov esi, eax
mov ecx, dword [0x11320294]
push edi
call fcn.10063e60
mov ecx, dword [0x11320294]
call fcn.1001ea40
mov ecx, dword [0x1131f3ec]
mov ecx, dword [ecx]
call fcn.100cec00
cmp esi, 9
jne 0x10035751
cmp eax, esi
je 0x10035751
mov eax, dword [0x113200e8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0x30]
or eax, 2
mov dword [0x1132088c], ecx
and eax, 0xfffff9e7
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], eax
jmp 0x10035757
mov ecx, dword [0x1132088c]
mov eax, dword [0x113200e8]
mov eax, dword [eax + 0x1c]
sub eax, ecx
sub eax, 2
cmp eax, 0xc
ja 0x10035785
mov eax, dword [edi + 0x30]
and eax, 0xfffff9e7
mov dword [edi + 0x24], 0
or eax, 4
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], eax
pop edi
pop esi
pop ebp
ret

Function at 0x10035790
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x113200e8]
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [0x11320824]
jbe 0x100357ad
mov byte [0x113202f3], 0
mov eax, dword [0x1131f3ec]
cmp dword [eax], 0
jne 0x100357c1
mov dword [0x11320824], 0
cmp byte [0x1131f590], 0
je 0x1003584f
push dword [0x1131f598]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003584f
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003584f
call fcn.100cec00
cmp eax, 9
je 0x1003584f
cmp eax, 8
je 0x1003584f
test byte [0x113202ec], 1
je 0x1003584f
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003a980
test byte [eax], 1
jne 0x1003584f
mov ecx, dword [ebp + 8]
mov byte [0x1132082c], 1
or dword [ecx + 0x30], 2
mov eax, dword [0x113200e8]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x1019b9c4]
mov byte [0x113202f3], 1
mov eax, dword [ecx + 8]
inc eax
or dword [ecx + 0x30], 4
mov dword [0x11320828], eax
movss dword [0x11320824], xmm0
pop ebp
ret
Function at 0x10035860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018df31
push eax
mov dword fs:[0], esp
cmp byte [0x1131f493], 0
je 0x10035915
cmp byte [0x1131f58f], 0
je 0x1003589f
push dword [0x1131f5b0]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x10035915
cmp byte [0x113202f9], 0
jne 0x10035915
mov eax, dword [0x1131f3ec]
cmp dword [eax], 0
je 0x10035915
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11327d98]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1132073c]
cmp eax, dword [ecx + 4]
jg 0x10035923
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003a980
test byte [eax], 1
jne 0x10035900
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.100cec00
cmp eax, 9
je 0x10035900
cmp byte [0x11320738], 0
jne 0x10035900
mov eax, dword [ebp + 8]
and dword [eax + 0x30], 0xfffffffd
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003a980
mov al, byte [eax]
and al, 1
mov byte [0x11320738], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x1132073c
call fcn.10131827
add esp, 4
cmp dword [0x1132073c], 0xffffffff
jne 0x100358ce
mov eax, dword [0x1131f3ec]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
call fcn.1003a980
push 0x1132073c
mov dword [ebp - 4], 0xffffffff
mov al, byte [eax]
and al, 1
mov byte [0x11320738], al
call fcn.101317d6
add esp, 4
jmp 0x100358ce
Function at 0x100373c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x113202f5], 0
push esi
mov esi, dword [ebp + 8]
je 0x100373e6
push dword [0x1131f574]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x100373e6
or dword [esi + 0x30], 4
mov eax, dword [0x1131f3ec]
push 0x1118f55c
mov ecx, dword [eax]
call fcn.100ce800
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003a980
mov eax, dword [eax]
mov dword [0x113202ec], eax
test al, 1
je 0x10037417
mov word [0x1118f455], 0
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003aca0
mov ecx, dword [0x113200ec]
push 0x110da4a4
movss xmm0, dword [eax + 8]
movss dword [0x11320224], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x30]
call eax
fmul dword [0x1019b9c8]
mov eax, dword [0x113200e8]
fstp dword [ebp + 8]
movss xmm0, dword [ebp + 8]
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x1131f3ec]
movss dword [0x11320228], xmm0
mov ecx, dword [eax]
call fcn.1003ab00
movss xmm0, dword [eax]
movss dword [0x1118f598], xmm0
movss xmm0, dword [eax + 4]
movss dword [0x1118f59c], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [0x1131f3ec]
movss dword [0x1118f5a0], xmm0
mov ecx, dword [eax]
call fcn.1003aca0
movss xmm0, dword [eax]
movss dword [0x1118f550], xmm0
movss xmm0, dword [eax + 4]
movss dword [0x1118f554], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [0x1131f3ec]
movss dword [0x1118f558], xmm0
mov ecx, dword [eax]
call fcn.100cec00
push dword [0x1131f574]
mov dword [0x11320248], eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10037502
cmp byte [0x113202f7], 0
je 0x10037502
mov eax, dword [0x11320230]
mov dword [esi + 0x30], eax
test byte [0x113202ec], 1
je 0x10037512
mov byte [0x113202f5], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11327d98]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x11320744]
cmp eax, dword [ecx + 4]
jg 0x100375cc
movss xmm0, dword [0x11320228]
xorps xmm0, xmmword [0x1019ba70]
comiss xmm0, dword [0x11320740]
jbe 0x100375a8
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.1003aca0
push ecx
fld dword [eax + 8]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [ebp - 4]
fld dword [0x11320228]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm0, dword [ebp - 4]
add esp, 4
fstp dword [ebp + 8]
movss xmm1, dword [ebp + 8]
xorps xmm1, xmmword [0x1019ba70]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100375a8
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.100cec00
cmp eax, 9
je 0x100375a8
mov al, 1
jmp 0x100375aa
xor al, al
movss xmm0, dword [0x11320224]
mov byte [0x113202f7], al
mov eax, dword [esi + 0x30]
mov dword [0x11320244], eax
movss dword [0x11320740], xmm0
pop esi
mov esp, ebp
pop ebp
ret
push 0x11320744
call fcn.10131827
add esp, 4
cmp dword [0x11320744], 0xffffffff
jne 0x10037532
movss xmm0, dword [0x11320224]
push 0x11320744
movss dword [0x11320740], xmm0
call fcn.101317d6
add esp, 4
jmp 0x10037532
Function at 0x10038c00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x113200e8]
movss xmm0, dword [ecx + 0x10]
comiss xmm0, dword [0x11320884]
jbe 0x10038c1e
mov byte [0x113202f4], 0
mov eax, dword [0x1131f3ec]
cmp dword [eax], 0
je 0x10038ca5
cmp byte [0x1131f5e8], 0
je 0x10038ca5
test byte [0x113202ec], 1
jne 0x10038c48
mov eax, dword [ecx + 0x1c]
add eax, dword [0x1131f5ec]
mov dword [0x11320254], eax
push dword [0x1131f5b4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10038ca5
test byte [0x113202ec], 1
je 0x10038ca5
mov ecx, dword [0x113200e8]
mov eax, dword [0x11320254]
push esi
mov esi, dword [ebp + 8]
movss xmm0, dword [ecx + 0x10]
addss xmm0, dword [0x1019b9c4]
mov byte [0x113202f4], 1
mov edx, dword [esi + 0x30]
movss dword [0x11320884], xmm0
cmp eax, dword [ecx + 0x1c]
jl 0x10038c9e
and edx, 0xfffffffd
mov dword [esi + 0x30], edx
pop esi
pop ebp
ret
or edx, 2
mov dword [esi + 0x30], edx
pop esi
pop ebp
ret