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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi]
jne 0x100b479
test byte [ebp + 8], 3
je 0x100b479
cmp dword [esi + 0x74], 0
push ebx
mov ebx, dword [ebp + 0x10]
push edi
jne 0x100b40f
movsx ecx, word [esi + 0x70]
mov eax, dword [ebp + 0xc]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jge 0x100b367
movsx ecx, word [esi + 0x72]
mov eax, ebx
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jl 0x100b477
lea edi, [esi + 0x13c]
mov ecx, dword [edi]
test ecx, ecx
mov dword [esi + 0x74], 1
je 0x100b38e
call fcn.01006a8a
test eax, eax
je 0x100b38e
mov ecx, dword [edi]
push 1
push 0
call fcn.0100817e
mov eax, dword [esi + 0x48]
test eax, eax
je 0x100b3bc
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
and dword [esi + 0x48], 0
test eax, eax
je 0x100b3bc
push 0
push 0x80042010
push 0x702
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100b40f
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, ah
jns 0x100b3d9
or dword [ebp + 8], 0x20
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push dword [esi]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
movzx eax, word [ebp - 0xc]
movzx ecx, word [ebp - 0x10]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x709
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100b412
mov edi, dword [ebp + 0xc]
movsx eax, word [esi + 0x70]
sub edi, eax
movsx eax, word [esi + 0x72]
sub ebx, eax
test edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
jne 0x100b42c
test ebx, ebx
je 0x100b477
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ClientToScreen]
xor eax, eax
cmp dword [esi + 0xc], eax
je 0x100b455
mov ecx, dword [ebp - 8]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x14], ecx
push eax
mov ecx, esi
call fcn.0100aa9a
jmp 0x100b477
push 0x415
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 4]
mov dword [esi + 0xa8], 1
push dword [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop ebx
pop esi
leave
ret 0xc
Function at 0x1011edf
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10372b8]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x120]
push edi
xor edi, edi
cmp eax, ebx
mov dword [ebp - 0x108], edi
je 0x1012012
cmp eax, edi
je 0x1011f24
movzx eax, word [0x1037100]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_UnregisterHotKey]
cmp ebx, edi
jne 0x1011f3f
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edi
mov dword [esi + 0x128], edi
jmp 0x1012012
mov eax, ebx
shr eax, 8
mov edi, ebx
mov dword [ebp - 0x110], eax
and edi, 0xff
and dword [ebp - 0x110], 4
je 0x1011f60
xor ecx, ecx
inc ecx
jmp 0x1011f66
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
and dword [ebp - 0x10c], 2
je 0x1011f78
or ecx, 2
mov dword [ebp - 0x108], eax
and dword [ebp - 0x108], 1
je 0x1011f8a
or ecx, 4
movzx eax, word [0x1037100]
push edi
push ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
jne 0x1011fb4
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
jmp 0x1012012
lea eax, [ebp - 0x104]
push eax
mov dword [esi + 0x120], ebx
call dword [sym.imp.USER32.dll_GetKeyboardState]
push edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
and eax, 1
cmp dword [ebp - 0x110], ecx
je 0x1011fe4
movzx edx, byte [ebp - 0xf2]
and eax, edx
cmp dword [ebp - 0x10c], ecx
je 0x1011ff5
movzx edx, byte [ebp - 0xf3]
and eax, edx
cmp dword [ebp - 0x108], ecx
je 0x1012006
movzx edx, byte [ebp - 0xf4]
and eax, edx
cmp eax, ecx
je 0x1012012
push ecx
mov ecx, esi
call fcn.01011ded
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01034a90
leave
ret 4
Function at 0x10163a1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c8
mov eax, dword [0x10372b8]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x45
mov dword [ebp - 4], eax
mov dword [ebp - 0x5bc], ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x360]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x360]
push eax
mov dword [ebp - 0x5c4], ebx
mov dword [ebp - 0x360], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
xor eax, eax
cmp dword [ebp - 0x350], 1
push ebx
setne al
mov dword [ebp - 0x5c0], eax
call esi
mov edi, 0x104
cmp eax, edi
pop ecx
jae 0x1016452
push ebx
mov ebx, 0x124
push ebx
lea eax, [ebp - 0x24c]
push eax
call fcn.01006c58
test eax, eax
jl 0x101654d
push 0x1002bac
push ebx
lea eax, [ebp - 0x24c]
push eax
call fcn.01007c70
test eax, eax
jl 0x101654d
lea eax, [ebp - 0x24c]
push eax
call esi
cmp eax, edi
pop ecx
jb 0x101645c
mov eax, 0x80070057
jmp 0x101654d
lea eax, [ebp - 0x5b0]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x5b8], eax
je 0x101654b
lea eax, [ebp - 0x57e]
push eax
xor ebx, ebx
lea eax, [ebp - 0x5b4]
mov dword [ebp - 0x5b4], ebx
call fcn.0102e122
test eax, eax
je 0x1016524
push 0x10
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x10164bf
mov ecx, dword [ebp - 0x5c0]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov esi, eax
jmp 0x10164c1
xor esi, esi
cmp esi, ebx
je 0x101657d
push 0x208
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
je 0x1016574
lea eax, [ebp - 0x584]
push eax
push dword [ebp - 0x5c4]
push 0x1002ba0
push edi
push ebx
call fcn.0100d7d2
add esp, 0x14
test eax, eax
mov dword [ebp - 0x5c8], eax
jl 0x101655c
mov ax, word [ebp - 0x5b4]
mov ecx, dword [ebp - 0x5bc]
push esi
add ecx, 4
mov dword [esi], ebx
mov word [esi + 4], ax
call fcn.0100d75b
test eax, eax
je 0x1016574
lea eax, [ebp - 0x5b0]
push eax
push dword [ebp - 0x5b8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101647f
push dword [ebp - 0x5b8]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01034a90
leave
ret 4
push 1
mov ecx, esi
call fcn.01014aa9
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x5c8]
pop ecx
jmp 0x101654d
push 1
mov ecx, esi
call fcn.01014aa9
mov eax, 0x8007000e
jmp 0x101654d
Function at 0x10167c2
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x910
mov eax, dword [0x10372b8]
and word [ebp - 0x904], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x908], eax
mov eax, dword [ebp + 0x10]
push 0
and eax, 0xff
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, byte [ebp + 0x11]
shl eax, 0x10
test cl, 8
mov dword [ebp - 0x90c], eax
mov dword [ebp - 0x910], ecx
je 0x101681a
or eax, 0x1000000
mov dword [ebp - 0x90c], eax
test cl, 2
push ebx
push esi
push edi
mov edi, 0x80
mov esi, 0x400
mov ebx, 0x1002bd0
je 0x1016862
push edi
lea eax, [ebp - 0x104]
push eax
push 0x11
call fcn.010149fe
lea eax, [ebp - 0x104]
push eax
push esi
lea eax, [ebp - 0x904]
push eax
call fcn.01007c70
push ebx
push esi
lea eax, [ebp - 0x904]
push eax
call fcn.01007c70
test byte [ebp - 0x910], 1
je 0x101689c
push edi
lea eax, [ebp - 0x104]
push eax
push 0x10
call fcn.010149fe
lea eax, [ebp - 0x104]
push eax
push esi
lea eax, [ebp - 0x904]
push eax
call fcn.01007c70
push ebx
push esi
lea eax, [ebp - 0x904]
push eax
call fcn.01007c70
test byte [ebp - 0x910], 4
je 0x10168d6
push edi
lea eax, [ebp - 0x104]
push eax
push 0x12
call fcn.010149fe
lea eax, [ebp - 0x104]
push eax
push esi
lea eax, [ebp - 0x904]
push eax
call fcn.01007c70
push ebx
push esi
lea eax, [ebp - 0x904]
push eax
call fcn.01007c70
push edi
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x90c]
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [ebp - 0x104]
push eax
push esi
lea eax, [ebp - 0x904]
push eax
call fcn.01007c70
lea eax, [ebp - 0x904]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x908]
call fcn.01007bfb
push dword [ebp - 0x908]
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01034a90
leave
ret 0xc

Function at 0x1016a53
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x10373dc], 0
jne 0x1016a70
call fcn.0101696c
test eax, eax
jge 0x1016a70
xor eax, eax
pop ebp
ret 0x10
mov ecx, dword [0x10373dc]
pop ebp
jmp fcn.01015e0f

Function at 0x101b717
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x10373e8], 0
mov eax, dword [0x10372b8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jne 0x101b781
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x101b777
push 0x1002e84
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01007c70
test eax, eax
jl 0x101b777
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10373e8], eax
cmp dword [0x10373e8], 0
pop esi
je 0x101b7aa
mov eax, dword [0x10373ec]
test eax, eax
jne 0x101b7a4
push 0x1002e70
push dword [0x10373e8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x10373ec], eax
je 0x101b7aa
push edi
push dword [ebp + 8]
call eax
mov ecx, dword [ebp - 4]
pop edi
call fcn.01034a90
leave
ret 8
Function at 0x101bd55
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
mov esi, 0x1000
call edi
test ah, ah
jns 0x101bd82
add esi, 8
push 0x10
call edi
test ah, ah
jns 0x101bd8d
or esi, 4
push 0x12
call edi
test ah, ah
jns 0x101bd98
or esi, 0x20
mov eax, dword [ebp + 8]
sub eax, 0x202
je 0x101bdc7
dec eax
je 0x101bdb6
dec eax
dec eax
je 0x101bdb1
dec eax
jne 0x101bdf0
or esi, 2
jmp 0x101bdb9
or esi, 2
jmp 0x101bddc
or esi, 1
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
push 0x708
jmp 0x101bde8
mov ecx, dword [ebp - 4]
xor eax, eax
push eax
push eax
push eax
push eax
push 1
push 0xfffffffffffffffe
call fcn.0101968d
or esi, 1
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
push 0x707
mov ecx, dword [ebp - 4]
call fcn.0101ac11
pop edi
pop esi
leave
ret 4
Function at 0x101beea
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x101bf34
push dword [esi + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
call ebx
push dword [esi + 0x3c]
call ebx
push 0x1388
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x101bf2f
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x101bf34
push dword [esi + 0x40]
call edi
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x101bf42
push 1
call fcn.01016f2e
mov eax, dword [esi + 0x28]
test eax, eax
je 0x101bf4c
push eax
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x101bf56
push eax
call edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x101bf60
push eax
call edi
mov eax, dword [esi + 0x30]
test eax, eax
je 0x101bf6a
push eax
call edi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x101bf74
push eax
call edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x101bf7e
push eax
call edi
lea edi, [esi + 0x98]
mov eax, dword [edi]
test eax, eax
je 0x101bf99
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [esi + 8], 0
je 0x101bfb3
mov ecx, esi
call fcn.0101b8bf
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyIcon]
and dword [esi + 8], 0
push dword [esi + 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x101bfcd
push 1
call fcn.0101b405
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x101bfdd
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x64]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_KillTimer]
je 0x101bfef
push eax
push dword [esi]
call edi
mov eax, dword [esi + 0x60]
test eax, eax
je 0x101bffb
push eax
push dword [esi]
call edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x101c00b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
je 0x101c025
push dword [esi + 4]
call ebx
push dword [esi]
call edi
test eax, eax
je 0x101c031
push dword [esi]
call ebx
pop edi
pop esi
mov ecx, 0x1037368
pop ebx
jmp fcn.01012d8d
Function at 0x101c664
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov esi, ecx
call fcn.01016f54
xor edi, edi
cmp eax, edi
jl 0x101c7cc
push 0x10
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
mov dword [esi + 0x50], eax
je 0x101c7ac
push 0x10
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x101c6af
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], 1
jmp 0x101c6b1
xor eax, eax
cmp eax, edi
mov dword [esi + 0x94], eax
je 0x101c7ac
push 0x28
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x101c6d4
mov ecx, eax
call fcn.010296b8
jmp 0x101c6d6
xor eax, eax
cmp eax, edi
mov dword [esi + 0x4c], eax
je 0x101c7ac
lea eax, [esi + 0x44]
push eax
push edi
push esi
push 0x1016c4c
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x40], eax
je 0x101c767
push ebx
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x103736c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
mov ebx, 0x1002ecc
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0x101c069
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
push esi
push dword [0x103736c]
push edi
push edi
push edi
push edi
push edi
push edi
push 0x80000000
push 0x1001f2c
push ebx
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, edi
mov dword [esi], eax
pop ebx
jne 0x101c785
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x101c777
call esi
jmp 0x101c7cc
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x101c7cc
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x101c79e
mov dword [eax + 4], edi
mov dword [eax], 0x1002e60
mov ecx, eax
jmp 0x101c7a0
xor ecx, ecx
cmp ecx, edi
lea eax, [esi + 0x9c]
mov dword [eax], ecx
jne 0x101c7b3
mov eax, 0x8007000e
jmp 0x101c7cc
mov edx, dword [esi]
mov dword [ecx + 8], edx
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [esi + 0x80], 1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1020ada
Capabilities:
Terminate thread

Disassembly:
push 0xc
push 0x1003028
call fcn.01034d88
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
cmp dword [esi], edi
je 0x1020b7e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [esi + 8]
je 0x1020b2d
push edi
push edi
push 0x400
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1020b76
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1020b76
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x1020b76
mov dword [ebp - 4], edi
call fcn.01005425
or dword [ebp - 4], 0xffffffff
jmp 0x1020b52
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1020b68
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
call dword [sym.imp.ole32.dll_OleUninitialize]
push edi
call dword [sym.imp.msvcrt.dll__endthreadex]
pop ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x14]
cmp esi, edi
je 0x1020b8c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.01034dc3
ret

Function at 0x102185e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push edi
push 1
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x102189e
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esi + 8]
push eax
push edi
push esi
push 0x1021848
push edi
push edi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi], eax
jne 0x10218bc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10218ae
call esi
jmp 0x10218ec
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x10218ec
push 0x2710
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10218de
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
jmp 0x10218ec
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x1021cb4
Capabilities:
Capture microphone audio

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
inc ebx
push edi
xor edi, edi
cmp dword [0x103769c], edi
mov eax, 0x1f40
mov word [ebp - 0x1c], bx
mov word [ebp - 0x1a], bx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov word [ebp - 0x10], bx
mov word [ebp - 0xe], 8
mov word [ebp - 0xc], di
jne 0x1021cf9
call fcn.010292bb
cmp eax, edi
jl 0x1021e32
push esi
mov esi, dword [ebp + 0x10]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x1021d14
mov eax, 0x80070057
jmp 0x1021e31
push dword [ebp + 0xc]
mov ecx, dword [0x10373f8]
call fcn.0101df36
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x1021d33
mov eax, 0x80042002
jmp 0x1021e31
mov dword [esi], 6
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
jne 0x1021d4a
mov dword [esi], ebx
jmp 0x1021e2f
mov eax, dword [0x1037cf8]
cmp dword [eax + 0x14], edi
jne 0x1021da8
mov eax, dword [0x10376c4]
cmp dword [eax + 0x88], edi
jne 0x1021d6c
mov dword [esi], 5
jmp 0x1021e2f
mov ecx, dword [0x10376c0]
call fcn.010299bc
cmp eax, edi
je 0x1021e29
mov ecx, dword [eax]
cmp ecx, dword [ebp + 8]
jne 0x1021e29
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 4], ecx
jne 0x1021e29
push dword [ebp + 0xc]
mov ecx, dword [0x10373f8]
call fcn.0101e026
test eax, eax
jne 0x1021db0
mov dword [esi], 4
jmp 0x1021e2f
mov ecx, dword [0x10373d8]
call fcn.01013d3c
test eax, eax
je 0x1021dce
mov ecx, dword [0x1037cf8]
call fcn.0103129a
test eax, eax
je 0x1021ddd
mov ecx, dword [0x10373d8]
call fcn.01013d2d
test eax, eax
jne 0x1021e25
push edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x1021e14
push dword [ebp - 4]
call dword [sym.imp.WINMM.dll_waveInClose]
push edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
call dword [sym.imp.WINMM.dll_waveOutOpen]
test eax, eax
je 0x1021e1c
mov dword [esi], 3
jmp 0x1021e2f
push dword [ebp - 8]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov dword [esi], edi
jmp 0x1021e2f
mov dword [esi], 2
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x1024088
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
xor ecx, ecx
or ebx, 0xffffffff
cmp eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
je 0x10240b8
mov esi, dword [eax + 4]
cmp esi, ecx
mov dword [ebp - 0xc], eax
jne 0x10240c3
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
jmp 0x10240c3
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push dword [ebp + 8]
call fcn.01023b5c
xor edx, edx
cmp ax, dx
jne 0x10240df
xor eax, eax
inc eax
jmp 0x102413c
mov ecx, dword [esi + 8]
cmp ax, word [ecx]
jne 0x1024107
cmp ebx, edx
jge 0x10240f7
cmp dword [ecx + 4], edx
je 0x10240f7
movzx ebx, word [ecx + 2]
mov dword [edi + 0x28], esi
mov ecx, dword [esi + 8]
cmp dword [ecx + 4], edx
je 0x1024104
inc dword [ebp - 8]
jmp 0x1024107
inc dword [ebp - 4]
cmp esi, dword [ebp - 0xc]
je 0x102411a
mov esi, dword [esi + 4]
cmp esi, edx
jne 0x10240df
mov ecx, dword [edi + 0x2c]
mov esi, dword [ecx]
jmp 0x10240df
xor eax, eax
cmp ebx, edx
jge 0x1024128
cmp dword [ebp - 4], edx
setne al
jmp 0x102413c
cmp dword [ebp - 8], 1
movzx ecx, bx
setne al
inc eax
inc eax
movzx eax, ax
shl eax, 0x10
or eax, ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10274d6
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov edi, dword [ebp + 8]
jne 0x10274fe
test edi, edi
je 0x1027559
mov ecx, esi
call fcn.01027210
test eax, eax
jl 0x1027559
cmp edi, dword [esi + 0xc]
je 0x1027559
test edi, edi
je 0x1027537
mov ecx, dword [0x1037cf8]
push 1
push 0
call fcn.0103196e
push 0
push 0
mov ecx, esi
call fcn.01027410
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1027542
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [esi + 0xc], eax
mov ecx, dword [0x1037400]
call fcn.010262de
pop edi
pop esi
pop ebp
ret 4

Function at 0x102bcf8
Capabilities:
Log keystrokes
Query or enumerate registry value

Disassembly:
push 0x4e0
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x102bd10
mov ecx, eax
call fcn.0102bc01
jmp 0x102bd12
xor eax, eax
test eax, eax
mov dword [0x10376c4], eax
jne 0x102bd21
mov eax, 0x8007000e
ret
mov ecx, eax
jmp fcn.0102b729