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

Disassembly:
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4c47dc]
jae fcn.00408688
mov edi, ebx
dec edi
jmp 0x4086a9
cmp edi, dword [ebp - 0xc]
jae 0x408672
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x40875d
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40875d
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a2c
push dword [ebp - 0x164]
push 0x408798
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406a2c
invalid
mov ch, 0x98

Function at 0x408934
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 0x408a39
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c9b58
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4c9b70]
jne 0x408980
mov eax, esi
mov edx, 0x4c9b74
mov ecx, 0x55
call fcn.00406a2c
push 0x4c9b58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408a23
push 0x4c9b58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406844
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4089f1
cmp byte [0x4c9b54], 0
je 0x4089b6
mov edx, esi
mov eax, ebx
call fcn.00408814
jmp 0x4089f1
mov edx, esi
mov eax, ebx
call fcn.00408614
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4089f1
cmp dword [esi], 0
je 0x4089da
mov eax, esi
mov edx, 0x408a54
call fcn.00406c40
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408614
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406c40
push 0x4c9b58
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4c9b70], bx
push 0xaa
mov eax, dword [esi]
call fcn.004068d0
push eax
push 0x4c9b74
call sub.kernel32.dll_lstrcpynW
push 0x4c9b58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a40
lea eax, [ebp - 4]
call fcn.00406834
ret
Function at 0x408c78
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.0040682c
xor eax, eax
push ebp
push 0x408e5d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408cb8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408cd2
push 0x105
mov eax, dword [ebp - 4]
call fcn.004068d0
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x408e47
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408e6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408d61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408e6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408d61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408ea0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408d61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408ed4
push 0x80000001
add dword [eax], eax
add byte [eax - 0x682818], al
inc dword [ebp - 0x197af040]
add byte [eax], al
invalid
xor eax, eax
push ebp
push 0x408e40
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408a7c
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 fcn.00408dd0
mov eax, dword [ebp - 0x10]
call fcn.004041d4
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.004069f0
jmp 0x408e1b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e64
lea eax, [ebp - 4]
call fcn.00406834
ret
Function at 0x408d50
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.0040682c
xor eax, eax
push ebp
push 0x408e5d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408cb8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408cd2
push 0x105
mov eax, dword [ebp - 4]
call fcn.004068d0
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x408e47
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408e6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408d61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408e6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408d61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408ea0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408d61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408ed4
push 0x80000001
add dword [eax], eax
add byte [eax - 0x682818], al
inc dword [ebp - 0x197af040]
add byte [eax], al
invalid
xor eax, eax
push ebp
push 0x408e40
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408a7c
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 fcn.00408dd0
mov eax, dword [ebp - 0x10]
call fcn.004041d4
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.004069f0
jmp 0x408e1b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e64
lea eax, [ebp - 4]
call fcn.00406834
ret
Function at 0x409128
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.0040682c
mov eax, dword [ebp - 0x21c]
call fcn.0040682c
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x4092c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406844
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.004068d0
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x4091c8
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x4091da
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x4091c5
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x409293
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x409203
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00408c78
cmp dword [ebp - 0x220], 0
je 0x40923b
push ebp
mov eax, dword [ebp - 0x220]
call fcn.0040901c
pop ecx
mov ebx, eax
jmp 0x409293
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00408934
mov eax, dword [ebp - 0x224]
call fcn.0040901c
pop ecx
mov ebx, eax
test bl, bl
jne 0x409286
cmp byte [0x4c9b54], 0
jne 0x409286
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00408934
mov eax, dword [ebp - 0x228]
call fcn.0040901c
pop ecx
mov ebx, eax
test bl, bl
jne 0x409293
push ebp
call fcn.004090cc
pop ecx
mov ebx, eax
test bl, bl
je 0x4092a9
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4092ce
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.0040683c
ret

Function at 0x409a40
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x40cab4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4c9c4c
push 0xa
push 0x40cb48
mov eax, dword [0x4c9c3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40cad8
call fcn.00418d04
push ebx
mov eax, dword [0x4c9c3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40caef
call fcn.00418d04
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40cb01
call fcn.00418d04
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4c9c50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4c9c54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4c9c58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4c9c5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4c9c60], ecx
add edx, dword [eax + 0x14]
mov dword [0x4c9c64], edx
pop esi
pop ebx
ret

Function at 0x4116b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x411759
test eax, edx
je 0x41175c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x4116d9
push edx
mov edx, eax
mov eax, esp
call fcn.00406a48
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x4116ef
push eax
lea eax, [esp + 8]
call fcn.00406a48
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4116fe
movzx eax, word [eax]
sub eax, ecx
jmp 0x411725
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 0x41173f
add ecx, 4
js 0x411716
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x41173c
push eax
mov eax, ecx
mov edx, 2
call fcn.0040606c
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x411723
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x411725
xor eax, eax
ret
test eax, eax
je 0x41176c
test edx, edx
jne 0x4116c0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4128f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004068d0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x412912
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x412933
cmp ebx, 3
je 0x412933
cmp ebx, 0x7b
je 0x412933
mov eax, esi
call fcn.004128b4
test al, al
jne 0x412937
xor eax, eax
jmp 0x412939
mov al, 1
pop esi
pop ebx
ret

Function at 0x41293c
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004068d0
push eax
call sub.kernel32.dll_GetFileAttributesW
pop ebx
ret
Function at 0x415f20
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 0x415f59
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406980
jmp 0x415f62
mov eax, ebx
mov edx, esi
call fcn.00406844
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x415f6c
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 0x415f8e
movzx eax, word [esp]
jmp 0x415f90
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x416720
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 0x416845
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00416530
mov esi, eax
mov eax, dword [0x4c6510]
cmp byte [eax], 0
je 0x4167ed
mov eax, dword [0x4c627c]
call fcn.0040467c
call fcn.0040433c
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 [0x4166f8]
call fcn.00408010
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 0x416860
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x416829
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4c6214]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c9c3c]
call fcn.00408104
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 0x41684c
lea eax, [ebp - 4]
mov edx, dword [0x4166f8]
call fcn.0040801c
ret
Function at 0x4179fc
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 0x417ad2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406898
lea eax, [ebp - 4]
call fcn.00407230
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004068d0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x417abc
mov eax, ebx
call fcn.004041d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x417ab5
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.004068d0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x417a9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x417ae4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x417a9f
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 0x417abc
mov eax, dword [ebp - 0x10]
call fcn.004041f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417ad9
lea eax, [ebp - 4]
call fcn.00406834
ret

Function at 0x418bac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040637c
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x418b56
mov eax, edi
add eax, eax
call fcn.004041d4
mov esi, eax
jmp 0x418b58
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x418b91
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
retf
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x418b7b
mov eax, esp
cmp esi, eax
je 0x418b9e
mov eax, esi
call fcn.004041f0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x418bd8
cmp bl, 0
je 0x418bd4
cmp bl, 0x41
jl 0x418bcf
cmp bl, 0x5a
jg 0x418bcf
or bl, 0x20
xor al, bl
inc esi
jmp 0x418bb3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x418b18
Function at 0x41e25c
Capabilities:
Get number of processors

Disassembly:
jb 0x41e25b
popal
outsb dx, byte [esi]
je 0x41e269
add byte [eax], al
add byte [eax], al
add al, byte [eax]
push esp
loop 0x41e240
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx + 0x41], bh
add byte [eax], al
add byte [eax], al
jl 0x41e1f0
inc ecx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx + 0x41], bl
add byte [eax + eax], bl
add byte [eax], al
invalid
test al, 0x50
inc eax
add byte [eax + edx*2 + 0x4d400040], bl
inc eax
add byte [ebp + ecx*2 + 0x40], bl
add ah, cl
insd dword es:[edi], dx
inc ecx
add byte [eax + 0x6e], dh
inc ecx
add byte [eax], dl
outsb dx, byte [esi]
inc ecx
add byte [edx], bl
inc ebp
push esi
sbb al, byte [ebp + 0x56]
popal
jb 0x41e2cb
popal
outsb dx, byte [esi]
je 0x41e2af
outsb dx, byte [esi]
jbe 0x41e2ca
insb byte es:[edi], dx
imul esp, dword [esi + ecx*2 + 0x75], 0x704f6c6c
inc ebp
jb 0x41e2e7
outsd dx, dword [esi]
jb 0x41e208
jl fcn.0041e25c
inc ecx
add byte [edi], al
sbb al, byte [ebp + 0x56]
popal
jb 0x41e2ec
popal
outsb dx, byte [esi]
je 0x41e2d0
outsb dx, byte [esi]
jbe 0x41e2eb
insb byte es:[edi], dx
imul esp, dword [esi + ecx*2 + 0x75], 0x704f6c6c
inc ebp
jb fcn.0041e308
outsd dx, dword [esi]
jb 0x41e2ed
loop 0x41e2dc
add byte [edx + ebx*8], bh
inc ecx
add byte [eax], al
add byte [eax], cl
push esi
popal
jb 0x41e310
popal
outsb dx, byte [esi]
je 0x41e31e
add byte [eax], al
add byte [eax], al
add al, byte [eax]
lea eax, [eax]
add al, 0x64
dec esp
add al, ch
clc
mov dh, 0xfe
dec dword [ebx + 0x1b2fc4d]
inc ecx
add al, ch
add dword [ebp - 0x67170001], 0x33fffe75
push dword [ebx]
rcr byte [edx + 0x59], 0x59
fdiv dword [ebx]
rcl byte [ebp + 0x68], 0x97
jecxz 0x41e367
add byte [edi + edi*8 + 0x30], ah
dec dword [ebx + 0x1b2e44d]

Function at 0x42c534
Capabilities:
Check for software breakpoints

Disassembly:
insd dword es:[edi], dx
push eax
jb 0x42c5a7
arpl word [eax], ax
add dword [eax], ecx
push es
push ebx
je 0x42c5b2
popal
insd dword es:[edi], dx
pop es
push esp
push ebx
je 0x42c5ba
popal
insd dword es:[edi], dx
add byte [eax - 0x51], bl
inc edx
add byte [esi], ch
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], al
or byte [eax - 0x51], bl
inc edx
add byte [esi], al
push ebx
je 0x42c5d8
popal
insd dword es:[edi], dx
add al, byte [eax]
nop
inc eax
add byte [eax + edx*2 + 0x4d400040], bl
add byte [eax], al
or dword [eax], eax
add byte [eax - 0x51], bl
Function at 0x46d1c0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406844
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x46d207
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406a2c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x472a04
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472b3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4459e0]
call fcn.00446be4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x472b13
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00446ccc
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00406a2c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x472b58
call fcn.00406d00
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00446f48
test al, al
je 0x472afd
lea ecx, [ebp - 4]
mov edx, 0x472bcc
mov eax, dword [ebp - 0xc]
call fcn.00447844
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00419388
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x472af6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x472be4
mov eax, dword [ebp - 8]
push eax
call fcn.0040b1f4
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4c5cc4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472afd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472b1a
mov eax, dword [ebp - 0xc]
call fcn.00404da8
ret

Function at 0x472c48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x472c8f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x472c72
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x472c83
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x472c8f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x480680
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 [0x4cc228], 0
je 0x4807c1
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4c6494]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4807c1
mov eax, dword [0x4cc22c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4cc228]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x480790
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4cc228]
call fcn.00432b64
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x480788
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x480788
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x480788
mov eax, dword [ebp - 0x14]
call fcn.0048c064
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x480788
push ebp
call fcn.0048063c
pop ecx
test al, al
jne 0x480788
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00405034
test al, al
je 0x480788
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, 0xffbc
call fcn.00405034
cmp byte [ebp - 1], 0
je 0x480788
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040a398
test al, al
je 0x480788
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4cc22c]
call fcn.0047fd98
inc edi
dec ebx
jne 0x4806e5
mov eax, dword [0x4cc22c]
cmp dword [eax + 8], 0
jle 0x4807a8
mov eax, dword [0x4cc22c]
call fcn.0047fe50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4807c1
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004804a0
pop ecx
test al, al
jne 0x4807c1
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