joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10126231
Capabilities:
Encode data using xor

Disassembly:
shr word [esp + ecx + 0x407d7483], 0xad
mov dx, word [esp + 0x12]
lea eax, [eax + ecx - 0x6707455]
ja 0x101143a3
mov cl, bh
dec eax
push edx
or eax, 0x7445ecb5
push ecx
pop ebx
xor edx, dword [eax + 0x7ab607c8]
mov esi, dword [esp + 0x24]
mov esi, dword [esi]
lea ebx, [ebx + ebp*8 - 0x535e8c80]
call fcn.10110860
lea esi, [esi*4 - 0x8d1d873]
push ecx
shr cl, cl
call fcn.100aa851
push edi
jae 0x1012e229
mov dword [esp + esi + 0x31b59244], ecx
jb 0x1010b617
shr dx, 0xe6
jae 0x100a37bf
dec ebp
pop esi
mov eax, dword [esi + 0x4f]
pop edx
cmp edx, dword [edx]
in eax, 0x31
push 0x38
xor edx, ecx
or edx, dword [esi - 0x49]
sub ch, byte [edi + 0x6cd0358e]
mov dl, 0xc1
pop edx
inc edx
dec ebx
loopne 0x10126257
xchg edx, eax
fiadd dword [esi]
iretd
mov eax, dword [esp + edx*2 + 0x6ced2cb8]
mov eax, dword [eax]
mov dword [esp + 0xc], edi
shr byte [esp], 0xa7
cmp edi, dword [esp + 0xc]
call fcn.100360a2
and dword [eax - 0x4e], esi
movsb byte es:[edi], byte [esi]
call fcn.1008c3db

Function at 0x101281a8
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp + 0x10], 0x99
mov edi, dword [esp + 0x24]
sub word [esp + 0x20], 0x7d1a
or word [esp + 0x10], 0xb91b
shl dword [esp + 0x20], 0x2b
add dword [esp + 0x14], 0x5fa73fae
shr byte [esp + 0x14], 0xdd
add byte [esp + 0x10], 0xb2
sub dword [esp + 0x14], 0x311f69bc
push dword [esp + 0x28]
popfd
lea esp, [esp + 0x30]
ret
jbe fcn.1012f57e
sub byte [esp + 0x20], 0x2f
jb 0x10034b24
jns 0x1009b684
ja 0x101097c5

Function at 0x1013b283
Capabilities:
Encode data using xor

Disassembly:
add dword [esp + esi*2], 0xeffd8513
add dword [esp + 8], 0xd523c
mov ebx, 0x12908016
add bx, 0xc399
jno 0x100e15aa
mov ebx, dword [esp + esi + 2]
mov ebx, dword [ebx + esi*4 - 0x18]
lea esi, [esi*2 - 0x6460b5da]
js 0x1008ad7e
mov esi, 0x5d8d1999
lea ebx, [ebx + esi + 0x1a0dfc71]
jns 0x1002e04d

Function at 0x1013f3dd
Capabilities:
Encode data using xor

Disassembly:
push 0x5aaa5618
test dword [esp + ecx + 0x7c581d41], edi
push ecx
mov ecx, dword [esp + ecx + 0x7c581d65]
mov ecx, dword [ecx + edi + 0x7c581d41]
mov dword [esp + edi + 0x7c581d65], edi
call fcn.1009ba91
test byte [ecx], bh
in al, dx
mov eax, dword [0x15340d08]
neg dl
xor eax, 0x740d6617
sub dword [eax + 0x683630a8], ebx
sub eax, 0xa0955055
das
or ebx, dword [ecx - 0x63]
rcl dl, 0x7e
mov ah, 0x78
xchg esp, eax
xchg edi, eax
xchg esi, eax
adc al, byte [ebx + esi + 0x40456c14]
push es
sub al, 0x57
leave
fistp qword [esi]
pop ebx
xchg ebp, eax
pushfd
cld
pop ecx
add al, 0x43
fstp qword [eax]
mov ecx, 0x67851518
push ss
fiadd dword [ebx - 0x23]
js 0x1013f3e2
rcr byte [ebp - 0x6da025e6], 1
in al, 5
and eax, 0x59dcdc3b
inc edx
salc
mov al, 0xe6
out 0xcd, al
sbb edx, ecx
cmc
iretd
Function at 0x10181064
Capabilities:
Encode data using xor

Disassembly:
dec cl
call fcn.10198296
inc ecx
div esi
call fcn.10180087
mov edx, 0x54a8f7be
lea ecx, [edx + 0x5409ef8f]
mov dx, word [edi + edx - 0x54a8f7be]
mov edx, dword [edi + edx - 0x54a8f7be]
shr cl, 0x82
adc edi, 2
shl ecx, 0xc9
ror cl, 0xa3
lea esi, [esi + ecx - 0x65ce2601]
lea ecx, [ecx - 0x345cfb77]
shl cx, 0xca
movzx ecx, byte [esi + ecx*2 - 0x62e24800]
xor cl, bl
push 0x73a88991
shr word [esp + 2], 0xcb
not cl
jae 0x1017757f
mov dword [eax + 0x6cc16673], ebp
and al, 2
retf
dec esp
push cs
add byte [eax], al
mov esi, 0x28a31a0d
cmp eax, 0x6c92d41d
adc al, 0x4d
dec ebp
add al, 0x5c
adc edi, dword [edx]
cmpsd dword [esi], dword es:[edi]
leave
ja 0x10181070
xor ecx, edi
jo 0x101810a3
mov ebp, dword [eax - 0x67e2b587]
jle 0x10181115
mov word [ebp - 0x4ae5523f], es
invalid
xor al, 0x95
inc ecx
lodsb al, byte [esi]
stosb byte es:[edi], al
add esi, dword [ecx - 0x55]
fnstsw word [ecx + 0x2f44a220]
adc byte [ebp - 0x52e225cd], ah
mov esi, 0xc9aa2d4c
idiv byte [ebx + 0x50]
pushal
dec esp
movsb byte es:[edi], byte [esi]
daa
ret
mov cl, cl
and al, ch
xchg ebp, eax
jbe 0x101810cc
jle 0x101810c3
jno 0x101810e7
invalid

Function at 0x101b5f72
Capabilities:
Encode data using xor

Disassembly:
not al
jne 0x101c3f62
bound edi, qword [ecx - 0x18]
mov ch, 0x14
xchg ecx, eax
or byte [ecx], dl
scasb al, byte es:[edi]
mov edx, 0x453eeb41
adc dword [esi + 0x3eeb41ba], ebp
inc ebp
and al, 0xf9
mov eax, 0x1ae9c8a5
sub edi, dword [ecx]
push 0x506dc86b
fld dword [edx]
xor esi, dword [edx - 0x70804a0b]
fnstcw word [eax - 0x24]
je 0x101b5f81
sub eax, edi
cmp esi, dword [edi]
test eax, 0x6f6a98bf
cwde
push 0x6f
jecxz 0x101b5fa9
dec edi
or dword [edi - 0x481cad50], ecx
mov word [edi + 0x53d6d70a], ds
retf 0x286b
sub al, 0x17
jmp 0x101a50f0

Function at 0x101b9d49
Capabilities:
Encrypt data using chaskey

Disassembly:
dec eax
lea ecx, [esp + ecx + 0x28]
dec esp
mov dword [ecx], esi
push 0x800ec430
dec eax
lea esp, [esp + 0x30]
jae fcn.101cc4de
invalid
xor cl, 0x2b
mov byte [esp + 0x21], 0xb5
jmp 0x101cf8b1
dec cl
rol cl, 1
dec eax
mov dword [esp], 0x9c0e3dab
rol byte [esp + 0x1d], 5
inc esp
xor ch, cl
dec eax
ror dword [esp + 0xb], 0x11
jae 0x10195c55
call fcn.10179a50

Function at 0x101d405c
Capabilities:
Encode data using xor

Disassembly:
das
lcall 0xe90f, 0xf912e664
out dx, al
xor cl, cl
sub esp, dword [edx]
cmpsb byte [esi], byte es:[edi]
lcall 0x4e5f, 0x3dc26c16
invalid
mov dword [esp], 0xaf380d88
call fcn.101dd556
cmp byte [edi + 0x94ede8], ch
add bh, al
inc esp
and al, 0xc
nop
ror dword [edx], 0x71
mov dword [esp + 0xc], 0x710ac190
xor dword [esp + 0xd], 0xe1bdc196
rol al, 1
call fcn.101bf62a
or eax, dword [eax]
dec ecx
pop esp
jge 0x101d4062
xchg dword [ebx], esi
cmp byte [edx], bl
imul esp, eax, 0x29
cld
test eax, 0x1ff0c9b4
sub eax, dword [eax - 0x2da386a1]
jmp 0x101d4030
Function at 0x403038
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x47a008], 0x8088405
inc edx
mov dword [ebx + 0x47a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403bac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47a024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c44
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403c24
xor eax, eax
push ebp
push 0x403c1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403c60
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403c24
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x47a024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47a024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404b38
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48504c], 0
je 0x404b99
cmp word [0x485220], 0xd7b2
jne 0x404b61
cmp dword [0x485228], 0
jbe 0x404b61
mov eax, 0x48521c
call dword [0x485238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404bc0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47a030], 0
jne 0x404bb5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406590
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067c0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406613
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406613
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067dc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40669c
xor eax, eax
push ebp
push 0x406695
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004063cc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40667a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4067fc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40667a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40669c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4067b6
cmp byte [ebp - 0xd], 0
jne 0x4066e3
cmp byte [ebp - 0x12], 0
je 0x4067b6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4066fc
dec ebx
cmp byte [ebx], 0x2e
je 0x40670b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4066fb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4067b6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406748
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4067b6
cmp byte [ebp - 0xd], 0
je 0x4067b6
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4067b6
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408c14
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408ca4
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408ca4
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408c57
test edx, 3
jne 0x408c46
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408c51
jmp 0x408c57
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408c57
cmp dword [ecx - 8], 1
je 0x408c61
mov edx, ebx
or edx, 3
call fcn.00405404
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408c73
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404cb8

Function at 0x408cb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408d40
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408d40
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408cf3
test edx, 3
jne 0x408ce2
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408ced
jmp 0x408cf3
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408cf3
cmp dword [ecx - 8], 1
je 0x408cfd
mov edx, ebx
or edx, 3
call fcn.00405404
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408d0f
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404cb8

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409735
test al, 0x10
je 0x409739
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c150
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c189
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404da8
jmp 0x40c192
mov eax, ebx
mov edx, esi
call fcn.00404d0c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c19c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c1be
movzx eax, byte [esp]
jmp 0x40c1c0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c850
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c6c8
mov eax, dword [0x484d90]
cmp byte [eax], 0
je 0x40c8cc
mov eax, dword [0x484b4c]
call fcn.0040340c
call fcn.00402ea4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004098b0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c914
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c902
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x484af0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4877f8]
call fcn.00406374
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40d1a8
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 0x40d27e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404d50
lea eax, [ebp - 4]
call fcn.004051cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040517c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d268
mov eax, ebx
call fcn.00402d48
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d261
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.0040517c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d24b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d290
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d24b
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 0x40d268
mov eax, dword [ebp - 0x10]
call fcn.00402d64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d285
lea eax, [ebp - 4]
call fcn.00404cb8
ret
Function at 0x420e08
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x488304
cmp dword [edi], 0
jne 0x420e84
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x488300]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47ab98
mov ecx, 2
call fcn.00402f38
mov edx, 0x420de0
lea eax, [esi + 5]
call fcn.00420e00
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420e00
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 0x420e59
mov dword [0x488300], 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 0x4233b8
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.0040517c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x423410
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x484ed4]
mov dl, 1
mov eax, dword [0x422edc]
call fcn.0040ca10
call fcn.004046e4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00422fe4
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 0x42426c
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 0x424272
ret
Function at 0x434b08
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404cb8
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x434b56
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404f28
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x438bd8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438d0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x422f3c]
call fcn.0042300c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x438ce1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004230ac
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404f28
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x438d20
call fcn.00404fc8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00423110
lea ecx, [ebp - 4]
mov edx, 0x438d5c
mov eax, dword [ebp - 0xc]
call fcn.00423340
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040e460
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x438cc4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x438d68
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x47b5a0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438ccb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x438db8
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 0x438dff
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438de2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438df3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x438dff
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x43dc38
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 - 9]
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 [0x488538], 0
je 0x43dd81
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x484d18]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43dd81
mov eax, dword [0x48853c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x488538]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43dd50
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x488538]
call fcn.004191a0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43dd48
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43dd48
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43dd48
mov eax, dword [ebp - 0x14]
call fcn.00447f90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43dd48
push ebp
call fcn.0043dbf4
pop ecx
test al, al
jne 0x43dd48
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403fa8
test al, al
je 0x43dd48
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
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.00403fa8
cmp byte [ebp - 1], 0
je 0x43dd48
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43dd48
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48853c]
call fcn.0043d364
inc edi
dec ebx
jne 0x43dc9d
mov eax, dword [0x48853c]
cmp dword [eax + 8], 0
jle 0x43dd68
mov eax, dword [0x48853c]
call fcn.0043d41c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43dd81
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043da58
pop ecx
test al, al
jne 0x43dd81
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 0x44518c
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.00407058
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.0043ffc0
test ebx, ebx
jne 0x4451df
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004450c8
mov ebx, eax
test ebx, ebx
je 0x4452ca
cmp esi, ebx
je 0x445208
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x44521d
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 0x445255
add eax, 0xffffff5f
sub eax, 2
jb 0x44526d
dec eax
sub eax, 2
jb 0x445281
dec eax
sub eax, 2
jb 0x445277
jmp 0x44528b
add eax, 0xfffffdff
sub eax, 2
jb 0x44526d
dec eax
sub eax, 2
jb 0x445281
dec eax
sub eax, 2
jb 0x445277
jmp 0x44528b
mov byte [esp + 0x120], 0
jmp 0x445293
mov byte [esp + 0x120], 2
jmp 0x445293
mov byte [esp + 0x120], 1
jmp 0x445293
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00452b88
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00441748
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4452cc
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret