joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472483
Capabilities:
Encrypt data using rc4 prga

Disassembly:
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
add al, byte [eax]
movsb byte es:[edi], byte [esi]
and al, 0x47
add byte [eax + eax], al
add byte [eax], al
add al, byte [edi]
inc ecx
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x27365
add al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax + 0x11004724], ch
and al, 0x54
inc ecx
jb 0x472520
popal
jns 0x4724ed
push ebx
jns 0x472527
je 0x47251b
insd dword es:[edi], dx
push esp
jns 0x47252b
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
push esp
inc ebp
insb byte es:[edi], dx
insd dword es:[edi], dx
outsb dx, byte gs:[esi]
je 0x47250a
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x83e
add ah, bh
and eax, dword [edi]
and al, 0x47
add byte [ecx], dl
push esp
inc ecx
jb 0x472568
popal
jns 0x472535
push ebx
jns 0x47256f
je 0x472563
insd dword es:[edi], dx
push esp
jns 0x472573
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
push esp
inc ebp
outsb dx, byte [esi]
jne 0x47257a
inc ecx
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x72746e45
jns 0x472556
or byte [eax], al
add byte [eax], al
dec esp
and al, 0x47
add byte [esp + 0x47], cl
add bh, bh
invalid
add byte [esi], al
push ebx
jns 0x47259f
jae 0x4725a1
je 0x472593
insd dword es:[edi], dx
insd dword es:[edi], dx
dec esp
and al, 0x47
add byte [edx], al
add byte [ebp + 0x56530040], cl
lea eax, [eax]
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x472540
mov eax, edx
pop esi
pop ebx
ret
call 0xc5d3249b
call 0x472538
mov ebx, eax
xor esi, esi
jmp 0x4725b9
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
cmp ebp, dword [eax + esi*8]
je 0x472598
jmp [eax]
cmp byte [esp], 0
je 0x4725b8
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
cmp dword [eax + esi*8], 0
jne 0x4725b8
cmp al, 0xf0
add byte [ebp + 0x20], dh
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
lea edi, [eax + esi*8]
cmp byte [esp], 0
jmp [eax]
add byte [ebp + 0x3c80f03c], cl
and al, 0
je 0x472639
cmp dword [edi], 0
jne 0x472639
inc esi
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
call fcn.0040b950
cmp esi, eax
jl 0x472573
cmp byte [esp], 0
je 0x472637
test edi, edi
jne 0x472633
movzx edi, bl
mov eax, dword [edi*4 + 0x68ff90]
mov dword [esp + 4], eax
mov esi, dword [esp + 4]
test esi, esi
je 0x4725f1
sub esi, 4
mov esi, dword [esi]
inc esi
push esi
lea eax, [edi*4 + 0x68ff90]
mov ecx, 1
mov edx, dword [0x4724ec]
call fcn.0040bb68
add esp, 4
mov eax, dword [edi*4 + 0x68ff90]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x472625
sub eax, 4
mov eax, dword [eax]
dec eax
movzx edx, bl
mov edx, dword [edx*4 + 0x68ff90]
lea edi, [edx + eax*8]
mov dword [edi], ebp
jmp 0x472639
xor edi, edi
mov eax, edi
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4724f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
add al, byte [eax]
movsb byte es:[edi], byte [esi]
and al, 0x47
add byte [eax + eax], al
add byte [eax], al
add al, byte [edi]
inc ecx
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x27365
add al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax + 0x11004724], ch
and al, 0x54
inc ecx
jb 0x472520
popal
jns 0x4724ed
push ebx
jns 0x472527
je 0x47251b
insd dword es:[edi], dx
push esp
jns 0x47252b
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
push esp
inc ebp
insb byte es:[edi], dx
insd dword es:[edi], dx
outsb dx, byte gs:[esi]
je 0x47250a
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x83e
add ah, bh
and eax, dword [edi]
and al, 0x47
add byte [ecx], dl
push esp
inc ecx
jb 0x472568
popal
jns 0x472535
push ebx
jns 0x47256f
je 0x472563
insd dword es:[edi], dx
push esp
jns 0x472573
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
push esp
inc ebp
outsb dx, byte [esi]
jne 0x47257a
inc ecx
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x72746e45
jns 0x472556
or byte [eax], al
add byte [eax], al
dec esp
and al, 0x47
add byte [esp + 0x47], cl
add bh, bh
invalid
add byte [esi], al
push ebx
jns 0x47259f
jae 0x4725a1
je 0x472593
insd dword es:[edi], dx
insd dword es:[edi], dx
dec esp
and al, 0x47
add byte [edx], al
add byte [ebp + 0x56530040], cl
lea eax, [eax]
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x472540
mov eax, edx
pop esi
pop ebx
ret
call 0xc5d3249b
call 0x472538
mov ebx, eax
xor esi, esi
jmp 0x4725b9
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
cmp ebp, dword [eax + esi*8]
je 0x472598
jmp [eax]
cmp byte [esp], 0
je 0x4725b8
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
cmp dword [eax + esi*8], 0
jne 0x4725b8
cmp al, 0xf0
add byte [ebp + 0x20], dh
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
lea edi, [eax + esi*8]
cmp byte [esp], 0
jmp [eax]
add byte [ebp + 0x3c80f03c], cl
and al, 0
je 0x472639
cmp dword [edi], 0
jne 0x472639
inc esi
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
call fcn.0040b950
cmp esi, eax
jl 0x472573
cmp byte [esp], 0
je 0x472637
test edi, edi
jne 0x472633
movzx edi, bl
mov eax, dword [edi*4 + 0x68ff90]
mov dword [esp + 4], eax
mov esi, dword [esp + 4]
test esi, esi
je 0x4725f1
sub esi, 4
mov esi, dword [esi]
inc esi
push esi
lea eax, [edi*4 + 0x68ff90]
mov ecx, 1
mov edx, dword [0x4724ec]
call fcn.0040bb68
add esp, 4
mov eax, dword [edi*4 + 0x68ff90]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x472625
sub eax, 4
mov eax, dword [eax]
dec eax
movzx edx, bl
mov edx, dword [edx*4 + 0x68ff90]
lea edi, [edx + eax*8]
mov dword [edi], ebp
jmp 0x472639
xor edi, edi
mov eax, edi
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x472538
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
add al, byte [eax]
movsb byte es:[edi], byte [esi]
and al, 0x47
add byte [eax + eax], al
add byte [eax], al
add al, byte [edi]
inc ecx
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x27365
add al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax + 0x11004724], ch
and al, 0x54
inc ecx
jb 0x472520
popal
jns 0x4724ed
push ebx
jns 0x472527
je 0x47251b
insd dword es:[edi], dx
push esp
jns 0x47252b
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
push esp
inc ebp
insb byte es:[edi], dx
insd dword es:[edi], dx
outsb dx, byte gs:[esi]
je 0x47250a
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x83e
add ah, bh
and eax, dword [edi]
and al, 0x47
add byte [ecx], dl
push esp
inc ecx
jb 0x472568
popal
jns 0x472535
push ebx
jns 0x47256f
je 0x472563
insd dword es:[edi], dx
push esp
jns 0x472573
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
push esp
inc ebp
outsb dx, byte [esi]
jne 0x47257a
inc ecx
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x72746e45
jns 0x472556
or byte [eax], al
add byte [eax], al
dec esp
and al, 0x47
add byte [esp + 0x47], cl
add bh, bh
invalid
add byte [esi], al
push ebx
jns 0x47259f
jae 0x4725a1
je 0x472593
insd dword es:[edi], dx
insd dword es:[edi], dx
dec esp
and al, 0x47
add byte [edx], al
add byte [ebp + 0x56530040], cl
lea eax, [eax]
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x472540
mov eax, edx
pop esi
pop ebx
ret
call 0xc5d3249b
call 0x472538
mov ebx, eax
xor esi, esi
jmp 0x4725b9
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
cmp ebp, dword [eax + esi*8]
je 0x472598
jmp [eax]
cmp byte [esp], 0
je 0x4725b8
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
cmp dword [eax + esi*8], 0
jne 0x4725b8
cmp al, 0xf0
add byte [ebp + 0x20], dh
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
lea edi, [eax + esi*8]
cmp byte [esp], 0
jmp [eax]
add byte [ebp + 0x3c80f03c], cl
and al, 0
je 0x472639
cmp dword [edi], 0
jne 0x472639
inc esi
movzx eax, bl
mov eax, dword [eax*4 + 0x68ff90]
call fcn.0040b950
cmp esi, eax
jl 0x472573
cmp byte [esp], 0
je 0x472637
test edi, edi
jne 0x472633
movzx edi, bl
mov eax, dword [edi*4 + 0x68ff90]
mov dword [esp + 4], eax
mov esi, dword [esp + 4]
test esi, esi
je 0x4725f1
sub esi, 4
mov esi, dword [esi]
inc esi
push esi
lea eax, [edi*4 + 0x68ff90]
mov ecx, 1
mov edx, dword [0x4724ec]
call fcn.0040bb68
add esp, 4
mov eax, dword [edi*4 + 0x68ff90]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x472625
sub eax, 4
mov eax, dword [eax]
dec eax
movzx edx, bl
mov edx, dword [edx*4 + 0x68ff90]
lea edi, [edx + eax*8]
mov dword [edi], ebp
jmp 0x472639
xor edi, edi
mov eax, edi
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a8f50
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a8fee
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4a8fb2
cmp byte [ebx + 0x11], 0
jne 0x4a8fb2
cmp byte [ebx + 0x3c], 0
jne 0x4a8fb2
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4a8fd3
lea edx, [ebp - 4]
mov eax, dword [0x68ab28]
call fcn.0040d980
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4811a8]
call fcn.00427a70
call fcn.00408ea4
jmp 0x4a8fd3
lea edx, [ebp - 8]
mov eax, dword [0x68ab28]
call fcn.0040d980
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4811a8]
call fcn.00427a70
call fcn.00408ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8ff5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409848
ret

Function at 0x4a9320
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4a936e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004a8e9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9387
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a9390
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004a8e9c
dec esi
jne 0x4a93b2
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4ab888
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6903d8
cmp dword [edi], 0
jne 0x4ab904
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x6903d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x67178c
mov ecx, 2
call fcn.00406a30
mov edx, 0x4ab860
lea eax, [esi + 5]
call fcn.004ab880
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004ab880
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 0x4ab8d9
mov dword [0x6903d4], 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 0x4d60b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d620a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
je 0x4d61df
mov eax, dword [ebx + 4]
mov dl, 1
call fcn.0042108c
test al, al
je 0x4d61df
push 0x20
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x47ce94]
call fcn.0049cfa4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d61d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.0049c7b4
sub esi, eax
push esi
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404564]
call fcn.0040bb68
add esp, 4
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042a968
mov esi, eax
mov dl, 1
mov eax, dword [0x47a004]
call fcn.0049c754
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d61bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebp - 4]
test edi, edi
je 0x4d617c
sub edi, 4
mov edi, dword [edi]
sub edi, esi
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xc]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.0042af18
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004d6484
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d61c2
mov eax, dword [ebp - 8]
call fcn.00407bc0
ret
mov eax, ebx
call fcn.004d5eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6211
lea eax, [ebp - 0x10]
call fcn.004097e8
lea eax, [ebp - 4]
mov edx, dword [0x404564]
call fcn.0040bc8c
ret

Function at 0x4d94d4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004d8d4c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040a5d8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004d8e14
test al, al
jne 0x4d953c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x68a9ec]
mov dl, 1
mov eax, dword [0x4d7b18]
call fcn.00427b68
call fcn.00408ea4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d9548
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.0040a5d8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.004d8e14
test al, al
jne 0x4d95a9
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x68ae20]
mov dl, 1
mov eax, dword [0x4d7b18]
call fcn.00427b68
call fcn.00408ea4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004d8d7c
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 0x4e1e88
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 0x4e1e8e
ret
Function at 0x4f7914
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x673950
test edx, edx
jne 0x4f7933
xor eax, eax
jmp 0x4f7a51
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4f7950
push esi
push edx
push eax
call fcn.004f7a58
add esp, 0xc
jmp 0x4f7a51
push esi
push edx
push eax
call fcn.004f7d18
add esp, 0xc
jmp 0x4f7a51
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4f8c04
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x436e74]
call fcn.0040aed0
xor eax, eax
push ebp
push 0x4f8d87
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x675a0c], 0
jne 0x4f8c58
mov ecx, dword [0x68a580]
mov dl, 1
mov eax, dword [0x419684]
call fcn.00427b2c
call fcn.00408ea4
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00407284
mov eax, ebx
call fcn.0040a448
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4f8d98
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040d334
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4f8c9f
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4f8cf4
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4f8ced
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.0040a6d0
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.0040a694
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00420068
test eax, eax
jne 0x4f8ced
mov ebx, 0x15
jmp 0x4f8cf9
mov ebx, 0x10
jmp 0x4f8cf9
mov ebx, 0x15
xor eax, eax
push ebp
push 0x4f8d44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x68ad98]
movzx eax, word [eax]
or ax, 8
call fcn.00406d34
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x675a0c]
call fcn.004f8a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8d4b
call fcn.00406d24
ret
Function at 0x505b30
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 - 8]
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 [0x6905f0], 0
je 0x505c71
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x68aaec]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x505c71
mov eax, dword [0x6905f4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x6905f0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x505c40
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x6905f0]
call fcn.004988bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x505c38
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x205], 0
je 0x505c38
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x505c38
mov eax, dword [ebp - 0x14]
call fcn.005114d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x505c38
push ebp
call fcn.00505aec
pop ecx
test al, al
jne 0x505c38
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00407e80
test al, al
je 0x505c38
mov byte [ebp - 9], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00407e80
cmp byte [ebp - 9], 0
je 0x505c38
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.0040f09c
test al, al
je 0x505c38
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6905f4]
call fcn.00505234
inc edi
dec ebx
jne 0x505b95
mov eax, dword [0x6905f4]
cmp dword [eax + 8], 0
jle 0x505c58
mov eax, dword [0x6905f4]
call fcn.005052e8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x505c71
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00505954
pop ecx
test al, al
jne 0x505c71
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 0x50e080
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.0040f29c
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.00508174
test ebx, ebx
jne 0x50e0d3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0050def8
mov ebx, eax
test ebx, ebx
je 0x50e1c9
cmp esi, ebx
je 0x50e0fc
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x50e111
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 0x50e149
add eax, 0xffffff5f
sub eax, 2
jb 0x50e161
dec eax
sub eax, 2
jb 0x50e175
dec eax
sub eax, 2
jb 0x50e16b
jmp 0x50e17f
add eax, 0xfffffdff
sub eax, 2
jb 0x50e161
dec eax
sub eax, 2
jb 0x50e175
dec eax
sub eax, 2
jb 0x50e16b
jmp 0x50e17f
mov byte [esp + 0x120], 0
jmp 0x50e187
mov byte [esp + 0x120], 2
jmp 0x50e187
mov byte [esp + 0x120], 1
jmp 0x50e187
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00597508
mov esi, eax
call fcn.00504be0
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00509a38
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x50e1cb
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x5327c8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004098cc
xor eax, eax
push ebp
push 0x532905
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5328d8
xor edx, edx
push ebp
push 0x5328d1
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x532815
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5328a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x532895
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x532858
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040a5d8
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.00406a30
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53289c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x68a600]
mov dl, 1
mov eax, dword [0x419684]
call fcn.00427b2c
call fcn.00408ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53290c
lea eax, [ebp - 4]
call fcn.004097e8
ret

Function at 0x539624
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x539660]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x53963c
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x53964c
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x53965c
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x5586a4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
push 0x101
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409970
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x55f5e4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.0055f694
test eax, eax
je 0x55f61f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.0055f694
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409970
jmp 0x55f62d
mov ecx, esi
mov edx, 0x55f64c
mov eax, ebx
call fcn.0055f56c
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00409bc8
add esp, 0x200
pop esi
pop ebx
ret