joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ab9c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x714038], 0
je 0x40abc7
mov edx, edi
mov eax, esi
call dword [0x714038]
mov ebx, eax
jmp 0x40abd8
mov eax, 8
call fcn.00406f14
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x71f05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40ab64
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
jne 0x40ac08
mov eax, ebx
call fcn.00406f30
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40e220
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 0x40e385
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040acdc
cmp si, word [0x714a38]
jb 0x40e2b8
cmp si, word [0x714c38]
ja 0x40e2b8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40e2b8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x714a38]
jae 0x40e292
mov edi, ebx
dec edi
jmp 0x40e2b3
cmp si, word [ebx*8 + 0x714a38]
jbe 0x40e2a2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40e2b3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x714a3c]
call fcn.0040e140
jmp 0x40e2b8
cmp edi, dword [ebp - 8]
jae 0x40e27c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40e367
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40e367
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b8d4
push dword [ebp - 0x160]
push 0x40e3a0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b8d4
push dword [ebp - 0x164]
push 0x40e3b0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b8d4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040bb0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e38c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040ad3c
ret
Function at 0x40e538
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 0x40e63c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x721c14
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x721c2c]
jne 0x40e584
mov eax, esi
mov edx, 0x721c2e
mov ecx, 0x55
call fcn.0040b8d4
push 0x721c14
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x40e626
push 0x721c14
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.0040acdc
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40e5f3
cmp byte [0x721c10], 0
je 0x40e5b8
mov edx, esi
mov eax, ebx
call fcn.0040e41c
jmp 0x40e5f3
mov edx, esi
mov eax, ebx
call fcn.0040e220
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40e5f3
cmp dword [esi], 0
je 0x40e5dc
mov eax, esi
mov edx, 0x40e654
call fcn.0040ba2c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040e220
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040ba2c
push 0x721c14
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x721c2c], bx
mov eax, dword [esi]
call fcn.0040b81c
mov ecx, eax
mov eax, 0x721c2e
mov edx, 0xaa
call fcn.0040e0a0
push 0x721c14
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e643
lea eax, [ebp - 4]
call fcn.0040acdc
ret
Function at 0x4277d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x427938
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x427778]
call fcn.0040d924
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4277a8]
call fcn.0040d924
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00427b38
test al, al
jne 0x42784e
mov dl, 1
mov eax, esi
call fcn.00427aa0
test al, al
je 0x4278d8
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00428220
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0042f2a0
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b81c
mov esi, eax
push esi
call sub.KERNEL32.DLL_GetVolumeInformationW
test eax, eax
je 0x4278d3
test byte [ebp - 0x14], 1
je 0x42789e
or bl, 1
test byte [ebp - 0x14], 2
je 0x4278a7
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x4278b0
or bl, 0x20
push esi
call sub.KERNEL32.DLL_GetDriveTypeW
sub eax, 2
je 0x4278c4
dec eax
je 0x4278c9
dec eax
je 0x4278ce
dec eax
jne 0x4278f9
or bl, 0x10
jmp 0x4278f9
or bl, 4
jmp 0x4278f9
or bl, 8
jmp 0x4278f9
call fcn.004300e8
lea edx, [ebp - 0x20]
mov eax, dword [0x71e060]
call fcn.0041099c
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41f978]
call fcn.0042daa4
call fcn.0040a3d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42793f
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040ad3c
lea eax, [ebp - 0xc]
mov edx, dword [0x4277a8]
call fcn.0040da48
lea eax, [ebp - 8]
mov edx, dword [0x427778]
call fcn.0040da48
lea eax, [ebp - 4]
call fcn.0040acdc
ret

Function at 0x4279a0
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 0x4279cd
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x42d954
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 0x42da79
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042d75c
mov esi, eax
mov eax, dword [0x71df08]
cmp byte [eax], 0
je 0x42da21
mov eax, dword [0x71d9c8]
call fcn.00407f14
call fcn.00407088
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 [0x42d924]
call fcn.0040d924
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 0x42da94
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x42da5d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x71d8f8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x722634]
call fcn.0040dd44
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 0x42da80
lea eax, [ebp - 4]
mov edx, dword [0x42d924]
call fcn.0040da48
ret

Function at 0x42ec88
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 0x42ed5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b104
lea eax, [ebp - 4]
call fcn.0040b278
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b81c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42ed48
mov eax, ebx
call fcn.00406f14
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42ed41
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.0040b81c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42ed2b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42ed70
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42ed2b
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 0x42ed48
mov eax, dword [ebp - 0x10]
call fcn.00406f30
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ed65
lea eax, [ebp - 4]
call fcn.0040acdc
ret
Function at 0x430e78
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.0040acdc
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040b81c
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x430ebd
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040ae64
jmp 0x430ed6
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040b9ac
push ebx
mov eax, dword [esi]
call fcn.0040b81c
push eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x483524
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 0x483572
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.00482b20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48358b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x483594
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.00482b20
dec esi
jne 0x4835b6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x486134
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x7254ac
cmp dword [edi], 0
jne 0x4861b0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x7254a8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x716aec
mov ecx, 2
call fcn.00407160
mov edx, 0x48610c
lea eax, [esi + 5]
call fcn.0048612c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0048612c
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 0x486185
mov dword [0x7254a8], 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 0x501634
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 0x50163c
mov eax, edx
pop esi
pop ebx
ret

Function at 0x523340
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5234fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b104
mov eax, dword [ebp - 4]
call fcn.00522c90
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x523392
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040bc3c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00523f8c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x523471
xor eax, eax
push ebp
push 0x52346a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00522f30
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00523530
test al, al
je 0x523448
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040ae64
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x523448
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040b81c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00522e90
test al, al
je 0x523442
mov eax, dword [ebp - 8]
call fcn.0040b81c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040b880
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00523340
dec ebx
cmp ebx, 0xffffffff
jne 0x5233f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x523471
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00522f30
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp byte [0x72594c], 0
je 0x5234b1
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040b81c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00522f1c
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00522e90
mov ebx, eax
jmp 0x5234d8
mov eax, dword [ebp - 4]
call fcn.0040b81c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00522f1c
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00522e90
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x523502
lea eax, [ebp - 0x3c]
call fcn.0040acdc
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ad3c
ret
Function at 0x523e68
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00522ca8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040b81c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00522e90
test al, al
jne 0x523ed0
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x71dccc]
mov dl, 1
mov eax, dword [0x521a74]
call fcn.0042dca8
call fcn.0040a3d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x523edc
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.0040b81c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00522e90
test al, al
jne 0x523f3d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x71e1f8]
mov dl, 1
mov eax, dword [0x521a74]
call fcn.0042dca8
call fcn.0040a3d8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00522cd8
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 0x54adb8
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, 0x719c00
test edx, edx
jne 0x54add7
xor eax, eax
jmp 0x54aef5
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x54adf4
push esi
push edx
push eax
call fcn.0054af18
add esp, 0xc
jmp 0x54aef5
push esi
push edx
push eax
call fcn.0054b1d8
add esp, 0xc
jmp 0x54aef5
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5592b0
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 [0x725b38], 0
je 0x5593f1
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x71de00]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x5593f1
mov eax, dword [0x725b3c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x725b38]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x5593c0
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x725b38]
call fcn.0046e408
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x5593b8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x21d], 0
je 0x5593b8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x5593b8
mov eax, dword [ebp - 0x14]
call fcn.00565b00
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5593b8
push ebp
call fcn.0055926c
pop ecx
test al, al
jne 0x5593b8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.0040930c
test al, al
je 0x5593b8
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, 0xffb9
call fcn.0040930c
cmp byte [ebp - 1], 0
je 0x5593b8
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00413ebc
test al, al
je 0x5593b8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x725b3c]
call fcn.005589ec
inc edi
dec ebx
jne 0x559315
mov eax, dword [0x725b3c]
cmp dword [eax + 8], 0
jle 0x5593d8
mov eax, dword [0x725b3c]
call fcn.00558aa0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5593f1
push ebp
mov eax, dword [ebp - 0x18]
call fcn.005590d4
pop ecx
test al, al
jne 0x5593f1
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 0x58d3a8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x58d495
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x58d467
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x58d456
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00407160
mov eax, dword [ebp - 4]
call fcn.0058d0e4
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x58d43f
mov ecx, dword [0x71d818]
mov dl, 1
mov eax, dword [0x4451e4]
call fcn.0042dbd8
call fcn.0040a3d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58d45d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret

Function at 0x58d674
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x58d719
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x58d6ec
mov edx, ebx
mov eax, dword [0x52ae7c]
call fcn.0053396c
test al, al
je 0x58d6dc
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00533864
call fcn.0040a4cc
jmp 0x58d720
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x58d6a6
mov ecx, dword [0x71d8cc]
mov dl, 1
mov eax, dword [0x58cfec]
call fcn.0042dbd8
call fcn.0040a3d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58d720
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x58d728
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x58d77d
push dword fs:[edx]
mov dword fs:[edx], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 2
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58d784
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret