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

Disassembly:
call 0x4f891375
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x4f8913a5
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4f8913c1
xor edx, 0
jmp 0x4f8913cc
xor edx, edx
jmp 0x4f8913e3
jmp 0x4f8913ef
xor eax, eax
push 0x8427d7c0
call 0x4f8913fc
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4f891438
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x4f891411
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4f89144f
add eax, 0
jno 0x4f891454
add esi, 0
ret 0x10

Function at 0x4f8921bd
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x4f8921df
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4f892381
cmp edi, dword [ebp + 0x10]
jb 0x4f892381
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.4f891ca9
inc edi
jmp 0x4f892268
jmp 0x4f892275
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f891ca9
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f891ca9
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x4f8922c9
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x4f8922ad
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.4f8922f7
add dword [eax], 0x39
jle 0x4f8922d3
sub al, 0xf5
mov ch, al
call fcn.4f89230c
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x4f893fe4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x4f893ffa
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x4f89400b
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.4f89404c
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x4f8963b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x4f896301
add ebx, 0
push ecx
call 0x4f896316
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x730662b8
sub ebx, dword [0x73085af7]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73085ae7
call fcn.4f891de0
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.4f8912ee
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x4f896474
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x4f896474
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x4f89642b
mov eax, 1
lock xchg dword [0x73085af3], eax
push 0x3dd1fc71
call 0x4f8963b8
push esi
add esp, 8
cmp eax, 0
jne 0x4f8963a1
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x4f8963c7
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x4f8963dc
cmp ecx, edx
cmp eax, 0
je 0x4f896401
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x4f8963eb
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.4f89641a
dec eax
loope 0x4f89641d
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73085af3], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x4f896451
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x4f896466
jmp 0x4f896471
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x4f89635f
Function at 0x4f89d4d9
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x4f89d7af
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x7307276b
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73069731
push 0xffffffffffffffff
call fcn.4f8946d9
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x4f89d543
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.4f89d55b
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x4f89d7a3
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4f89d777
Function at 0x4f8acfa9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4f8acfcb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4f8acfcb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4f8acfcb
ret
cmp word [ebx + 4], 0x14c
jne 0x4f8acfcb
test word [ebx + 0x16], 2
je 0x4f8acfcb
test word [ebx + 0x16], 0x100
je 0x4f8acfcb
cmp word [ebx + 0x18], 0x10b
jne 0x4f8acfcb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4f8acfcb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4f8ad057
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4f8acfeb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.4f893f36
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4f8acfcb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x4f8ad057
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4f8acfcb
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4f8acfcb
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4f8acfcb
ret
cmp word [ebx + 4], 0x14c
jne 0x4f8acfcb
test word [ebx + 0x16], 2
je 0x4f8acfcb
test word [ebx + 0x16], 0x100
je 0x4f8acfcb
cmp word [ebx + 0x18], 0x10b
jne 0x4f8acfcb
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4f8acfcb
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4f8ad057
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4f8acfeb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.4f893f36
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4f8acfcb
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x4f8ad10e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4f8ad167
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4f8ad10e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4f8ad11d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x4fcb2dc0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4f8ad16e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.4f893fe4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4f8ad20d
add edi, 4
add eax, 2
dec ecx
jne 0x4f8ad153
call 0x4f8ad1ba
loope 0x4f8ad1b0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4f8ad20a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4f8ad21b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4f8ad1ce
cmp eax, ecx
ja 0x4f8ad1ce
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4f8ad258
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4f8ad24e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4f8944c3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4f8ad11d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4f8ad167
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4f8ad10e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4f8ad11d
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x4fcb2dc0
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4f8ad16e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.4f893fe4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4f8ad20d
add edi, 4
add eax, 2
dec ecx
jne 0x4f8ad153
call 0x4f8ad1ba
loope 0x4f8ad1b0
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4f8ad20a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4f8ad21b
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4f8ad1ce
cmp eax, ecx
ja 0x4f8ad1ce
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4f8ad258
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4f8ad24e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4f8944c3
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x48439f]
shl eax, 2
mov dword [0x4843a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00463f84
pop edx
call fcn.00463ee8
call fcn.00463fc4
push 0
call fcn.00465258
pop ecx
push 0x484348
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4843a7], eax
push 0
jmp fcn.0046b464
Function at 0x4065f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x318], 0
jle 0x406715
cmp dword [ebp + 0x10], 0x2800
jle 0x406715
mov edx, 4
mov eax, dword [ebp + 0xc]
call fcn.00452dd4
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x30]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp + 0x10]
sar edx, 1
jns 0x406644
adc edx, 0
mov eax, dword [ebp + 0xc]
call fcn.00452dd4
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x48]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x318], 1
jne 0x4066b6
push 0x15
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.004642d8
mov ecx, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x18]
mov eax, dword [ecx + 0x31c]
push eax
push 0x484b50
push edx
call fcn.00466e50
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x48]
mov ebx, 0x14
sub ebx, eax
inc eax
mov bl, byte [ebp + ebx - 0x18]
xor bl, byte [edx]
xor bl, byte [ecx]
inc ecx
mov byte [edx], bl
inc edx
cmp eax, 0x14
jl 0x40669b
jmp 0x4066e9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x318], 2
jne 0x4066e9
xor eax, eax
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x48]
mov ebx, 0x14
mov esi, dword [ebp + 8]
sub ebx, eax
inc eax
mov bl, byte [esi + ebx + 0x320]
xor bl, byte [edx]
xor bl, byte [ecx]
inc ecx
mov byte [edx], bl
inc edx
cmp eax, 0x14
jl 0x4066ca
mov edx, dword [ebp + 0x10]
sar edx, 1
jns 0x4066f3
adc edx, 0
mov eax, dword [ebp + 0xc]
call fcn.00452dd4
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x48]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
call fcn.00452dd4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a014
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov edx, dword [ebp + 0xc]
mov ecx, eax
inc eax
shl ecx, 2
push ecx
mov cl, 0x64
pop ebx
sub cl, bl
xor byte [edx], cl
inc edx
cmp eax, 0x28
jl 0x40a01d
pop ebx
pop ebp
ret

Function at 0x418fa8
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.00461d00
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x418ff7
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00461f30
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41f1b4
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 0x41f1ba
ret

Function at 0x4216a4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4216f5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4216dc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4216cc
jmp 0x4216f5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4216dd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a1a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48fa38
cmp dword [edi], 0
jne 0x42a224
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x48fa34]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x488dfc
mov ecx, 2
call fcn.00460ce0
mov edx, 0x42a180
lea eax, [esi + 5]
call fcn.0042a1a0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042a1a0
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 0x42a1f9
mov dword [0x48fa34], 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 0x42a340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42a390]
test si, 4
je 0x42a354
or bl, 1
test si, 8
je 0x42a35e
or bl, 4
test si, 1
je 0x42a368
or bl, 8
test si, 2
je 0x42a372
or bl, 0x10
test si, 0x10
je 0x42a37c
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x42a38b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42a394
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42a3cc]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x42a3ad
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x42a3bc
or bl, 4
test esi, 0x20000000
je 0x42a3c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43091c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43092e
add esp, 0xfffffff0
call fcn.00461590
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00455ca8
mov eax, ebx
call fcn.00430c68
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x44f9c8]
call fcn.00461260
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x44f9c8]
call fcn.00461260
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x44f9c8]
call fcn.00461260
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x44f9c8]
call fcn.00461260
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x44f9c8]
call fcn.00461260
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x42d40c
push eax
push 0
push 0
mov eax, dword [0x48d424]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e6dc]
call fcn.0041fc14
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x41e6dc]
call fcn.0041fc14
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x41e6dc]
call fcn.0041fc14
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00431048
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x430f64
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x430f64
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x430f64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x430a3d
call fcn.004615e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x430d48
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x430ef3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x430ed4
mov dl, 1
mov eax, dword [0x44fd04]
call fcn.00461260
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00461d00
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x430ec3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00445d00
test al, al
je 0x430eb6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x430f04
lea eax, [ebp - 0x254]
call fcn.0045c5d4
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x430eb6
xor eax, eax
push ebp
push 0x430eaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x430f3c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x430e98
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00461f30
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x430e98
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00461f30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430eb6
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x430db9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00452d3c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430efa
lea eax, [ebp - 0x260]
call fcn.00461d00
ret

Function at 0x431740
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48fa28]
cmp byte [eax + 0x95], 0
jne 0x4317b1
cmp dword [0x48fa44], 0
jne 0x431772
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4316fc
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x48fa44], eax
cmp dword [0x48fa40], 0
jne 0x43178d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x48fa40], eax
cmp dword [0x48fa48], 0
jne 0x4317b1
push esp
push 0
push 0
push 0x4316a0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x48fa48], eax
pop edx
ret