joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b206e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401f9b
mov eax, dword [0x59a534]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00406b18
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4b20b0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4b220c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406ca8
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5a1ef8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403797
mov ecx, dword [esi*4 + 0x5a1ef8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4b2205
cmp eax, dword [edi + ecx + 0x24]
jne 0x4b2205
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b2205
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403797
add esp, 0x14
test edx, edx
jl 0x4b2205
jg 0x4b217b
test eax, eax
jb 0x4b2205
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4b2205
jl 0x4b2195
cmp dword [ebp - 0x1008], eax
ja 0x4b2205
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4b21b3
test ebx, ebx
je 0x4b21ec
cmp ecx, edi
jae 0x4b21ec
mov al, byte [ecx]
cmp al, 0xd
jne 0x4b21cd
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4b21d9
cmp byte [ecx + 1], 0xa
jne 0x4b21d9
inc ecx
jmp 0x4b21d9
movzx eax, al
movsx eax, byte [eax + 0x59e070]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4b21b3
cmp edx, ebx
jne 0x4b21b3
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4b220a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403526
leave
ret
Function at 0x4b2a69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5a1ef8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b2aa9
cmp byte [ebx], 0xa
jne 0x4b2aa9
or byte [eax + edi + 0x28], 4
jmp 0x4b2aae
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4b2bac
mov al, byte [edx]
cmp al, 0x1a
je 0x4b2b8e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4b2add
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4b2b02
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4b2b0c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4b2abf
jmp 0x4b2bac
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b2b89
cmp dword [ebp - 0xc], 0
je 0x4b2b89
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5a1ef8]
test byte [eax + edi + 0x28], 0x48
je 0x4b2b63
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4b2b4e
mov byte [esi], dl
jmp 0x4b2b5f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5a1ef8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4b2bac
cmp byte [ebp - 1], 0xa
jne 0x4b2b72
cmp esi, ebx
jne 0x4b2b72
mov byte [esi], 0xa
jmp 0x4b2bab
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401aa5
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4b2bac
mov byte [esi], 0xd
jmp 0x4b2bab
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5a1ef8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b2ba8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b2bac
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4b2c08
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5a1ef8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b2c4b
cmp word [esi], dx
jne 0x4b2c4b
or byte [edi + eax + 0x28], 4
jmp 0x4b2c50
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4b2da3
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4b2d83
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4b2c92
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4b2cc8
cmp eax, edx
jae 0x4b2cd4
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4b2c6a
jmp 0x4b2da3
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b2d7f
cmp dword [ebp - 0x14], 0
je 0x4b2d7f
mov eax, dword [ebx*4 + 0x5a1ef8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4b2d57
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4b2d20
mov word [esi], cx
jmp 0x4b2d53
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5a1ef8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5a1ef8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5a1ef8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4b2da3
pop ebx
cmp word [ebp - 4], bx
jne 0x4b2d68
cmp esi, dword [ebp + 0xc]
jne 0x4b2d68
mov word [esi], bx
jmp 0x4b2da0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401aa5
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4b2da3
push 0xd
jmp 0x4b2d9c
mov ecx, dword [ebx*4 + 0x5a1ef8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b2d9a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b2da3
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x403800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45e020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403898
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403878
xor eax, eax
push ebp
push 0x403871
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 0x4038b4
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 0x403878
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x45e020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45e020], ax
mov esp, ebp
pop ebp
ret
Function at 0x405ba0
Capabilities:
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 fcn.00401264
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405dd0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c23
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405dd0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c23
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405dec
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405cac
xor eax, eax
push ebp
push 0x405ca5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004059dc
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 0x405c8a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405e0c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405c8a
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 0x405cac
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 fcn.0040129c
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call fcn.00401284
push eax
call fcn.0040125c
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405dc6
cmp byte [ebp - 0xd], 0
jne 0x405cf3
cmp byte [ebp - 0x12], 0
je 0x405dc6
lea eax, [ebp - 0x11d]
push eax
call fcn.004012a4
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405d0c
dec ebx
cmp byte [ebx], 0x2e
je 0x405d1b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405d0b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405dc6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405d58
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call fcn.0040129c
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.0040128c
mov esi, eax
test esi, esi
jne 0x405dc6
cmp byte [ebp - 0xd], 0
je 0x405dc6
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 fcn.0040129c
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.0040128c
mov esi, eax
test esi, esi
jne 0x405dc6
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 fcn.0040129c
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.0040128c
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4082d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408322
test eax, edx
je 0x408325
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4082e5
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40830b
add ecx, 4
js 0x4082fb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408308
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408331
test edx, edx
jne 0x4082d8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b6f0
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 fcn.00406828
test eax, eax
jle 0x40b729
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040491c
jmp 0x40b732
mov eax, ebx
mov edx, esi
call fcn.00404880
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b73c
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 fcn.00406828
test eax, eax
jle 0x40b75e
movzx eax, byte [esp]
jmp 0x40b760
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bdf0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bc68
mov eax, dword [0x45fbd4]
cmp byte [eax], 0
je 0x40be6c
mov eax, dword [0x45f9f8]
call fcn.004031c8
call fcn.00402fac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00406b98
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408e70
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call fcn.00406848
push eax
call fcn.00406930
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40beb4
push 0xfffffffffffffff4
call fcn.00406848
push eax
call fcn.00406930
jmp 0x40bea2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45f9a4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4627f4]
call fcn.00405984
push eax
call fcn.00406ee0
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call fcn.00406ef8
add esp, 0x444
ret
Function at 0x40c72c
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 0x40c802
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048c4
lea eax, [ebp - 4]
call fcn.00404d14
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cbc
push eax
call fcn.00406948
mov ebx, eax
test ebx, ebx
je 0x40c7ec
mov eax, ebx
call fcn.00402e50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c7e5
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.00404cbc
push eax
call fcn.00406940
test eax, eax
je 0x40c7cf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c814
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406950
test eax, eax
je 0x40c7cf
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 0x40c7ec
mov eax, dword [ebp - 0x10]
call fcn.00402e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c809
lea eax, [ebp - 4]
call fcn.0040482c
ret

Function at 0x41b41c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4649e8
cmp dword [edi], 0
jne 0x41b498
push 0x40
push 0x1000
push 0x1000
push 0
call fcn.00406918
mov esi, eax
mov eax, dword [0x4649e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45ead4
mov ecx, 2
call fcn.00403040
mov edx, 0x41b3f4
lea eax, [esi + 5]
call fcn.0041b414
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b414
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 0x41b46d
mov dword [0x4649e4], 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 0x41da04
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.00404cbc
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.00406778
test eax, eax
je 0x41da5c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45fcf0]
mov dl, 1
mov eax, dword [0x41d510]
call fcn.0040bfb0
call fcn.00404274
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d618
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 0x41eb14
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 0x41eb1a
ret
Function at 0x42d5a8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x42d67a
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call fcn.00406878
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x42d64c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call fcn.00406898
xor edx, edx
push ebp
push 0x42d63b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00403040
mov eax, dword [ebp - 4]
call fcn.0042d4e4
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call fcn.00406fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d642
mov eax, dword [ebp - 8]
push eax
call fcn.004068a0
ret

Function at 0x42d6ac
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x42d754
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call fcn.00406c80
mov ebx, eax
test bx, bx
je 0x42d727
mov edx, ebx
mov eax, dword [0x41e558]
call fcn.00422628
test al, al
je 0x42d717
movzx eax, bx
push eax
call fcn.00406ce0
mov esi, eax
push 9
call fcn.00406ce0
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00422538
call fcn.00404320
jmp 0x42d75b
movzx eax, bx
push eax
call fcn.00406c80
mov ebx, eax
test bx, bx
jne 0x42d6df
mov ecx, dword [0x45f99c]
mov dl, 1
mov eax, dword [0x40752c]
call fcn.0040bf74
call fcn.00404274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d75b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42d764
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x42d7bc
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call fcn.00406ce0
mov ebx, eax
push 9
call fcn.00406ce0
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d7c3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x42d7cc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x42d821
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call fcn.00406ce0
mov ebx, eax
push 9
call fcn.00406ce0
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d828
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42d898
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x42d90d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042d4e4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004225fc
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call fcn.00406fc0
cmp dword [ebp - 0x10], 0
je 0x42d8f7
mov eax, dword [ebp - 0x10]
push eax
push 9
call fcn.00406fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d914
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42d91c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x42d991
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042d4e4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call fcn.00406fc0
cmp dword [ebp - 0x10], 0
je 0x42d97b
mov eax, dword [ebp - 0x10]
push eax
push 9
call fcn.00406fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d998
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42eec4
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.0040482c
push 0
movzx eax, byte [ebp - 2]
push eax
call fcn.00406ee8
shl eax, 0x10
test eax, eax
je 0x42ef12
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call fcn.00406d28
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404a9c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433ff4
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 0x434127
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call fcn.00406d48
mov dl, 1
mov eax, dword [0x41d570]
call fcn.0041d640
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4340fd
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041d6e0
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404a9c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x43413c
call fcn.00404b44
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041d744
lea ecx, [ebp - 4]
mov edx, 0x434178
mov eax, dword [ebp - 0xc]
call fcn.0041d98c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040d9e0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4340e0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x434184
mov eax, dword [ebp - 8]
push eax
call fcn.00406840
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x45f48c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4340e7
mov eax, dword [ebp - 8]
push eax
call fcn.004067d0
ret

Function at 0x4341d4
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 0x43421b
push 0x10
call fcn.00406d30
test ax, ax
jge 0x4341fe
add bx, 0x2000
push 0x11
call fcn.00406d30
test ax, ax
jge 0x43420f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43421b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret