joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f58
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.00406f70
xor eax, eax
push ebp
push 0x40a17d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409f98
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x409fb2
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407ce8
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40a167
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a18c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a081
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a18c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a081
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a1c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a081
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a1c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a081
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a1fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a081
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a230
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40a167
xor eax, eax
push ebp
push 0x40a160
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409d64
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 0x40a0f0
mov eax, dword [ebp - 0x10]
call fcn.00404900
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.00407d50
jmp 0x40a13b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40a270
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a13b
mov eax, dword [ebp - 0x10]
call fcn.00404900
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40a270
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407d50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a167
cmp dword [ebp - 8], 0
je 0x40a156
mov eax, dword [ebp - 8]
call fcn.0040491c
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 0x40a184
lea eax, [ebp - 4]
call fcn.00406e8c
ret
Function at 0x40a46c
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.00406f70
xor eax, eax
push ebp
push 0x40a52c
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
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407da4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407f54
mov eax, dword [ebx]
call fcn.0040a334
test al, al
jne 0x40a509
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407da4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407f54
mov eax, dword [ebx]
call fcn.0040a334
test al, al
jne 0x40a509
mov eax, ebx
call fcn.00406e8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a533
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406eec
lea eax, [ebp - 4]
call fcn.00406e8c
ret

Function at 0x41c794
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41c7ed
test eax, edx
je 0x41c7f0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41c7ab
movzx eax, word [eax]
sub eax, ecx
jmp 0x41c7d2
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 0x41c7d3
add ecx, 4
js 0x41c7c3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41c7d0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41c7d2
xor eax, eax
ret
test eax, eax
je 0x41c7fc
test edx, edx
jne 0x41c79c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41db8c
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 0x41dbb9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x41dc4c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00407ce8
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41dcf3
test esi, 0x400
jne 0x41dc88
test esi, 0x10
setne bl
jmp 0x41dd17
cmp byte [esp], 0
je 0x41dcbc
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41dd17
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41dd17
test esi, 0x10
je 0x41dcc8
mov bl, 1
jmp 0x41dd17
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41dcef
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41dd17
mov bl, 1
jmp 0x41dd17
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x41dd11
cmp eax, 3
je 0x41dd11
cmp eax, 0x7b
je 0x41dd11
cmp eax, 0x35
je 0x41dd11
cmp eax, 0x15
jne 0x41dd15
xor ebx, ebx
jmp 0x41dd17
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x423048
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_1
test eax, eax
jle 0x423081
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407014
jmp 0x42308a
mov eax, ebx
mov edx, esi
call fcn.0040726c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423094
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_1
test eax, eax
jle 0x4230b6
movzx eax, word [esp]
jmp 0x4230b8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x423d90
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 0x423eb5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423b98
mov esi, eax
mov eax, dword [0x5ed55c]
cmp byte [eax], 0
je 0x423e5d
mov eax, dword [0x5ed270]
call fcn.00404dd0
call fcn.00404a74
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x423d60]
call fcn.00409250
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x423ed0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x423e99
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5ed1f8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5f0c50]
call fcn.0040945c
push eax
call sub.user32.dll_LoadStringW_1
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 0x423ebc
lea eax, [ebp - 4]
mov edx, dword [0x423d60]
call fcn.00409374
ret

Function at 0x424b00
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 0x424bd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004072b4
lea eax, [ebp - 4]
call fcn.00407450
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407ce8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x424bc0
mov eax, ebx
call fcn.00404900
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x424bb9
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.00407ce8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x424ba3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x424be8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x424ba3
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 0x424bc0
mov eax, dword [ebp - 0x10]
call fcn.0040491c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424bdd
lea eax, [ebp - 4]
call fcn.00406e8c
ret
Function at 0x425f24
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407da4
add esp, 0x800
pop ebx
ret
Function at 0x49d35c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49d3fa
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x49d3be
cmp byte [ebx + 0x10], 0
jne 0x49d3be
cmp byte [ebx + 0x3c], 0
jne 0x49d3be
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x49d3df
lea edx, [ebp - 4]
mov eax, dword [0x5ed4e0]
call fcn.0040adfc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x478554]
call fcn.00423ee0
call fcn.00406588
jmp 0x49d3df
lea edx, [ebp - 8]
mov eax, dword [0x5ed4e0]
call fcn.0040adfc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x478554]
call fcn.00423ee0
call fcn.00406588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d401
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406eec
ret

Function at 0x49d8e8
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 + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x49d936
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 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.0049d2a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d94f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x49d958
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.0049d2a8
dec esi
jne 0x49d97a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x49fd84
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5f3020
cmp dword [edi], 0
jne 0x49fe00
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5f301c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5e85b4
mov ecx, 2
call fcn.00404ac4
mov edx, 0x49fd5c
lea eax, [esi + 5]
call fcn.0049fd7c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0049fd7c
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 0x49fdd5
mov dword [0x5f301c], 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 0x4b9808
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.00407ce8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.004b92e0
test al, al
jne 0x4b9869
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5ed70c]
mov dl, 1
mov eax, dword [0x4b801c]
call fcn.00423fd8
call fcn.00406588
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004b9248
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 0x4c1ca4
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 0x4c1caa
ret
Function at 0x4cc378
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4cc526
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x4cc502
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x4cc502
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4cc340]
call fcn.00409250
add esp, 4
lea eax, [ebp - 4]
call fcn.0040a888
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x5ed274]
push eax
call sub.windowscodecs.dll_WICConvertBitmapSource
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00409034
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.00404e34
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x4c0568]
call fcn.004c8e90
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x4cc4e0
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.004caa84
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 0
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.004c9b04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cc502
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc52d
lea eax, [ebp - 8]
mov edx, dword [0x4cc340]
call fcn.00409374
lea eax, [ebp - 4]
call fcn.0040a888
ret

Function at 0x4d464c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x5e9b24
test edx, edx
jne 0x4d466b
xor eax, eax
jmp 0x4d4789
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4d4688
push esi
push edx
push eax
call fcn.004d4790
add esp, 0xc
jmp 0x4d4789
push esi
push edx
push eax
call fcn.004d4a50
add esp, 0xc
jmp 0x4d4789
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4e21cc
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 - 0xc]
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 [0x5f3200], 0
je 0x4e230d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5ed4ac]
mov edx, dword [edx]
xor al, byte [edx + 0xc0]
je 0x4e230d
mov eax, dword [0x5f3204]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5f3200]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4e22dc
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5f3200]
call fcn.0048e844
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4e22d4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1fd], 0
je 0x4e22d4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x4e22d4
mov eax, dword [ebp - 0x14]
call fcn.004edafc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e22d4
push ebp
call fcn.004e2188
pop ecx
test al, al
jne 0x4e22d4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00405594
test al, al
je 0x4e22d4
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00405594
cmp byte [ebp - 1], 0
je 0x4e22d4
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040c3ec
test al, al
je 0x4e22d4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5f3204]
call fcn.004e18ec
inc edi
dec ebx
jne 0x4e2231
mov eax, dword [0x5f3204]
cmp dword [eax + 8], 0
jle 0x4e22f4
mov eax, dword [0x5f3204]
call fcn.004e19a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4e230d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004e1ff0
pop ecx
test al, al
jne 0x4e230d
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 0x4ea668
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.0040c5c0
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.004e4788
test ebx, ebx
jne 0x4ea6bb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004ea4e4
mov ebx, eax
test ebx, ebx
je 0x4ea7b1
cmp esi, ebx
je 0x4ea6e4
mov eax, dword [esp]
sub eax, dword [ebx + 0x48]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x4c]
mov dword [esp + 0x118], eax
jmp 0x4ea6f9
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 0x4ea731
add eax, 0xffffff5f
sub eax, 2
jb 0x4ea749
dec eax
sub eax, 2
jb 0x4ea75d
dec eax
sub eax, 2
jb 0x4ea753
jmp 0x4ea767
add eax, 0xfffffdff
sub eax, 2
jb 0x4ea749
dec eax
sub eax, 2
jb 0x4ea75d
dec eax
sub eax, 2
jb 0x4ea753
jmp 0x4ea767
mov byte [esp + 0x120], 0
jmp 0x4ea76f
mov byte [esp + 0x120], 2
jmp 0x4ea76f
mov byte [esp + 0x120], 1
jmp 0x4ea76f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.005565d4
mov esi, eax
call fcn.004e127c
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.004e6050
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4ea7b3
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x50e814
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406f70
xor eax, eax
push ebp
push 0x50e953
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x50e926
xor edx, edx
push ebp
push 0x50e91f
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x50e861
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x50e8f4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x50e8e3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x50e8a6
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00407ce8
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00404ac4
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e8ea
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5ed158]
mov dl, 1
mov eax, dword [0x4189ac]
call fcn.00423f9c
call fcn.00406588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e95a
lea eax, [ebp - 4]
call fcn.00406e8c
ret

Function at 0x531db8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00531e68
test eax, eax
je 0x531df3
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00531e68
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407014
jmp 0x531e01
mov ecx, esi
mov edx, 0x531e20
mov eax, ebx
call fcn.00531d40
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040726c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5464f0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00406e8c
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x546542
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x54653b
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00407da4
jmp 0x546542
mov eax, esi
call fcn.00406e8c
add esp, 0x200
pop esi
pop ebx
ret