joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbb61c5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x108], eax
mov ebx, 0x80004005
mov eax, edi
shr eax, 4
push 0x400
inc eax
movzx eax, ax
push eax
push 6
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
test eax, eax
je 0xbb62b2
push eax
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test eax, eax
je 0xbb62b2
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov esi, eax
test esi, esi
je 0xbb62b2
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00ab4bf6
add esp, 0xc
and edi, 0xf
jbe 0xbb625a
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0xbb624c
movzx edi, word [esi]
mov ecx, 0x80
cmp edi, ecx
jae 0xbb62b2
lea eax, [esi + 2]
mov edx, ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.00bb426a
mov ebx, eax
test ebx, ebx
jns 0xbb6285
cmp ebx, 0x8007007a
jne 0xbb62b2
lea eax, [edi + edi]
cmp eax, 0x100
jae 0xbb62c5
xor ecx, ecx
mov edx, 0x80
mov word [ebp + eax - 0x104], cx
lea eax, [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
push eax
call fcn.00bb426a
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab3c50
leave
ret 0xc
call fcn.00ab3dab
int3
Function at 0xbb68ce
Capabilities:
Persist via winlogon helper dll registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x28]
xor ebx, ebx
push eax
push 0x20019
push ebx
push 0x9f3b88
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi], ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0xbb69a9
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push 0x9f8a00
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0xbb69a0
mov eax, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x1c]
push ebx
push esi
push 0x9f3c0c
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0xbb6997
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 0x14]
push eax
push esi
push 0x9f89e4
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0xbb6997
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x14]
jne 0xbb6997
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jne 0xbb6997
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0xbb6997
mov dword [edi], 1
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x24
Function at 0xbb7eec
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, 0x9e7eb4
xor ebx, ebx
mov eax, 0x9e7ed4
cmp eax, esi
push edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
push dword [esi]
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteKeyW]
inc ebx
lea esi, [esi + 4]
cmp ebx, edi
jne 0xbb7f07
pop edi
pop esi
pop ebx
ret
Function at 0xbb8745
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0xb03f79
call fcn.00af8df7
mov ebx, edx
mov dword [ebp - 0x20], ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x1c], eax
call fcn.00a398c6
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.00bb6f01
mov esi, eax
test esi, esi
jns 0xbb879d
mov ecx, dword [ebp + 4]
mov edx, 0x579
push esi
push 0x9fcd64
call fcn.00aa4c55
jmp 0xbb88f6
mov eax, dword [ebp - 0x10]
xor esi, esi
mov ecx, dword [ebp + 0x10]
mov edx, 0x9f8c5c
or ecx, 0x800
mov edi, esi
mov dword [eax + 0x6c], ecx
mov ecx, ebx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 3
call fcn.00bff7c9
test al, al
je 0xbb87d1
mov edi, 0x9f8c5c
jmp 0xbb87ec
test byte [ebp + 8], 1
je 0xbb87ec
mov edx, 0xa1b894
mov ecx, ebx
call fcn.00bff7c9
test al, al
je 0xbb87ec
mov edi, 0xa1b894
push ecx
push 3
push esi
mov ecx, 0xc97280
call fcn.00aba065
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x24], 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push ebx
call dword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHGetIDListFromObject]
mov byte [ebp - 4], 1
mov esi, eax
cmp byte [ebp - 0x24], 0
je 0xbb883e
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0xbb883e
push edx
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
test esi, esi
jns 0xbb885a
mov ecx, dword [ebp + 4]
mov edx, 0x599
push esi
push 0x9fcd64
call fcn.00aa4c55
jmp 0xbb88e0
push 0x38
lea eax, [ebp - 0x64]
mov dword [ebp - 0x68], 0x3c
push 0
push eax
call fcn.00ab4bf6
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov eax, ecx
mov dword [ebp - 0x5c], edi
or eax, 0xc000104
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0xbb88ba
push 2
push dword [eax + 4]
or ecx, 0xc200104
push dword [eax]
mov dword [ebp - 0x64], ecx
call dword [sym.imp.USER32.dll_MonitorFromPoint]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0xbb88de
mov ecx, dword [ebp + 4]
mov edx, 0x5a7
push 0x9fcd64
call fcn.00b5af13
mov esi, eax
jmp 0xbb88e0
xor esi, esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x14], 0
test eax, eax
je 0xbb88f6
push eax
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00a398c6
mov eax, esi
call fcn.00af8dc0
ret 0x10
Function at 0xbb9074
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x220]
xor ebx, ebx
mov dword [ebp - 0x220], 0x208
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x20c]
mov dword [edi], ebx
push eax
push ebx
push 0xa1b7d8
push 0xa1b770
mov esi, 0x80004005
call dword [sym.imp.api_ms_win_core_registryuserspecific_l1_1_0.dll_SHRegGetUSValueW]
test eax, eax
jne 0xbb90fa
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHCORE.dll_Ordinal_200]
test eax, eax
je 0xbb90fa
push edi
push 0xa1bd3c
push 2
push 4
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHELL32.dll_Ordinal_866]
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab3c50
leave
ret 8
Function at 0xbbc5b1
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0xafbeae
call fcn.00af8df7
xor esi, esi
sub ecx, esi
je 0xbbc687
sub ecx, 1
je 0xbbc667
sub ecx, 1
je 0xbbc65c
sub ecx, 1
je 0xbbc651
sub ecx, 1
jne 0xbbc6ad
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00a398c6
lea eax, [ebp - 0x10]
push eax
push 0xa1c628
push 0x17
push esi
push 0xa27b28
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
jns 0xbbc61a
push eax
push 0xa1c5f4
push 0x25
jmp 0xbbc63e
mov eax, dword [ebp - 0x10]
push 0xa1c5c4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0xc99200]
call esi
test eax, eax
jns 0xbbc647
push eax
push 0xa1c5f4
push 0x27
mov ecx, dword [ebp + 4]
pop edx
call fcn.00ab606d
lea ecx, [ebp - 0x10]
call fcn.00a398c6
jmp 0xbbc6ad
push 1
push esi
push esi
push 0xa1c550
jmp 0xbbc6a5
push 1
push esi
push esi
push 0xa1c594
jmp 0xbbc6a5
test dl, dl
je 0xbbc67c
mov ecx, dword [ebp + 8]
mov edx, 0xa270b8
call fcn.00bb981d
test eax, eax
jne 0xbbc6ad
push 1
push esi
push esi
push 0xa171cc
jmp 0xbbc6a5
test dl, dl
je 0xbbc69c
mov ecx, dword [ebp + 8]
mov edx, 0xa270b8
call fcn.00bb981d
test eax, eax
jne 0xbbc6ad
push 1
push esi
push esi
push 0xa1c524
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00af8dc0
ret 4
Function at 0xbbc719
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push 0x1c
mov eax, 0xb04345
call fcn.00af8e62
mov dword [ebp - 0x14], ecx
and dword [ebp - 4], 0
mov edi, 0x811c9dc5
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], edx
xor edx, edx
add eax, eax
je 0xbbc764
mov esi, dword [ebp - 0x18]
mov ecx, eax
movzx eax, byte [esi + edx]
xor eax, edi
imul edi, eax, 0x1000193
inc edx
cmp edx, ecx
jb 0xbbc74d
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
and eax, edi
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00a360e3
mov edi, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x18], eax
cmp edi, dword [eax + edx*8]
je 0xbbc7bd
mov edi, dword [edi + 4]
lea eax, [edi + 8]
push eax
push dword [ebp + 0xc]
call fcn.00a3610c
test al, al
jne 0xbbc778
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push esi
add ecx, 4
push eax
call fcn.00bbcc8c
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
call fcn.00af8dc0
ret 0xc
mov eax, dword [esi]
mov dword [ebp - 0x24], esi
cmp edi, eax
je 0xbbc7f5
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x18], eax
jmp 0xbbc7f8
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + edx*8]
cmp esi, dword [ecx + 4]
mov esi, dword [ebp - 0x20]
jne 0xbbc80f
mov dword [eax + edx*8], esi
mov eax, dword [ecx + 0xc]
mov dword [eax + edx*8 + 4], esi
jmp 0xbbc83b
cmp dword [eax + edx*8], edi
jne 0xbbc819
mov dword [eax + edx*8], esi
jmp 0xbbc83b
mov eax, dword [eax + edx*8 + 4]
mov edi, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [edi + edx*8 + 4], eax
cmp eax, esi
je 0xbbc83b
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + edx*8 + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 2
call fcn.00a35fe3
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
jmp 0xbbc7b5
Function at 0xbbcc22
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edx, dword [eax + 0xc]
mov edi, 0x811c9dc5
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
lea ecx, [edx + edx]
xor edx, edx
test ecx, ecx
je 0xbbcc67
mov esi, dword [ebp - 8]
mov eax, ecx
movzx ecx, byte [edx + esi]
xor ecx, edi
imul edi, ecx, 0x1000193
inc edx
cmp edx, eax
jb 0xbbcc50
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x18]
and ecx, edi
push ecx
push eax
mov ecx, esi
call fcn.00adc75a
push dword [ebp + 0xc]
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.00bbcc8c
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret 8
Function at 0xbc3893
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0xc
push 0x40
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov edi, dword [ebp + 8]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0xbc38e2
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.ext_ms_win_ntuser_windowstation_l1_1_0.dll_GetThreadDesktop]
push ebx
push 0x2000
push esi
push 0xbc3900
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
call dword [sym.imp.api_ms_win_shcore_thread_l1_1_0.dll_SHCreateThread]
test eax, eax
jne 0xbc38eb
push esi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_EndTask]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0xbc4163
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xf0001
xor esi, esi
push esi
push esi
call dword [sym.imp.ext_ms_win_ntuser_windowstation_l1_1_1.dll_OpenInputDesktop]
test eax, eax
je 0xbc41c5
push edi
push eax
call dword [sym.imp.ext_ms_win_ntuser_windowstation_l1_1_0.dll_CloseDesktop]
push dword [ebp + 0xc]
push 0x40
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0xbc41c4
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
push esi
push 0x2008
push edi
push 0xbc0860
call dword [sym.imp.api_ms_win_shcore_thread_l1_1_0.dll_SHCreateThread]
test eax, eax
je 0xbc41bd
inc esi
jmp 0xbc41c4
push edi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0xbc45cf
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [esp + 8], 0x40
dec eax
mov dword [esp + 0xc], 0x4100000
push esi
push edi
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x44]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
stosd dword es:[edi], eax
mov dword [esp + 0xc], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_ActivateActCtx]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0xbc4651
or dword [esp + 0x14], 0x10000000
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0xbc4666
or dword [esp + 0x14], 0x40000000
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call dword [0xc99200]
call esi
mov esi, eax
cmp dword [esp + 0xc], ebx
je 0xbc4691
push dword [esp + 0xc]
push ebx
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_DeactivateActCtx]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xbd1156
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ecx]
test esi, esi
jne 0xbd119b
mov edx, 0x12b9b0a5
cmp dword [ebp + 0xc], esi
jbe 0xbd118c
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [esi + edi]
imul eax, edx, 0x820
add ecx, eax
mov eax, edx
shr eax, 2
add ecx, eax
xor edx, ecx
inc esi
cmp esi, dword [ebp + 0xc]
jb 0xbd1170
pop edi
and edx, 0x7fffffff
mov eax, edx
xor edx, edx
div dword [ebp + 0x10]
jmp 0xbd11b0
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0xc99200]
call esi
mov edx, eax
mov eax, edx
pop esi
pop ebp
ret 0xc

Function at 0xbd6c2e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0xc940a0]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0x31
pop edx
mov edi, dword [ebx + 0x184]
mov ecx, dword [ebx + 0x100]
mov dword [esp + 0x10], edi
call fcn.00a89cec
add eax, dword [ebx + 0x1ac]
mov esi, dword [ebx + 0x10c]
mov dword [esp + 0x20], eax
test esi, esi
je 0xbd6c7f
mov esi, dword [esi]
jmp 0xbd6c81
xor esi, esi
push dword [ebx + 0x28]
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_GetDC]
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
test esi, esi
jle 0xbd6d8d
mov eax, dword [ebx + 0x10c]
lea edi, [esp + 0x70]
push 0x104
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*4]
xor eax, eax
stosd dword es:[edi], eax
mov dword [esp + 0x28], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
lea eax, [esp + 0x84]
push eax
push ecx
mov ecx, esi
call dword [0xc99200]
call esi
test eax, eax
jle 0xbd6d29
push 0x3c
lea eax, [esp + 0x38]
mov dword [esp + 0x34], 0x40
push 0
push eax
call fcn.00ab4bf6
add esp, 0xc
mov dword [esp + 0x34], 0x2200
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x74]
push eax
push 0xc24
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
push 0
push 3
push dword [esp + 0x38]
push dword [ebx + 0xf8]
call dword [sym.imp.UxTheme.dll_DrawThemeTextEx]
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
add eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
cmp eax, edi
jle 0xbd6d43
mov edi, eax
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x24]
mov ecx, ebx
push esi
call fcn.00bda371
test eax, eax
je 0xbd6d76
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push esi
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0xc99200]
call esi
cmp dword [esp + 0x28], edi
jle 0xbd6d76
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x18]
jl 0xbd6ca0
mov eax, dword [esp + 0x1c]
push eax
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx + 0x258]
cmp edi, eax
jg 0xbd6da3
mov edi, eax
mov eax, dword [ebx + 0x254]
cmp edi, eax
jl 0xbd6daf
mov edi, eax
mov ecx, dword [esp + 0x28c]
mov eax, edi
mov dword [ebx + 0x250], edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00ab3c50
mov esp, ebp
pop ebp
ret
Function at 0xbd8d50
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0xffffffffffffffec
inc ebx
push dword [edi + 0x28]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowLongW]
mov esi, dword [edi + 0x244]
mov edx, eax
mov ecx, dword [ebp + 8]
neg esi
sbb esi, esi
xor eax, eax
and esi, 2
and edx, 0x400000
mov edx, dword [edi + 0x224]
setne al
or esi, eax
push esi
call fcn.00bc728a
cmp eax, 0x24
jg 0xbd8e21
je 0xbd8e1d
cmp eax, 9
je 0xbd8e05
cmp eax, 0xd
je 0xbd8dd5
cmp eax, 0xf
jle 0xbd8e6e
cmp eax, 0x12
jle 0xbd8e6a
cmp eax, 0x1b
je 0xbd8e44
cmp eax, 0x20
je 0xbd8dd5
cmp eax, 0x23
jne 0xbd8e6e
push 3
jmp 0xbd8e14
mov eax, dword [edi + 0x1dc]
lea esi, [edi + 8]
push 3
pop ecx
cdq
idiv ecx
push esi
cmp edx, ebx
jne 0xbd8df7
call fcn.00bd47b0
push eax
push esi
call fcn.00bd4cb0
jmp 0xbd8e75
call fcn.00bd47b0
push eax
push esi
call fcn.00bd5770
jmp 0xbd8e75
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
shr eax, 0xf
push eax
mov ecx, edi
call fcn.00bda17d
jmp 0xbd8e75
push 2
jmp 0xbd8e14
cmp eax, 0x5d
jg 0xbd8e55
je 0xbd8e6a
cmp eax, 0x26
jle 0xbd8e52
cmp eax, 0x27
je 0xbd8e4e
cmp eax, 0x28
jne 0xbd8e6e
push 4
mov ecx, edi
call fcn.00bda17d
test eax, eax
jns 0xbd8e75
push ebx
mov ecx, edi
call fcn.00a42ac7
jmp 0xbd8e75
push 0
jmp 0xbd8e14
push ebx
jmp 0xbd8e14
cmp eax, 0xa0
jl 0xbd8e6e
cmp eax, 0xa5
jle 0xbd8e6a
cmp eax, 0xff
jne 0xbd8e6e
xor ebx, ebx
jmp 0xbd8e75
mov ecx, edi
call fcn.00bd7eba
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0xbda9d5
Capabilities:
Log keystrokes via application hook
Log keystrokes via polling

Disassembly:
cmp dword [0xc958bc], 0
jne 0xbdaa2e
push 0
push dword [0xc9596c]
push 0xbdbb50
push 0xd
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SetWindowsHookExW]
push 0x5b
mov dword [0xc958bc], eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0xbdaa2e
push 0x5c
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0xbdaa2e
call fcn.00bdbe3f
mov eax, dword [0xc958bc]
test eax, eax
je 0xbdaa2e
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_UnhookWindowsHookEx]
and dword [0xc958bc], 0
ret

Function at 0xbdaa2f
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0xc958b8], 0
jne 0xbdaa52
push 0
push dword [0xc9596c]
push 0xbdbb90
push 0xd
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SetWindowsHookExW]
mov dword [0xc958b8], eax
ret
Function at 0xbe48ea
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00be1ec1
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowLongW]
shr eax, 0x16
xor edi, edi
inc edi
and eax, edi
push eax
lea eax, [ebx + 0x18]
push eax
call fcn.00a388c0
mov ecx, dword [ebp + 8]
mov edx, eax
call fcn.00bc728a
cmp eax, 0x24
jg 0xbe4a72
je 0xbe4a3a
cmp eax, 0xd
je 0xbe49e2
cmp eax, 0x1b
je 0xbe499d
cmp eax, 0x20
je 0xbe49e2
cmp eax, 0x23
jne 0xbe4afd
push edi
lea eax, [ebx + 0x14]
push eax
call fcn.00bddf50
mov eax, dword [ebx + 0x88]
xor esi, esi
test eax, eax
je 0xbe496a
mov ecx, dword [eax]
jmp 0xbe496c
mov ecx, esi
test ecx, ecx
jle 0xbe4afd
test eax, eax
je 0xbe497a
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov edi, dword [eax + esi*4 - 4]
push edi
mov eax, dword [edi]
mov esi, dword [eax + 0x9c]
mov ecx, esi
call dword [0xc99200]
call esi
push 2
push eax
push edi
jmp 0xbe4a66
xor esi, esi
cmp dword [ebx + 0x178], esi
jne 0xbe49af
cmp dword [ebx + 0x94], esi
jne 0xbe49c8
push esi
push esi
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.00be639d
push 4
push esi
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.00be639d
push edi
lea eax, [ebx + 0x14]
push eax
call fcn.00bddf50
lea ecx, [ebx + 0xbc]
call fcn.00a3a1a5
jmp 0xbe4afd
xor esi, esi
cmp dword [ebx + 0xac], esi
je 0xbe4afd
mov ecx, esi
cmp eax, 0xd
jne 0xbe4a1f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0xbe4a1d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
lea ecx, [ecx*2 + 3]
jmp 0xbe4a1f
mov ecx, esi
push esi
push edi
push ecx
push dword [ebx + 0xb0]
mov ecx, ebx
push dword [ebx + 0xac]
call fcn.00be4001
jmp 0xbe4afd
push edi
lea eax, [ebx + 0x14]
push eax
call fcn.00bddf50
mov eax, dword [ebx + 0x88]
xor esi, esi
test eax, eax
je 0xbe4a54
mov ecx, dword [eax]
jmp 0xbe4a56
mov ecx, esi
test ecx, ecx
jle 0xbe4afd
mov eax, dword [eax + 4]
push 2
push esi
push dword [eax]
mov ecx, ebx
call fcn.00be5a87
jmp 0xbe4afd
mov ecx, eax
sub ecx, 0x25
je 0xbe4ae3
sub ecx, 1
je 0xbe4a88
sub ecx, 1
je 0xbe4ae3
sub ecx, 1
jne 0xbe4afd
mov ecx, dword [ebx + 0xac]
test ecx, ecx
je 0xbe4ae3
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0xc99200]
call esi
cmp eax, 3
jne 0xbe4ab1
xor esi, esi
push esi
push edi
push esi
jmp 0xbe4a22
mov eax, dword [ebx + 0xac]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0xc99200]
call esi
cmp eax, edi
jne 0xbe4afd
push edi
push 2
push dword [ebx + 0xb0]
mov ecx, ebx
push dword [ebx + 0xac]
call fcn.00be27a3
jmp 0xbe4afd
xor esi, esi
cmp eax, 0x25
je 0xbe4aef
cmp eax, 0x26
jne 0xbe4af1
mov edi, esi
push esi
push edi
push esi
lea eax, [ebx + 0x14]
push eax
call fcn.00bdfbe0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8