joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d650
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1006a89c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x100a0cf8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100a0cf4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov edi, eax
test edi, edi
je 0x1001f255
mov edx, dword [0x100a1718]
test edx, edx
jne 0x1001f186
push 0xe80c2f78
push 0x10056e35
call fcn.1000f230
push 0xc10bf213
push 0x10055a0d
mov esi, eax
call fcn.1000f230
push esi
push eax
call fcn.100486d0
mov edx, eax
add esp, 0x18
mov dword [0x100a1718], edx
mov ecx, dword [0x100a0cf4]
push dword [edx + edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov edi, eax
test edi, edi
je 0x1001f255
mov eax, dword [0x100a171c]
test eax, eax
jne 0x1001f1d8
push 0xe80c2f78
push 0x10056e55
call fcn.1000f230
push 0xc10bf213
push 0x10056bf1
mov esi, eax
call fcn.1000f230
push esi
push eax
call fcn.100486d0
add esp, 0x18
mov dword [0x100a171c], eax
mov edx, dword [eax + edi]
test edx, edx
je 0x1001f255
mov ecx, dword [0x100a0cf4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp eax, dword [ebp + 8]
jne 0x1001f255
mov ecx, dword [0x100a0d00]
push dword [ebp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ebx, eax
mov eax, dword [0x100a16f0]
test eax, eax
jne 0x1001f23c
push 0xe80c2f78
push 0x10056be1
call fcn.1000f230
push 0xc10bf213
push 0x10056bf1
mov esi, eax
call fcn.1000f230
push esi
push eax
call fcn.100486d0
add esp, 0x18
mov dword [0x100a16f0], eax
mov dword [eax + edi], ebx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10026660
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e7cd
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x1006a89c]
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
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x24c], eax
push ecx
push eax
mov dword [ebp - 0x248], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100266f0
xor bl, bl
jmp 0x1002680b
mov dword [ebp - 0x264], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
lea edx, [eax + 2]
mov byte [ebp - 4], 0
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10026720
sub eax, edx
lea ecx, [ebp - 0x264]
sar eax, 1
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.10024e10
mov edi, dword [ebp - 0x250]
lea eax, [ebp - 0x264]
mov esi, dword [ebp - 0x264]
cmp edi, 8
setae bh
cmovae eax, esi
cmp dword [ebp - 0x254], 0xb
jne 0x1002677e
push 0xb
push str.Spotify.exe
push eax
call fcn.10024f30
add esp, 0xc
test eax, eax
jne 0x1002677e
mov bl, 1
jmp 0x10026780
xor bl, bl
test bh, bh
je 0x100267b3
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x100267a9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026834
push ecx
push esi
call fcn.1004b1e8
add esp, 8
test bl, bl
je 0x100267dd
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x100267cd
mov eax, dword [ebp - 0x240]
mov dword [ecx], eax
add dword [ebp - 0x18], 4
jmp 0x100267dd
lea eax, [ebp - 0x240]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10024b40
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x24c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100266f0
lea eax, [ebp - 0x1c]
push eax
push 0x10025400
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
setne bl
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10026844
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1002683a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002683a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1004b1e8
add esp, 8
mov al, bl
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.1004b719
mov esp, ebp
pop ebp
ret
Function at 0x1002d280
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004effc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1006a89c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002d334
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [edi + 0x60], al
push 9
mov byte [ebp - 4], 5
mov byte [edi + 0x68], 9
call fcn.1002dae0
mov al, byte [edi + 0x68]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp al, 1
jne 0x1002d378
cmp dword [edi + 0x70], 0
mov al, 1
jne 0x1002d378
push 0x4268
push str.C:Users_aaaDesktopodio_mastercoremenujson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
call ebx
mov al, byte [edi + 0x68]
add esp, 0xc
cmp al, 2
jne 0x1002d399
cmp dword [edi + 0x70], 0
jne 0x1002d399
push 0x4269
push str.C:Users_aaaDesktopodio_mastercoremenujson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
call ebx
mov al, byte [edi + 0x68]
add esp, 0xc
cmp al, 3
jne 0x1002d3ba
cmp dword [edi + 0x70], 0
jne 0x1002d3d8
push 0x426a
push str.C:Users_aaaDesktopodio_mastercoremenujson.h
push str.m_type___value_t::string_or_m_value.string___nullptr
call ebx
mov al, byte [edi + 0x68]
add esp, 0xc
cmp al, 8
jne 0x1002d3d8
cmp dword [edi + 0x70], 0
jne 0x1002d3d8
push 0x426b
push str.C:Users_aaaDesktopodio_mastercoremenujson.h
push str.m_type___value_t::binary_or_m_value.binary___nullptr
call ebx
add esp, 0xc
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
test ecx, ecx
jns 0x1002d402
mov eax, ecx
neg eax
je 0x1002d402
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1002d40a
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.1002f830
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1002d439
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x1002f480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1006a89c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002f53c
cmp byte [esi + 0x3d], 0
je 0x1002f53c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002f52a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002f4f1
sub eax, 1
je 0x1002f4f5
sub eax, 2
jne 0x1002f52a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b719
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002f513
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002f52a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b719
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b719
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1004b719
mov esp, ebp
pop ebp
ret
Function at 0x10035bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1006a89c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10035bf0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b719
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10035c20
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10035c20
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b719
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x10035d1b
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10035c49
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10035c7d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b719
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10035cdc
sub eax, 1
je 0x10035cdc
sub eax, 2
jne 0x10035d1b
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10027b60
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b719
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10035cfa
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10035d1b
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x10035d1b
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b719
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004b719
mov esp, ebp
pop ebp
ret 4
Function at 0x1003c520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
jg 0x1003c54c
jl 0x1003c540
test esi, esi
jne 0x1003c54c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1003c565
push eax
push esi
push ecx
mov ecx, ebx
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
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, esi
mov edx, dword [eax]
test edx, edx
je 0x1003c59d
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x1003c59d
cmp eax, dword [ebp + 0xc]
cmovb esi, eax
push esi
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x4c], 0
mov edx, edi
je 0x1003c620
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1003c5c6
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, edi
mov ecx, dword [ebp - 4]
cmp edi, 0xfff
jbe 0x1003c60c
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push ecx
call eax
mov ecx, dword [ebp - 4]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x1003c633
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x1003c5e0
test edx, edx
je 0x1003c620
push dword [ebx + 0x4c]
push edi
push 1
push ecx
call eax
mov edx, edi
add esp, 0x10
sub edx, eax
sub esi, edx
mov edx, dword [ebp + 0x10]
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
sub esi, edi
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003c650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1003c675
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
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x1003c696
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x1003c698
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x1003c716
jg 0x1003c6ab
test esi, esi
je 0x1003c716
test ecx, ecx
jl 0x1003c6f9
jg 0x1003c6b5
test eax, eax
je 0x1003c6f9
cmp edi, ecx
jg 0x1003c6c7
jl 0x1003c6bf
cmp esi, eax
jae 0x1003c6c7
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [ebx + 0x30]
sub esi, ecx
mov edx, dword [ebp + 8]
sbb edi, dword [ebp - 4]
add edx, ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x1003c716
jg 0x1003c6fc
test esi, esi
je 0x1003c716
jmp 0x1003c6fc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1003c716
push eax
push esi
push 1
push edx
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 - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10041f30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006a89c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100a2012], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x100420c3
cmp byte [0x100a2013], 0
jne 0x100420c3
cmp byte [0x100a2014], 0
jne 0x100420c3
cmp byte [0x100a2015], 0
jne 0x100420c3
mov ecx, dword [0x100a0cf8]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x100a1c60]
cmp eax, 2
je 0x100420c3
cmp eax, 4
je 0x100420c3
cmp eax, 3
je 0x100420c3
cmp eax, 6
je 0x100420c3
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm1, dword [0x1006a504]
movss xmm2, dword [0x1006a500]
test ax, ax
jns 0x10042063
cmp byte [0x100a1b88], 0
je 0x10042063
mov eax, dword [edi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10042063
add eax, dword [ebp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10042063
mov eax, dword [esi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10042063
add eax, dword [ebp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10042063
cmp byte [0x100a2011], 0
mov byte [0x100a2010], 1
jne 0x1004206c
movd xmm0, dword [edi]
movaps xmm3, xmm2
cvtdq2ps xmm0, xmm0
movaps xmm4, xmm1
subss xmm3, xmm0
movss dword [0x1006a508], xmm3
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
mov byte [0x100a2011], 1
subss xmm4, xmm0
movss dword [0x1006a50c], xmm4
jmp 0x1004207c
cmp byte [0x100a2010], 0
je 0x100420ac
movss xmm4, dword [0x1006a50c]
movss xmm3, dword [0x1006a508]
subss xmm2, xmm3
subss xmm1, xmm4
cvttss2si edx, xmm2
cvttss2si ecx, xmm1
test edx, edx
js 0x1004209c
mov eax, dword [ebp + 0x10]
add eax, edx
cmp eax, dword [ebp - 8]
jge 0x1004209c
mov dword [edi], edx
test ecx, ecx
js 0x100420ac
mov eax, dword [ebp + 0x14]
add eax, ecx
cmp eax, dword [ebp - 0xc]
jge 0x100420ac
mov dword [esi], ecx
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x100420c3
mov byte [0x100a2010], al
mov byte [0x100a2011], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004b719
mov esp, ebp
pop ebp
ret
Function at 0x10042980
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor esi, esi
nop word [eax + eax]
mov al, byte [esi + 0x100a2020]
push esi
mov byte [esi + 0x100a2120], al
call edi
test ax, ax
setne al
mov byte [esi + 0x100a2020], al
inc esi
cmp esi, 0x100
jl 0x10042990
pop edi
pop esi
ret
Function at 0x10043060
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006a89c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100a2010], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x100431d9
cmp byte [0x100a2011], 0
jne 0x100431d9
mov ecx, dword [0x100a0cf8]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x100a1c60]
cmp eax, 2
je 0x100431d9
cmp eax, 4
je 0x100431d9
cmp eax, 3
je 0x100431d9
cmp eax, 6
je 0x100431d9
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm1, dword [0x1006a504]
movss xmm2, dword [0x1006a500]
test ax, ax
jns 0x10043179
cmp byte [0x100a1b88], 0
je 0x10043179
mov eax, dword [edi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10043179
add eax, dword [ebp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10043179
mov eax, dword [esi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10043179
add eax, dword [ebp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10043179
cmp byte [0x100a2013], 0
mov byte [0x100a2012], 1
jne 0x10043182
movd xmm0, dword [edi]
movaps xmm3, xmm2
cvtdq2ps xmm0, xmm0
movaps xmm4, xmm1
subss xmm3, xmm0
movss dword [0x1006a508], xmm3
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
mov byte [0x100a2013], 1
subss xmm4, xmm0
movss dword [0x1006a50c], xmm4
jmp 0x10043192
cmp byte [0x100a2012], 0
je 0x100431c2
movss xmm4, dword [0x1006a50c]
movss xmm3, dword [0x1006a508]
subss xmm2, xmm3
subss xmm1, xmm4
cvttss2si edx, xmm2
cvttss2si ecx, xmm1
test edx, edx
js 0x100431b2
mov eax, dword [ebp + 0x10]
add eax, edx
cmp eax, dword [ebp - 8]
jg 0x100431b2
mov dword [edi], edx
test ecx, ecx
js 0x100431c2
mov eax, dword [ebp + 0x14]
add eax, ecx
cmp eax, dword [ebp - 0xc]
jg 0x100431c2
mov dword [esi], ecx
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x100431d9
mov byte [0x100a2012], al
mov byte [0x100a2013], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004b719
mov esp, ebp
pop ebp
ret
Function at 0x10043c80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006a89c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100a2010], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x10043df9
cmp byte [0x100a2011], 0
jne 0x10043df9
mov ecx, dword [0x100a0cf8]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x100a1c60]
cmp eax, 2
je 0x10043df9
cmp eax, 4
je 0x10043df9
cmp eax, 3
je 0x10043df9
cmp eax, 6
je 0x10043df9
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm1, dword [0x1006a504]
movss xmm2, dword [0x1006a500]
test ax, ax
jns 0x10043d99
cmp byte [0x100a1b88], 0
je 0x10043d99
mov eax, dword [edi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10043d99
add eax, dword [ebp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10043d99
mov eax, dword [esi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10043d99
add eax, dword [ebp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10043d99
cmp byte [0x100a2015], 0
mov byte [0x100a2014], 1
jne 0x10043da2
movd xmm0, dword [edi]
movaps xmm3, xmm2
cvtdq2ps xmm0, xmm0
movaps xmm4, xmm1
subss xmm3, xmm0
movss dword [0x1006a508], xmm3
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
mov byte [0x100a2015], 1
subss xmm4, xmm0
movss dword [0x1006a50c], xmm4
jmp 0x10043db2
cmp byte [0x100a2014], 0
je 0x10043de2
movss xmm4, dword [0x1006a50c]
movss xmm3, dword [0x1006a508]
subss xmm2, xmm3
subss xmm1, xmm4
cvttss2si edx, xmm2
cvttss2si ecx, xmm1
test edx, edx
js 0x10043dd2
mov eax, dword [ebp + 0x10]
add eax, edx
cmp eax, dword [ebp - 8]
jg 0x10043dd2
mov dword [edi], edx
test ecx, ecx
js 0x10043de2
mov eax, dword [ebp + 0x14]
add eax, ecx
cmp eax, dword [ebp - 0xc]
jg 0x10043de2
mov dword [esi], ecx
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x10043df9
mov byte [0x100a2014], al
mov byte [0x100a2015], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004b719
mov esp, ebp
pop ebp
ret

Function at 0x10043e10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x100a26cc]
test eax, eax
je 0x10043e2c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10043e92
mov eax, dword [eax]
test eax, eax
jne 0x10043e20
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10043e96
push esi
lea edx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, 0x20
nop dword [eax + eax]
mov ecx, dword [eax + 4]
add esi, 0x20
mov dword [edx], ecx
mov dword [eax + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x10043e60
mov ecx, dword [0x100a26cc]
mov dword [eax], ecx
mov dword [0x100a26cc], eax
pop esi
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
test eax, eax
jne 0x10043e84
xor eax, eax
ret