joyce8/EMBER2024-capa huggingface dataset:
Function at 0x19e8c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x19ff1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0001764c
cmp si, word [0x18ba00]
jb 0x19f24
cmp si, word [0x18bc00]
ja 0x19f24
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x19f24
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x18ba00]
jae 0x19efe
mov edi, ebx
dec edi
jmp 0x19f1f
cmp si, word [ebx*8 + 0x18ba00]
jbe 0x19f0e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x19f1f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x18ba04]
call fcn.00019dac
jmp 0x19f24
cmp edi, dword [ebp - 8]
jae 0x19ee8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x19fd3
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale_1
test eax, eax
je 0x19fd3
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW_1
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW_1
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00018230
push dword [ebp - 0x160]
push 0x1a00c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00018230
push dword [ebp - 0x164]
push 0x1a01c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00018230
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00018468
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x19ff8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.000176ac
ret
Function at 0x1a1a4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1a2a8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x191b8c
call sub.KERNEL32.DLL_EnterCriticalSection_1
cmp bx, word [0x191ba4]
jne 0x1a1f0
mov eax, esi
mov edx, 0x191ba6
mov ecx, 0x55
call fcn.00018230
push 0x191b8c
call sub.KERNEL32.DLL_LeaveCriticalSection_1
jmp 0x1a292
push 0x191b8c
call sub.KERNEL32.DLL_LeaveCriticalSection_1
mov eax, esi
call fcn.0001764c
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale_1
test eax, eax
je 0x1a25f
cmp byte [0x191b88], 0
je 0x1a224
mov edx, esi
mov eax, ebx
call fcn.0001a088
jmp 0x1a25f
mov edx, esi
mov eax, ebx
call fcn.00019e8c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x1a25f
cmp dword [esi], 0
je 0x1a248
mov eax, esi
mov edx, 0x1a2c0
call fcn.00018388
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00019e8c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00018388
push 0x191b8c
call sub.KERNEL32.DLL_EnterCriticalSection_1
mov word [0x191ba4], bx
mov eax, dword [esi]
call fcn.0001818c
mov ecx, eax
mov eax, 0x191ba6
mov edx, 0xaa
call fcn.00019d0c
push 0x191b8c
call sub.KERNEL32.DLL_LeaveCriticalSection_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1a2af
lea eax, [ebp - 4]
call fcn.0001764c
ret
Function at 0x1a4d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00017730
xor eax, eax
push ebp
push 0x1a6fd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x1a518
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW_1
jmp 0x1a532
mov eax, dword [ebp - 4]
call fcn.0001818c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00019d0c
cmp word [ebp - 0x21a], 0
je 0x1a6e7
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1a70c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1a601
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1a70c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1a601
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1a748
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1a601
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1a748
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1a601
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1a77c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1a601
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x1a7b0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x1a6e7
xor eax, eax
push ebp
push 0x1a6e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0001a2e8
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x1a670
mov eax, dword [ebp - 0x10]
call fcn.00014ffc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.000181f4
jmp 0x1a6bb
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x1a7f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x1a6bb
mov eax, dword [ebp - 0x10]
call fcn.00014ffc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x1a7f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.000181f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1a6e7
cmp dword [ebp - 8], 0
je 0x1a6d6
mov eax, dword [ebp - 8]
call fcn.00015018
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1a704
lea eax, [ebp - 4]
call fcn.0001764c
ret
Function at 0x1a9ec
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00017730
xor eax, eax
push ebp
push 0x1aaac
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00018230
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.000183e0
mov eax, dword [ebx]
call fcn.0001a8b4
test al, al
jne 0x1aa89
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00018230
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.000183e0
mov eax, dword [ebx]
call fcn.0001a8b4
test al, al
jne 0x1aa89
mov eax, ebx
call fcn.0001764c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1aab3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.000176ac
lea eax, [ebp - 4]
call fcn.0001764c
ret

Function at 0x2ab10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x2ab69
test eax, edx
je 0x2ab6c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x2ab27
movzx eax, word [eax]
sub eax, ecx
jmp 0x2ab4e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x2ab4f
add ecx, 4
js 0x2ab3f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x2ab4c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x2ab4e
xor eax, eax
ret
test eax, eax
je 0x2ab78
test edx, edx
jne 0x2ab18
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x2bc08
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x2bc35
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x2fa2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x2fa65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.000177d4
jmp 0x2fa6e
mov eax, ebx
mov edx, esi
call fcn.00017a2c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x2fa78
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x2fa9a
movzx eax, word [esp]
jmp 0x2fa9c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x30ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x30bd5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.000308b8
mov esi, eax
mov eax, dword [0x18ec54]
cmp byte [eax], 0
je 0x30b7d
mov eax, dword [0x18e958]
call fcn.00015510
call fcn.00015170
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x30a80]
call fcn.0001958c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x30bf0
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x30bb9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x18e8e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x191c54]
call fcn.000199ac
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30bdc
lea eax, [ebp - 4]
mov edx, dword [0x30a80]
call fcn.000196b0
ret
Function at 0x318b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x31986
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00017a74
lea eax, [ebp - 4]
call fcn.00017bd4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0001818c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x31970
mov eax, ebx
call fcn.00014ffc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x31969
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0001818c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x31953
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x31998
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x31953
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x31970
mov eax, dword [ebp - 0x10]
call fcn.00015018
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3198d
lea eax, [ebp - 4]
call fcn.0001764c
ret

Function at 0x3199c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x31a9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00017a74
lea eax, [ebp - 4]
call fcn.00017bd4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0001818c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x31a86
mov eax, ebx
call fcn.00014ffc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x31a7f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0001818c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x31a69
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x31ab0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x31a69
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x31a86
mov eax, dword [ebp - 0x10]
call fcn.00015018
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x31aa3
lea eax, [ebp - 4]
call fcn.0001764c
ret
Function at 0x3dcbc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
clc

Function at 0x73d64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x73d6c
mov eax, edx
pop esi
pop ebx
ret

Function at 0xa85fc
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0xa869a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0xa865e
cmp byte [ebx + 0x11], 0
jne 0xa865e
cmp byte [ebx + 0x3c], 0
jne 0xa865e
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0xa867f
lea edx, [ebp - 4]
mov eax, dword [0x18ebe0]
call fcn.0001b31c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x822ac]
call fcn.00030c00
call fcn.00016d48
jmp 0xa867f
lea edx, [ebp - 8]
mov eax, dword [0x18ebe0]
call fcn.0001b31c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x822ac]
call fcn.00030c00
call fcn.00016d48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa86a1
lea eax, [ebp - 8]
mov edx, 2
call fcn.000176ac
ret

Function at 0xa8b08
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0xa8b56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.000a8548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xa8b6f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0xa8b78
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.000a8548
dec esi
jne 0xa8b9a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0xab2ac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x1943f0
cmp dword [edi], 0
jne 0xab328
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x1943ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x18d514
mov ecx, 2
call fcn.000151c0
mov edx, 0xab284
lea eax, [esi + 5]
call fcn.000ab2a4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.000ab2a4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0xab2fd
mov dword [0x1943ec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0xbf90c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0001818c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.000bf3e0
test al, al
jne 0xbf96d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x18ee00]
mov dl, 1
mov eax, dword [0xbe114]
call fcn.00030cf8
call fcn.00016d48
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.000bf348
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0xc7f4c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0xc7f52
ret
Function at 0xe6804
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x194620], 0
je 0xe6945
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x18ebb0]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0xe6945
mov eax, dword [0x194624]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x194620]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0xe6914
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x194620]
call fcn.000988ac
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0xe690c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x205], 0
je 0xe690c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x6c]
test al, al
je 0xe690c
mov eax, dword [ebp - 0x14]
call fcn.000f2220
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0xe690c
push ebp
call fcn.000e67c0
pop ecx
test al, al
jne 0xe690c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00015c88
test al, al
je 0xe690c
mov byte [ebp - 9], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00015c88
cmp byte [ebp - 9], 0
je 0xe690c
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.0001cf8c
test al, al
je 0xe690c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x194624]
call fcn.000e5f08
inc edi
dec ebx
jne 0xe6869
mov eax, dword [0x194624]
cmp dword [eax + 8], 0
jle 0xe692c
mov eax, dword [0x194624]
call fcn.000e5fbc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0xe6945
push ebp
mov eax, dword [ebp - 0x18]
call fcn.000e6628
pop ecx
test al, al
jne 0xe6945
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xeedc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0001d18c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.000e8e48
test ebx, ebx
jne 0xeee17
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.000eec3c
mov ebx, eax
test ebx, ebx
je 0xeef0d
cmp esi, ebx
je 0xeee40
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0xeee55
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0xeee8d
add eax, 0xffffff5f
sub eax, 2
jb 0xeeea5
dec eax
sub eax, 2
jb 0xeeeb9
dec eax
sub eax, 2
jb 0xeeeaf
jmp 0xeeec3
add eax, 0xfffffdff
sub eax, 2
jb 0xeeea5
dec eax
sub eax, 2
jb 0xeeeb9
dec eax
sub eax, 2
jb 0xeeeaf
jmp 0xeeec3
mov byte [esp + 0x120], 0
jmp 0xeeecb
mov byte [esp + 0x120], 2
jmp 0xeeecb
mov byte [esp + 0x120], 1
jmp 0xeeecb
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0016ae54
mov esi, eax
call fcn.000e58b4
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.000ea724
mov dword [edi + 0xc], eax
mov al, 1
jmp 0xeef0f
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret