joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5689dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x568a23
call fcn.005644f1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x568a23
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x568a66
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x568a4f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x568a4f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x568a63
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x57191f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
mov dword [esp + 4], ecx
call fcn.005644f1
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x571935
xor eax, eax
jmp 0x57197f
push ebx
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x57197e
push ebp
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
push eax
push ebp
call fcn.005718c1
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop ebp
pop ebx
pop esi
pop ecx
ret 4

Function at 0x572333
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x572361
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x57237f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0057229d
jmp 0x57237f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x57237f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0057229d
test edi, edi
mov eax, edi
jne 0x572369
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x63ae7c]
test ecx, ecx
je 0x572442
jmp 0x572332
ret 8

Function at 0x577139
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6336a0]
jne 0x577143
repz ret
jmp fcn.00580581
Function at 0x58d99b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0057ff68
xor ebx, ebx
cmp dword [0x63bcb8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x58da70
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x58d9db
xor eax, eax
jmp 0x58db34
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x58d9d4
push eax
call fcn.0057ff05
mov dword [esp], 0x5d0478
push edi
mov dword [0x63bcb8], eax
call esi
push eax
call fcn.0057ff05
mov dword [esp], 0x5d0464
push edi
mov dword [0x63bcbc], eax
call esi
push eax
call fcn.0057ff05
mov dword [0x63bcc0], eax
lea eax, [ebp - 8]
push eax
call fcn.0057e95f
test eax, eax
pop ecx
pop ecx
je 0x58da3e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00577f1b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x58da70
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0057ff05
cmp eax, ebx
pop ecx
mov dword [0x63bcc8], eax
je 0x58da70
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0057ff05
pop ecx
mov dword [0x63bcc4], eax
mov eax, dword [0x63bcc4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x58dae9
cmp dword [0x63bcc8], esi
je 0x58dae9
push eax
call fcn.0057ff71
pop ecx
call eax
cmp eax, ebx
je 0x58dab6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x63bcc8]
call fcn.0057ff71
pop ecx
call eax
test eax, eax
je 0x58dab6
test byte [ebp - 0x18], 1
jne 0x58dae9
lea eax, [ebp - 0xc]
push eax
call fcn.0057e996
test eax, eax
pop ecx
je 0x58dad1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00577f1b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x58dae0
or dword [ebp + 0x10], 0x200000
jmp 0x58db1a
or dword [ebp + 0x10], 0x40000
jmp 0x58db1a
mov eax, dword [0x63bcbc]
cmp eax, esi
je 0x58db1a
push eax
call fcn.0057ff71
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x58db1a
mov eax, dword [0x63bcc0]
cmp eax, esi
je 0x58db1a
push dword [ebp - 4]
push eax
call fcn.0057ff71
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x63bcb8]
call fcn.0057ff71
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5954f9
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x6336a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0059548e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0057bb20
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x595548
cmp dword [ebp - 0x1c], 5
jb 0x595560
jmp 0x59555c
cmp dword [ebp - 0x10], 1
jne 0x595560
cmp dword [ebp - 0x1c], 4
ja 0x59555c
jne 0x595560
cmp dword [ebp - 0x18], 0
jbe 0x595560
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x5d2874
call fcn.004dff70
test eax, eax
jge 0x595581
mov byte [0x63ce30], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00577139
add ebp, 0x78
leave
ret
Function at 0x1aa2454
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp + 0xc], ch
jmp 0x1cd12e1
adc cl, bh
or eax, 0x765cf3e1
cmp esi, dword [ebp - 4]
cmp edx, dword [ecx - 0x73]
and al, 0x28
push ecx
lea esp, [esp + 0x28]
jne 0x1cde9b5
add al, bl
sub ah, cl
aas
sub eax, 0xa537bc60
sub edx, edx
btc ax, dx
clc
test dh, 0x1c
aaa
mov eax, edx
adc al, 0xbf
add edi, 1
sbb al, 0x37
sal al, 3
cmc
mov al, byte [edi]
bt cx, 8
test al, al
call int.01cce374
fadd dword [eax]
fild word [eax]
stc
xor byte [0x8f70f013], ah
jecxz 0x1cd12d6
lodsb al, byte [esi]
push cs
fidiv word [edx]
sbb al, 0xd6
fadd dword [edx + edx*8]
or cl, bl
add bh, dh
and ch, ah
sub byte [ebp + 0x3469a975], ah
loop 0x1cd1380
neg dh
sbb byte [0x7ba066af], dl
sti
pop ecx
iretd
mov al, 0x27
dec ebp
xchg dword [edx - 0x3f], esi
int3

Function at 0x1cce1f4
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp], edi
call fcn.02054e96
lodsb al, byte [esi]
dec ebx
invalid

Function at 0x205834d
Capabilities:
Encode data using xor

Disassembly:
call fcn.02058c90
cmp cl, byte [edx]
out dx, eax
out dx, eax
adc al, byte [esi]
or dl, byte [eax - 9]
in eax, 0x26
aam 0x2f
pop eax
sahf
loope 0x1cd0f03
imul esp, dword [edx + 0x559ecaa1], 0xe92d53fd
out dx, al
cmp al, 0xed
xor al, 0xc0
adc al, bl
sbb al, 0x58
stosd dword es:[edi], eax
sti
cmp cl, byte [edi - 0x79]
or esi, ecx
push 0xba65bfaf
pop dword gs:[ecx + 0x48]
xchg dword [ebx + 0x26], edi
fcomp qword [edx - 0x79]
salc
or dword [eax - 0x42c29c43], esp
js 0x1cd0f86
and al, 0xc2
mov edx, 0xcf040b7a
int3
ja 0x1cd0ff7
out 0x29, al
ljmp 0x310
sub byte [edi + 0x2124e259], dl
xor al, 0x33
sub dword [edx - 0xf258d67], ebx
cmpsd dword [esi], dword es:[edi]
int1
or byte [ebx + 0x5e], 0x58
or eax, 0x6d7705c2
aad 0x75
cld
xor ebp, dword [eax]
dec esi
ljmp 0xdf8f
ret 0xdf45
xor eax, 0x15cf05ce
aam 0x18
shr dword [ebx], 1
pop ebx
sub dword [edi], 0x669ce424
xchg edi, ebx
pushfd
xchg di, bx
mov ebx, dword [esp + 4]
pop edi
pushal
mov edi, dword [esp + 0x24]
pushfd
call fcn.01d5a9c9
cli
lea ebx, [ebx - 0x76]
push ebx
xchg ecx, eax
pop edi
inc esp
push 0x43db5cb0
in al, dx
insb byte es:[edi], dx
push eax
mov esi, dword [edx - 0x5d]
inc ebx
xchg edi, eax
pushal
scasd eax, dword es:[edi]
out 0x24, al
jns 0x1cd96cd
popal
mov ebp, 0xb96f8550
push ebx
test dword [ebp - 0x6f], ecx
jnp 0x1cd96e5
push 0xffffffffffffffa4
cmpsd dword [esi], dword es:[edi]
imul esp, dword [edi - 0x70b997a3], 0x2de2ea36
xchg esi, eax
push eax
dec ebp
adc ebx, ebx
cmp dword [edx - 0x44bf6b08], ebx
lea ebp, [edi]
enter 0xffffffffffffeb63, 0xe
fstp xword [ecx]
lcall 0x2c8d, 0xbb4094f8
out 0xc8, eax
arpl bx, bp
push cs
leave
dec ecx
mov edx, dword [ebp - 0x7a]
dec ecx
out dx, eax
xor bh, ch
and byte [ecx - 0x23], ch
test byte [edi], dh
jl 0x1cd9741
or eax, ebp
in al, dx
cdq
iretd
mov word [esp + 0x14], 0x673
dec al
mov byte [esp + 4], dh
rol al, 4
cmp al, bl
push esi
cmp si, 0xf9c8
cmp cl, ch
shr eax, 1
pushfd
lea esp, [esp + 0x40]
je 0x1cd96f5
jmp 0x1cd0ec2
Function at 0x1004ace5
Capabilities:
Check for vm using instruction vpcext

Disassembly:
clc
mov byte [esp], 0xaa
call fcn.10067209
mov bh, 0x9f
inc eax
pop ebx
sbb dl, dl
les ecx, [edi - 0x5a]
add ebp, dword [eax - 0x26]
sbb byte [ecx - 0x60], al
lds ecx, [ebp + 0x78]
mov ebp, 0x887d1612
xchg edi, eax
inc esi
sbb al, 0xda
xor edx, dword [edi + edx*4]
inc esp
outsb dx, byte [esi]
cli
out dx, al
call 0xb0c9ddd3
sub al, 0x20
pop edi
invalid

Function at 0x1004bd6d
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x28], eax
mov byte [esp], cl
push dword [esp]
jmp 0x100626be
push 0xcbd60f29
lodsb al, byte [esi]
jmp 0x10066fad
not al
push dword [esp + 0x10]
stc
jmp 0x1004b4d7

Function at 0x10066ec9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
bsf ax, ax
mov al, bh
mov ah, 0x58
push ebp
ror bp, cl
das
or ax, 0xaf83
add ax, 0x866c
mov ebp, esp
pushal
bswap ax
sub esp, 0xfffffff0
sbb ax, bx
pushfd
daa
sub ax, 0xfbcc
mov dword [esp], esi
and ah, bl
push edi
pushfd
lea eax, [0x9f52e452]
ror ah, cl
mov dword [esp], ebx
shl al, cl
shl ax, cl
push 0x6e4391b4
shl ah, cl
mov dword [esp], edx
cmc
mov eax, dword [ebp + 8]
clc
test eax, eax
pushal
push edx
lea esp, [esp + 0x24]
je 0x1004bcda
xchg dx, si
setge dh
movzx dx, bl
setle dl
mov esi, dword [eax + 0x3c]
and dh, 0xfd
adc dl, cl
shrd dx, bx, cl
lea edx, [edx + 0x35a20561]
add esi, eax
and dh, 2
or dl, 0x1a
push esp
rcl dh, 5
mov edx, dword [esi + 0x78]
call fcn.1004ace5
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x35d774c2
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x9f15fce
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4013ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0xe4c3b4], 1
mov dword [0xe4c3b8], 1
mov dword [0xe4c3bc], 1
mov dword [0xe4c3a8], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x401415
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x401438
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x40145a
cmp eax, 0x20b
je 0x40147f
jmp 0x4014aa
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x40146c
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x401497
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, 0
leave
ret
Function at 0x409410
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ef1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00463793
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409492
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00461540
mov eax, dword [eax]
push 0x492200
push eax
call fcn.004537f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00463a1e
test bl, bl
je 0x409492
push 0x492200
lea ecx, [esp + 0xc]
call fcn.00463dae
push 0x495d6c
lea ecx, [esp + 0xc]
call fcn.00463dae
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4094ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00463a1e
jmp 0x409599
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409552
lea edx, [esp + 0x7c]
push 0x495d68
push edx
call fcn.004537f4
add esp, 8
test eax, eax
je 0x409552
lea eax, [esp + 0x7c]
push 0x495d64
push eax
call fcn.004537f4
add esp, 8
test eax, eax
je 0x409552
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4094e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00463a1e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409d90
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409df2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x409e00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ef9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49cb5c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x409f38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409e66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463a1e
xor eax, eax
jmp 0x409faf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00463b5b
push esi
lea ecx, [esp + 0xc]
call fcn.00463dea
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x409f8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00409d90
test eax, eax
jne 0x409f8d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00409d90
test eax, eax
jne 0x409f8d
lea eax, [esp + 0x14]
push 0x495d80
push eax
call fcn.00454830
mov esi, eax
add esp, 8
test esi, esi
jne 0x409f6c
lea ecx, [esp + 0x14]
push 0x495d7c
push ecx
call fcn.004547b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409f6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409f6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00463b0b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409e7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463a1e
xor eax, eax
jmp 0x409faf
mov byte [esi], 0
push 0x495d78
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00463a1e
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41b620
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41b68e
cmp si, 0x69
ja 0x41b68e
add esi, 0xffd0
cmp si, 0x11
je 0x41b65e
push 0x11
call edi
test ax, ax
jge 0x41b65e
or esi, 0x2000
cmp si, 0x10
je 0x41b673
push 0x10
call edi
test ax, ax
jge 0x41b673
or esi, 0x4000
cmp si, 0x12
je 0x41b688
push 0x12
call edi
test ax, ax
jge 0x41b688
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41b69b
mov esi, 0xbd
jmp 0x41b64f
cmp si, 0x6e
jne 0x41b6a8
mov esi, 0xbe
jmp 0x41b64f
cmp si, 0x6f
jne 0x41b649
mov esi, 0xbf
jmp 0x41b64f

Function at 0x41cd90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ad260]
xor edx, edx
cmp eax, edx
jne 0x41cdb6
xor eax, eax
mov byte [eax + 0x4ad160], al
inc eax
cmp eax, 0x100
jl 0x41cd9e
mov dword [0x4ad260], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ad160
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ce47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41ce1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41cde8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41cec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41cf13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41cefa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret