joyce8/EMBER2024-capa huggingface dataset:
Function at 0xad02df
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
jmp 0xad02cc
lea esp, [esp + 0x44]
neg ax
jbe 0xad02b6
ja 0xad02b6
inc edx
jecxz 0xad034d
push ss
in eax, 0x5d
cmpsb byte [esi], byte es:[edi]
shl dword [eax + 0x66], 1
pushal
dec ax
jmp 0xad10f3
add cl, dl
lea edx, [esi + esi]
neg dh
jp 0xad0d11
bswap eax
jmp 0xad05c4
jmp 0xad03cd
lea edx, [ebx + ebp]
mov edx, ebx
dec bl
dec eax
jno 0xad0324
pushfd
inc edx
lea esp, [esp]
rdtsc
push dword [esp + 1]
and al, 1
jmp 0xad037c
lea esp, [esp + 4]
neg bl
cmc
jmp 0xad039c
mov dx, bp
mov dx, di
mov al, byte [esp]
call fcn.00ad03ea
mov dh, 0x34
stosb byte es:[edi], al
int 0x3c
jmp dword [ecx + 0xf5a23e0]
rdtsc
push dword [esp + 1]
lea esp, [esp + 2]
lea esp, [esp + 2]
jmp 0xad0351
mov al, byte [esp]
jmp 0xad03a6
jbe 0xad035e
mov dx, bp
mov dx, di
jmp 0xad0386
not bl
xchg edx, eax
lea eax, [ebp*4]
inc eax
jb 0xad0429
sub esp, 6
mov dl, byte [esp + 4]
add esp, 2
sub esp, 0xd
lea esp, [esp + 1]
jmp 0xad048c
pushfd
inc edx
lea esp, [esp]
jmp 0xad0376
mov edx, dword [esp]
mov ah, bh
xchg dl, al
jmp 0xad0538
jmp 0xad045b
sub esp, 0xd
lea esp, [esp + 1]
jmp 0xad048c
sub esp, 6
mov dl, byte [esp + 4]
add esp, 2
jmp 0xad0445
push si
lea esp, [esp + 4]
sub bl, 0x40
call fcn.00ad0476
ret
lea esp, [esp + 0x10]
dec bl
mov dl, byte [esp]
push di
mov eax, dword [esp]
jmp 0xad0467
jo 0xad052a
add esp, 0
lea esp, [esp + 1]
jmp 0xad041d
add esp, 0
lea esp, [esp + 1]
mov edx, dword [esp]
mov ah, bh
xchg dl, al
mov dx, word [esp]
jmp 0xad033a
bswap eax
inc ebp
mov ax, word [esp]
sub esp, 1
jmp 0xad04cb
jmp 0xad05c2
jb 0xad02e8
jae 0xad02e8
stc
jmp 0xad1176
lea eax, [ebp - 9]
mov edx, dword [edx - reloc.KERNEL32.dll_FlushFileBuffers]
call 0xad1154

Function at 0xad1293
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 4], ebx
lea esp, [esp + 4]
popal
jmp 0xad12d2
jmp 0xad12bc
lea esp, [esp + 1]
lea esp, [esp + 8]
popal
jmp 0xad12f6
pushal
mov bp, word [esp]
mov cx, di
mov dword [esp + 0x18], eax
sub esp, 9
jle 0xad129e
lea esp, [esp + 1]
jmp 0xad130c
lea esp, [esp + 8]
popal
jmp 0xad12f6
Function at 0xb0928c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
jmp 0xb095f9
lea esp, [esp + 4]
jne 0xb07fdb
call fcn.00b092ca
dec esi
fnstcw word [eax]
sbb esi, dword [edi + 0x9c95564]
arpl word [edx], cx
out dx, al
push ecx
jb 0xb09317
jl 0xb092fb
jae 0xb07f8b
mov esp, gs
invalid
pushal
xchg byte [esp + 3], ah
mov dx, 0x23f0
jmp 0xb0931b
jge 0xb09321
jmp 0xb092f9
mov edx, dword [esi + 0xc]
mov ah, ch
lea eax, [eax*4]
add al, 0x85
add byte [eax], al
add byte [eax], al
clc
jmp 0xb093bf
sub ecx, dword [ebp - 0x10]
call 0xb0935d
mov ebx, 0xebf5ca03
cmp byte [edx - 0x361063f3], dl
xchg esi, eax
push esp
leave
or dword [edi], edi
out 0xf4, al
add ah, ch
je 0xb0935c
lea edi, [edx + eax*8 - 0x1f]
add eax, dword [ebp + 8]
cmp eax, edx
jb 0xb07f8b
stc
jmp 0xb09354
mov eax, edx
cmc
sub eax, ebx
lea esp, [esp + 0x20]
jmp 0xb09376
sub esp, 0xe
add esp, 0xb
call 0xb093f6
mov eax, esi
lea eax, [eax + 4]
mov ebx, dword [eax]
pop eax
jmp 0xb0955b

Function at 0xb91218
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xb91274
mov ah, byte [esp + 2]
xchg word [esp + 7], dx

Function at 0xb914b8
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xb9152a
push word [esp]
sets ah
bsr ax, sp
lea edx, [ecx*4]
bsf eax, ebx
mov dx, word [esp + 2]
jmp 0xb91512
push dword [esp + 1]
not ebp
mov ax, 0x3b0f
mov word [esp + 4], si
jmp 0xb91554
push word [esp + 6]
not edx
mov eax, edx
mov al, byte [esp + 0xa]
cmp dl, 0xb3
jmp 0xb914fc
rdtsc
mov bp, sp
push esi
not ah
rdtsc
mov ax, word [esp + 6]
jmp 0xb914ba
xchg dword [esp + 1], ebp
lea esp, [esp + 0xf]
pop edx
pop dx
mov ah, 0xa4
jmp 0xb91614
sbb ax, bx
lea ebp, [ebx*4]
mov ah, byte [esp + 0xf]
setl ah
sub esp, 9
seto dl
jmp 0xb9153e
xchg word [esp + 2], bp
mov dx, 0x5e02
mov ax, 0x2fa9
lea esp, [esp + 4]
mov eax, esi
dec ah
call fcn.00b915b4
rcr bp, 2
std
bswap eax
bswap edx
rdtsc
mov byte [esp], dh
jmp 0xb915e0

Function at 0xb91a85
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x30], esi
neg bp
mov word [esp + 0x2e], di
inc dh
shl ebp, 0x11
xchg byte [esp + 6], ah
jmp 0xb91b16
sub esp, 0x1c
neg dh
xchg byte [esp + 0xa], dh
jmp 0xb91a60

Function at 0xb91c75
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, reloc.KERNEL32.dll_FlushFileBuffers
lea edx, [edx + 0xd5]
jmp 0xb91cb4
mov dx, word [esp + 0x24]
add esp, 4
lea ebp, [esp + eax]
shl al, 2
dec ebp
setp dh
jmp 0xb91c9e
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3aed7af2
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x12737d0b
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x464020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036d8
xor eax, eax
push ebp
push 0x4036d1
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 0x403714
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 0x4036d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x464020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x464020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404504
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46f048], 0
je 0x404565
cmp word [0x46f21c], 0xd7b2
jne 0x40452d
cmp dword [0x46f224], 0
jbe 0x40452d
mov eax, 0x46f218
call dword [0x46f234]
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 0x40458c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46402c], 0
jne 0x404581
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ab0
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 0x405ce0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405b33
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405ce0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405b33
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405cfc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405bbc
xor eax, eax
push ebp
push 0x405bb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004058ec
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 0x405b9a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405d1c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405b9a
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 0x405bbc
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 0x405cd6
cmp byte [ebp - 0xd], 0
jne 0x405c03
cmp byte [ebp - 0x12], 0
je 0x405cd6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405c1c
dec ebx
cmp byte [ebx], 0x2e
je 0x405c2b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405c1b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405cd6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405c68
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 0x405cd6
cmp byte [ebp - 0xd], 0
je 0x405cd6
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 0x405cd6
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 0x4080fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x40818c
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x40818c
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40813f
test edx, 3
jne 0x40812e
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408139
jmp 0x40813f
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40813f
cmp dword [ecx - 8], 1
je 0x408149
mov edx, ebx
or edx, 3
call fcn.00404dd0
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 0x40815b
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404684

Function at 0x408198
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408228
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408228
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4081db
test edx, 3
jne 0x4081ca
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4081d5
jmp 0x4081db
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4081db
cmp dword [ecx - 8], 1
je 0x4081e5
mov edx, ebx
or edx, 3
call fcn.00404dd0
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 0x4081f7
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404684

Function at 0x40b604
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 0x40b63d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404774
jmp 0x40b646
mov eax, ebx
mov edx, esi
call fcn.004046d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b650
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 0x40b672
movzx eax, byte [esp]
jmp 0x40b674
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40bd04
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb7c
mov eax, dword [0x46ea70]
cmp byte [eax], 0
je 0x40bd80
mov eax, dword [0x46e874]
call fcn.00403028
call fcn.00402de8
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.00408d9c
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 0x40bdc8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bdb6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46e81c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4717f4]
call fcn.00405894
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 0x40c614
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 0x40c6ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040471c
lea eax, [ebp - 4]
call fcn.00404b98
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b48
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c6d4
mov eax, ebx
call fcn.00402c8c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c6cd
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.00404b48
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c6b7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c6fc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c6b7
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 0x40c6d4
mov eax, dword [ebp - 0x10]
call fcn.00402ca8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6f1
lea eax, [ebp - 4]
call fcn.00404684
ret
Function at 0x41b4f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x472300
cmp dword [edi], 0
jne 0x41b56c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4722fc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x464ad4
mov ecx, 2
call fcn.00402e7c
mov edx, 0x41b4c8
lea eax, [esi + 5]
call fcn.0041b4e8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b4e8
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 0x41b541
mov dword [0x4722fc], 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 0x41dae0
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.00404b48
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41db38
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46eb98]
mov dl, 1
mov eax, dword [0x41d604]
call fcn.0040bec4
call fcn.004040cc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d70c
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 0x41ecc8
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 0x41ecce
ret
Function at 0x430238
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.00404684
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x430286
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.004048f4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434308
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 0x43443b
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 [0x41d664]
call fcn.0041d734
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x434411
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041d7d4
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004048f4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x434450
call fcn.00404994
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041d838
lea ecx, [ebp - 4]
mov edx, 0x43448c
mov eax, dword [ebp - 0xc]
call fcn.0041da68
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040d960
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4343f4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x434498
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 [0x4654bc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4343fb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4344e8
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 0x43452f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x434512
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x434523
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43452f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x439638
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 [0x472534], 0
je 0x439781
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46ea08]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x439781
mov eax, dword [0x472538]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x472534]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x439750
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x472534]
call fcn.00414488
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x439748
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x439748
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x439748
mov eax, dword [ebp - 0x14]
call fcn.00443990
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x439748
push ebp
call fcn.004395f4
pop ecx
test al, al
jne 0x439748
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403a54
test al, al
je 0x439748
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.00403a54
cmp byte [ebp - 1], 0
je 0x439748
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x439748
mov edx, dword [ebp - 0x14]
mov eax, dword [0x472538]
call fcn.00438d64
inc edi
dec ebx
jne 0x43969d
mov eax, dword [0x472538]
cmp dword [eax + 8], 0
jle 0x439768
mov eax, dword [0x472538]
call fcn.00438e1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x439781
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00439458
pop ecx
test al, al
jne 0x439781
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 0x440b8c
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.0040655c
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.0043b9c0
test ebx, ebx
jne 0x440bdf
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00440ac8
mov ebx, eax
test ebx, ebx
je 0x440cca
cmp esi, ebx
je 0x440c08
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 0x440c1d
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 0x440c55
add eax, 0xffffff5f
sub eax, 2
jb 0x440c6d
dec eax
sub eax, 2
jb 0x440c81
dec eax
sub eax, 2
jb 0x440c77
jmp 0x440c8b
add eax, 0xfffffdff
sub eax, 2
jb 0x440c6d
dec eax
sub eax, 2
jb 0x440c81
dec eax
sub eax, 2
jb 0x440c77
jmp 0x440c8b
mov byte [esp + 0x120], 0
jmp 0x440c93
mov byte [esp + 0x120], 2
jmp 0x440c93
mov byte [esp + 0x120], 1
jmp 0x440c93
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044ea64
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043d148
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x440ccc
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret