joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d34f0
Capabilities:
Get file version info
Get installed programs
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8818
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4808]
push 0x4000
push 0
push eax
mov dword [ebp - 0x8810], 0
call fcn.004e46b0
add esp, 0xc
xor ecx, ecx
nop dword [eax]
movzx eax, word [ecx + 0x516968]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x480a], ax
test ax, ax
jne 0x4d3530
lea eax, [ebp - 0x8810]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallCnCrypt
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d3625
lea eax, [ebp - 0x880c]
mov dword [ebp - 0x880c], 0x802
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push 0
push str.UninstallString
push dword [ebp - 0x8810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d3619
lea eax, [ebp - 0x808]
push 0x2f
push eax
call fcn.004e3c44
add esp, 8
test eax, eax
je 0x4d3619
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x808]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x480a], ax
test ax, ax
jne 0x4d35b5
push esi
lea eax, [ebp - 0x808]
push 0x22
push eax
call fcn.004e3c44
mov esi, eax
lea eax, [ebp - 0x808]
sub esi, eax
lea eax, [ebp - 0x806]
sar esi, 1
dec esi
push esi
push eax
lea eax, [ebp - 0x4808]
push eax
call fcn.004ec074
add esi, esi
add esp, 0x14
cmp esi, 0x4000
jae 0x4d373c
xor eax, eax
mov word [ebp + esi - 0x4808], ax
pop esi
push dword [ebp - 0x8810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x516968
lea eax, [ebp - 0x4808]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d3656
test dx, dx
je 0x4d3652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d3656
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d3630
xor eax, eax
jmp 0x4d365b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d372b
push 0x4000
lea eax, [ebp - 0x8808]
mov dword [ebp - 0x8814], 0
push 0
push eax
call fcn.004e46b0
add esp, 0xc
lea eax, [ebp - 0x8814]
push eax
lea eax, [ebp - 0x4808]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4d372b
lea ecx, [ebp - 0x8808]
push ecx
push eax
push 0
lea eax, [ebp - 0x4808]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4d372b
lea eax, [ebp - 0x8818]
mov dword [ebp - 0x8818], 0
push eax
lea eax, [ebp - 0x880c]
mov dword [ebp - 0x880c], 0
push eax
push 0x518b40
lea eax, [ebp - 0x8808]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4d372b
mov ecx, dword [ebp - 0x880c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x518b44
push edi
call fcn.004054c0
add esp, 0x18
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
call fcn.004e2a5f
int3
Function at 0x4d4c80
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movups xmm0, xmmword [0x52fb90]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1000
push 0x52fbd8
movups xmmword [esi], xmm0
lea ebx, [esi + 0x90]
mov dword [ebp - 0xc], 0
movups xmm0, xmmword [0x52fba0]
push ebx
mov dword [ebp - 8], 0
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x52fbb0]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [0x52fbc0]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [0x52fbd0]
movq qword [esi + 0x40], xmm0
call fcn.004e4130
add esp, 0xc
mov dword [ebp - 4], 0
mov edi, 2
xor edx, edx
mov esi, dword [ebp + 0x10]
lea eax, [edi - 2]
div dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
movzx ecx, byte [edx + eax]
xor edx, edx
lea eax, [edi - 1]
shl ecx, 8
div dword [ebp + 0xc]
movzx eax, byte [edx + esi]
xor edx, edx
or ecx, eax
mov eax, edi
div dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + esi]
xor edx, edx
or ecx, eax
lea eax, [edi + 1]
div dword [ebp + 0xc]
shl ecx, 8
add edi, 4
movzx eax, byte [edx + esi]
mov esi, dword [ebp + 8]
or ecx, eax
mov eax, dword [ebp - 4]
xor dword [esi + eax*4], ecx
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x12
jb 0x4d4cf7
push esi
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.004d4dd0
add esp, 0xc
mov eax, esi
mov ebx, 8
lea edi, [eax + 8]
push edi
push eax
push esi
call fcn.004d4dd0
add esp, 0xc
mov eax, edi
sub ebx, 1
jne 0x4d4d65
lea ebx, [esi + 0x90]
push ebx
lea eax, [esi + 0x40]
push eax
push esi
call fcn.004d4dd0
add esp, 0xc
mov dword [ebp + 8], 0x1ff
lea edi, [ebx + 8]
push edi
push ebx
push esi
call fcn.004d4dd0
add esp, 0xc
mov ebx, edi
sub dword [ebp + 8], 1
jne 0x4d4d95
xor ecx, ecx
lea edx, [esi + 0x8c]
mov eax, dword [esi + ecx*4]
lea edx, [edx - 4]
inc ecx
mov dword [edx + 4], eax
cmp ecx, 0x12
jb 0x4d4db3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d6b60
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
movzx ecx, byte [edx + str.91__]
dec ecx
mov eax, ecx
and ecx, 7
sar eax, 3
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x532c68], al
movzx ecx, byte [edx + 0x532bf1]
setne al
dec ecx
mov byte [ebp + edx - 0x7c], al
mov eax, ecx
sar eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x532c68], al
movzx ecx, byte [edx + 0x532bf2]
setne al
dec ecx
mov byte [ebp + edx - 0x7b], al
mov eax, ecx
sar eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x532c68], al
movzx ecx, byte [edx + 0x532bf3]
setne al
dec ecx
mov byte [ebp + edx - 0x7a], al
mov eax, ecx
sar eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*4 + 0x532c68], al
setne al
mov byte [ebp + edx - 0x79], al
add edx, 4
cmp edx, 0x38
jl 0x4d6b82
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 0x80], ebx
nop dword [eax]
movzx esi, byte [ebx + 0x532c28]
xorps xmm0, xmm0
movq qword [ebp - 0xc], xmm0
xor edx, edx
mov ebx, 0x1c
lea edi, [esi - 0x1c]
nop dword [eax]
cmp edx, ebx
mov ecx, 0x38
mov eax, edi
cmovl ecx, ebx
cmp esi, ecx
cmovl eax, esi
inc esi
inc edi
mov al, byte [ebp + eax - 0x7c]
mov byte [ebp + edx - 0x44], al
inc edx
cmp edx, 0x38
jl 0x4d6c40
mov ebx, dword [ebp - 0x80]
xor ecx, ecx
nop word [eax + eax]
movzx eax, byte [ecx + 0x532c38]
cmp byte [ebp + eax - 0x45], 0
je 0x4d6ca2
mov eax, 0xaaaaaaab
lea esi, [ebp - 0xc]
mul ecx
mov eax, ecx
shr edx, 2
add esi, edx
lea edx, [edx + edx*2]
add edx, edx
sub eax, edx
mov eax, dword [eax*4 + 0x532c68]
sar eax, 2
or byte [esi], al
inc ecx
cmp ecx, 0x30
jl 0x4d6c70
movzx ecx, byte [ebp - 0xc]
movzx eax, byte [ebp - 0xa]
mov edi, dword [ebp - 0x84]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 9]
mov dword [edi + ebx*8], ecx
movzx ecx, byte [ebp - 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 5]
shl ecx, 8
or ecx, eax
mov dword [edi + ebx*8 + 4], ecx
inc ebx
mov dword [ebp - 0x80], ebx
cmp ebx, 0x10
jl 0x4d6c20
cmp dword [ebp + 8], 0
jne 0x4d6d35
xor esi, esi
lea edx, [edi + 0x7c]
nop dword [eax + eax]
mov eax, dword [edx - 4]
lea edx, [edx - 8]
mov ecx, dword [edi + esi*4]
mov dword [edi + esi*4], eax
mov dword [edx + 4], ecx
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [edx + 8]
mov dword [edi + esi*4 + 4], eax
add esi, 2
mov dword [edx + 8], ecx
cmp esi, 0x10
jl 0x4d6d10
lea eax, [ebp - 0x7c]
mov ecx, 0x78
pop edi
mov esi, ecx
mov edx, eax
pop ebx
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4d6d43
pop esi
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4d6d50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4d8470
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor eax, eax
push edi
movzx ebx, byte [eax + 0x58d4e8]
mov edx, ebx
mov esi, ebx
shr esi, 1
and edx, 3
xor esi, ebx
mov ecx, ebx
shr ecx, 2
shr esi, 1
movzx edi, byte [edx + 0x55e04c]
xor edi, ecx
movzx ecx, byte [edx + 0x55e050]
xor esi, ecx
xor edi, ebx
xor esi, ebx
imul ecx, esi, 0x10100
add ecx, edi
shl ecx, 8
add ecx, ebx
shl ebx, 0x10
mov dword [eax*4 + 0x58d5e8], ecx
imul ecx, esi, 0x1000100
add ecx, edi
add ebx, ecx
mov dword [eax*4 + 0x58dde8], ebx
movzx ebx, byte [eax + 0x58d3e8]
mov edx, ebx
mov esi, ebx
and edx, 3
shr esi, 1
xor esi, ebx
mov ecx, ebx
shr ecx, 2
shr esi, 1
movzx edi, byte [edx + 0x55e04c]
xor edi, ecx
movzx ecx, byte [edx + 0x55e050]
xor esi, ecx
xor edi, ebx
xor esi, ebx
mov edx, ebx
imul ecx, esi, 0x101
shl edx, 8
add edx, edi
shl esi, 8
shl edx, 0x10
add esi, ebx
shl esi, 8
add edx, ecx
imul ecx, edi, 0x1000001
mov dword [eax*4 + 0x58d9e8], edx
add esi, ecx
mov dword [eax*4 + 0x58e1e8], esi
inc eax
cmp eax, 0x100
jb 0x4d8475
pop edi
pop esi
pop ebx
ret

Function at 0x4d8540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor eax, eax
push edi
nop dword [eax]
mov cl, al
mov bh, al
shr cl, 4
and bh, 0xf
movzx edx, cl
mov byte [ebp - 1], cl
mov ecx, edx
movzx esi, bh
xor ecx, esi
movzx edx, byte [edx + 0x55e064]
mov bl, byte [ecx + 0x55e074]
movzx ecx, byte [esi + 0x55e054]
xor edx, ecx
movzx edi, bl
movzx esi, byte [edx + 0x55e094]
movzx edx, byte [edi + 0x55e064]
xor edi, esi
movzx ecx, byte [esi + 0x55e054]
xor edx, ecx
movzx esi, bh
movzx ecx, byte [edx + 0x55e0d4]
movzx edx, byte [ebp - 1]
shl cl, 4
or cl, byte [edi + 0x55e0b4]
mov byte [eax + 0x58d3e8], cl
mov ecx, edx
movzx edx, byte [edx + 0x55e064]
xor ecx, esi
mov bl, byte [ecx + 0x55e084]
movzx ecx, byte [esi + 0x55e054]
xor edx, ecx
movzx edi, bl
movzx esi, byte [edx + 0x55e0a4]
movzx edx, byte [edi + 0x55e064]
xor edi, esi
movzx ecx, byte [esi + 0x55e054]
xor edx, ecx
movzx ecx, byte [edx + 0x55e0e4]
shl cl, 4
or cl, byte [edi + 0x55e0c4]
mov byte [eax + 0x58d4e8], cl
inc eax
cmp eax, 0x100
jb 0x4d8550
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4da070
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov byte [0x55e0f8], 0x80
pop ebp
ret
Function at 0x4db330
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret
Function at 0x5041ef
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050406e

Function at 0x505f61
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00505c21
Function at 0x40b8e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40b9b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ec8
lea eax, [ebp - 8]
call fcn.00404340
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40b9a0
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40b999
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 - 8]
call fcn.004042f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40b983
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40b9c8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40b983
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b9a0
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b9bd
lea eax, [ebp - 8]
call fcn.00403e30
ret

Function at 0x40be34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40be98
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004040a0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407cd8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be9f
lea eax, [ebp - 0xc]
call fcn.00403e30
ret

Function at 0x41a07c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x44f884
cmp dword [edi], 0
jne 0x41a0f8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x44f880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44d3ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a054
lea eax, [esi + 5]
call fcn.0041a074
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a074
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 0x41a0cd
mov dword [0x44f880], 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 0x41b30c
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 0x41b312
ret
Function at 0x41d754
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 0x41d7a5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d78c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d77c
jmp 0x41d7a5
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 0x41d78d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426d28
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x426c74
call sub.user32.dll_EnumWindows
ret

Function at 0x426e48
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x426ec5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004268a8
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x426e6d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004264a8
cmp dword [ebp - 4], 0
je 0x426eaf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042f0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426ecc
lea eax, [ebp - 4]
call fcn.00403e30
ret

Function at 0x429b68
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 [0x44fb54], 0
je 0x429cb7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44dfb8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x429cb7
mov eax, dword [0x44fb58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x44fb54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x429c86
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x44fb54]
call fcn.004135c4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x429c7e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x429c7e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x429c7e
mov eax, dword [ebp - 0x14]
call fcn.004326cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x429c7e
push ebp
call fcn.00429b24
pop ecx
test al, al
jne 0x429c7e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x429c3a
mov eax, dword [ebp - 0x14]
call fcn.004311fc
dec eax
jle 0x429c7e
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, 0xffbd
call fcn.004032d4
cmp byte [ebp - 1], 0
je 0x429c7e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x429c7e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44fb58]
call fcn.004292f0
inc edi
dec ebx
jne 0x429bcd
mov eax, dword [0x44fb58]
cmp dword [eax + 8], 0
jle 0x429c9e
mov eax, dword [0x44fb58]
call fcn.00429380
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x429cb7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042998c
pop ecx
test al, al
jne 0x429cb7
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 0x42d250
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42d29c
mov eax, esi
call fcn.0044266c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d29c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42d29c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42d3db
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42d2dc
cmp eax, 0x108
ja 0x42d2dc
mov eax, esi
call fcn.0044266c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d3d2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42d3db
jmp 0x42d3d2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42d3bb
cmp eax, 0x20a
ja 0x42d3bb
test byte [esi + 0x50], 0x80
jne 0x42d30e
sub eax, 0x203
je 0x42d30b
sub eax, 3
je 0x42d30b
sub eax, 3
jne 0x42d30e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42d322
dec eax
je 0x42d337
dec eax
je 0x42d354
dec eax
je 0x42d337
jmp 0x42d35b
mov ecx, ebx
mov eax, dword [0x44dfb8]
mov eax, dword [eax]
mov edx, esi
call fcn.0044be18
jmp 0x42d3d2
cmp byte [esi + 0x5d], 1
jne 0x42d34d
mov eax, esi
mov si, 0xffed
call fcn.004032d4
jmp 0x42d3db
or word [esi + 0x54], 1
jmp 0x42d3d2
and word [esi + 0x54], 0xfffe
jmp 0x42d3d2
mov eax, dword [0x44fb10]
cmp byte [eax + 0x20], 0
je 0x42d3d2
mov eax, dword [0x44fb10]
cmp dword [eax + 0x1c], 0
je 0x42d3d2
mov eax, dword [ebx]
mov edx, dword [0x44fb10]
cmp eax, dword [edx + 0x1c]
jne 0x42d3d2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004425b0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004032d4
jmp 0x42d3db
cmp eax, 0xb00b
jne 0x42d3d2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042bbb8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43085c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x430878
cmp dword [esi + 4], 0
je 0x4308a5
test byte [ebx + 0x55], 1
jne 0x430897
mov eax, ebx
call fcn.0042f468
test eax, eax
jne 0x430897
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4309b5
mov edx, esi
mov eax, ebx
call fcn.00430380
jmp 0x4309b5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4309ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004326cc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042d184
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043085c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004326cc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4309b5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret