joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401559
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x6f8]
sub esp, 0x774
mov eax, dword [0x40a1c0]
xor eax, ebp
mov dword [ebp + 0x6f4], eax
mov eax, dword [ebp + 0x700]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
push 0x3ff
lea eax, [ebp + 0x1f1]
push ebx
push eax
mov byte [ebp + 0x1f0], bl
call fcn.00401dd0
lea eax, [ebp + 0x1f0]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x34]
mov byte [ebp - 0x2a], bl
push dword [ebp - 0x38]
call fcn.00401349
add esp, 0x1c
test eax, eax
jmp loc.0048533e

Function at 0x40184f
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
call fcn.0040129b
test eax, eax
je 0x40192d
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
je 0x4018c5
cmp byte [edi], bl
je 0x4018c5
xor esi, esi
mov eax, esi
neg eax
sbb eax, eax
not eax
and eax, edi
push 0x4082c8
push eax
call fcn.00401e60
pop ecx
pop ecx
mov dword [ebp + esi*4 - 0x14], eax
cmp eax, ebx
je 0x401899
inc esi
cmp esi, 5
jb 0x401874
push str._RUNSECS
push dword [ebp - 0x14]
call fcn.00401b00
pop ecx
pop ecx
test eax, eax
jne 0x4018c5
cmp esi, 1
jle 0x4018c5
push dword [ebp - 0x10]
call fcn.00401e4a
imul eax, eax, 0x3e8
pop ecx
mov dword [0x40acd0], eax
push dword [ebp + 8]
call fcn.004017ee
push dword [ebp + 0x14]
push dword [ebp + 8]
call section..text
add esp, 0xc
test eax, eax
je 0x40192a
push 0x6b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, eax
jmp 0x40191a
lea eax, [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x40191a
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
jmp 0x4855d7
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
jne 0x4018f4
mov eax, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x401aed
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
cmp ecx, dword [0x40a1c0]
jne 0x401af7
repz ret
jmp loc.00485848

Function at 0x402558
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push esi
push edi
mov esi, str.KERNEL32.DLL
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x402573
push esi
call fcn.004037dc
pop ecx
mov edi, eax
test edi, edi
jmp loc.00485e4c

Function at 0x40281c
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [0x40ad00]
call fcn.004021c3
pop ecx
test eax, eax
je 0x402834
pop ebp
jmp eax
push 2
jmp 0x485479
Function at 0x402978
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push esi
push edi
xor esi, esi
mov edi, 0x40b030
cmp dword [esi*8 + 0x40a1f4], 1
jne 0x4029ab
lea eax, [esi*8 + 0x40a1f0]
mov dword [eax], edi
push 0xfa0
jmp loc.0048527b
inc esi
cmp esi, 0x24
jl 0x402983
xor eax, eax
inc eax
pop edi
pop esi
ret

Function at 0x40418a
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
cmp dword [0x40b5e4], eax
jne 0x4041aa
push 0x40a510
jmp 0x4041ab
push eax
jmp 0x48557d

Function at 0x4043c5
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [0x40b850], 0
jne 0x4043d3
call fcn.0040554f
push esi
mov esi, dword [0x40ace4]
push edi
xor edi, edi
test esi, esi
jne 0x4043f9
or eax, 0xffffffff
jmp 0x485d46
cmp al, 0x3d
je 0x4043ee
inc edi
push esi
call fcn.00401b90
pop ecx
lea esi, [esi + eax + 1]
mov al, byte [esi]
test al, al
jne 0x4043e9
push 4
inc edi
push edi
call fcn.004055b2
mov edi, eax
pop ecx
pop ecx
mov dword [0x40b194], edi
test edi, edi
je 0x4043e1
mov esi, dword [0x40ace4]
push ebx
jmp 0x404461
push esi
call fcn.00401b90
mov ebx, eax
inc ebx
cmp byte [esi], 0x3d
pop ecx
je 0x40445f
push 1
push ebx
call fcn.004055b2
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
je 0x40448c
push esi
push ebx
push eax
call fcn.00406348
add esp, 0xc
test eax, eax
je 0x40445c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004026f4
add esp, 0x14
add edi, 4
add esi, ebx
cmp byte [esi], 0
jne 0x40441f
push dword [0x40ace4]
call fcn.00401c1b
and dword [0x40ace4], 0
and dword [edi], 0
mov dword [0x40b844], 1
xor eax, eax
pop ecx
pop ebx
pop edi
pop esi
ret
push dword [0x40b194]
call fcn.00401c1b
and dword [0x40b194], 0
or eax, 0xffffffff
jmp 0x404487

Function at 0x404d3d
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jmp loc.004852fd
Function at 0x406293
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp dword [ebp + 0x14], ebx
jne 0x4062b5
cmp esi, ebx
jne 0x4062b9
cmp dword [ebp + 0xc], ebx
jne 0x4062c0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp esi, ebx
je 0x4062c0
mov edi, dword [ebp + 0xc]
cmp edi, ebx
ja 0x4062db
jmp 0x4854c9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040281c
add esp, 0x14
mov eax, esi
jmp 0x4062b0
cmp dword [ebp + 0x14], ebx
jne 0x4062e4
mov byte [esi], bl
jmp 0x4062ae
mov edx, dword [ebp + 0x10]
cmp edx, ebx
jne 0x4062ef
mov byte [esi], bl
jmp 0x4062c0
cmp dword [ebp + 0x14], 0xffffffff
mov eax, esi
jne 0x406306
mov cl, byte [edx]
mov byte [eax], cl
inc eax
inc edx
cmp cl, bl
je 0x40631f
dec edi
jne 0x4062f7
jmp 0x40631f
mov cl, byte [edx]
mov byte [eax], cl
inc eax
inc edx
cmp cl, bl
je 0x406318
dec edi
je 0x406318
dec dword [ebp + 0x14]
jne 0x406306
cmp dword [ebp + 0x14], ebx
jne 0x40631f
mov byte [eax], bl
cmp edi, ebx
jne 0x4062ae
cmp dword [ebp + 0x14], 0xffffffff
jne 0x406338
mov eax, dword [ebp + 0xc]
push 0x50
mov byte [esi + eax - 1], bl
pop eax
jmp 0x4062b0
mov byte [esi], bl
call fcn.00401ada
push 0x22
pop ecx
mov dword [eax], ecx
mov esi, ecx
jmp 0x4062ca

Function at 0x407a7c
Capabilities:
Get geographical location
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x40a1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 6
lea eax, [ebp - 0xc]
push eax
push 0x1004
jmp loc.00485238

Function at 0x485632
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
mov eax, dword [0x403004]
push edi
push eax
push eax
mov edi, eax
push 0x104
push eax
push 0
test eax, eax
add esp, 0x18
leave
popal
popfd
mov edx, 0x1d832416
jmp loc.00425016

Function at 0x401020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41900c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401097
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401097
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401289
leave
ret
Function at 0x4b594a
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x496808
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004bb3ba
xor ebx, ebx
push 0x412910
push 0x412900
push 0x3fd
push 0xc
lea eax, [esi + 0x38]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x49fcc8
mov byte [esi + 8], 1
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call 0x509f1e
mov dword [esi + 0x3014], ebx
mov dword [esi + 0x3018], ebx
mov dword [esi + 0x301c], ebx
mov dword [esi + 0x3020], ebx
mov dword [esi + 0x3024], ebx
mov byte [esi + 0x3028], 1
mov dword [esi + 0x302c], ebx
mov byte [esi + 0x3030], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4ba4ea
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x497160
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.004b77aa
add esp, 0x10
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.004bf83a
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 2
call fcn.004bf87a
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x10006a9c
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10006abe
mov eax, 0xfffffffd
jmp 0x10006b9e
mov ebx, dword [0x100b4ad8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10006b6c
mov ebx, dword [0x100b4ad8]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10006b0d
mov ebx, dword [0x100b4ad8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10006b0d
mov eax, 1
jmp 0x10006b12
mov eax, 0
test eax, eax
je 0x10006b3e
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10006b27
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x100b4ad8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10006b94
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10006b9e
mov esp, ebp
pop ebp
ret 4

Function at 0x10006da5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x10006e58
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x100077d7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10006da5
test eax, eax
je 0x1000781a
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x1000781a
cmp word [eax], 0x5a4d
jne 0x1000781a
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x1000781a
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10006e77
mov eax, dword [ebp + 8]
jmp 0x10007833
mov esp, ebp
pop ebp
ret 4
Function at 0x1000db90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100869d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1007bda9
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1000eb50
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1000dbe4
jmp dword [ecx*4 + 0x1000dd4c]
mov al, byte [esi]
test al, al
je 0x1000dc12
cmp al, 0x20
je 0x1000dbfe
cmp al, 0xa1
jne 0x1000dc12
cmp byte [esi + 1], al
jne 0x1000dc12
test al, 0x80
je 0x1000dc0a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1000dc12
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1000dbf1
test ecx, ecx
je case.default.0x1000dbe4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1000dbe4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1000dc58
cmp dl, 0xa1
jne 0x1000dc4c
cmp byte [eax + 1], 0xa1
jne 0x1000dc4c
test ecx, ecx
jne 0x1000dc44
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1000dc6c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1000dc86
jmp 0x1000dc6c
cmp dl, 0x20
jne 0x1000dc6a
test ecx, ecx
jne 0x1000dc63
mov edi, eax
mov ecx, 1
jmp 0x1000dc6c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1000dc2c
cmp ecx, 1
jne case.default.0x1000dbe4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1000dbe4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1000dbe4
mov al, byte [esi]
test al, al
je 0x1000dcde
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1000dcc4
mov cl, byte [esi + 1]
test cl, cl
je 0x1000dcde
cmp al, 0xa1
jne 0x1000dcb4
cmp cl, al
je 0x1000dcc1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1000ee20
inc esi
jmp 0x1000dcd6
cmp al, 0x20
je 0x1000dcd6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1000ee60
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1000dc9d
push 0
lea ecx, [esp + 0x14]
call fcn.1000ee60
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10017fa0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1000dd11
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1008d010
call fcn.1000ed50
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1007bd3b
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10012a60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10086d3b
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.1007bab0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10012ae2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100798f6
mov eax, dword [eax]
push 0x100a5c88
push eax
call fcn.1006bc04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1007bd3b
test bl, bl
je 0x10012ae2
push 0x100a5c88
lea ecx, [esp + 0xc]
call fcn.1007c0cb
push 0x100a5c94
lea ecx, [esp + 0xc]
call fcn.1007c0cb
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 0x10012b1e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1007bd3b
jmp 0x10012be9
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 0x10012ba2
lea edx, [esp + 0x7c]
push 0x100a5c90
push edx
call fcn.1006bc04
add esp, 8
test eax, eax
je 0x10012ba2
lea eax, [esp + 0x7c]
push 0x100a5c8c
push eax
call fcn.1006bc04
add esp, 8
test eax, eax
je 0x10012ba2
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 0x10012b32
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.1007bd3b
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 0x100133e0
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 0x10013442
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 0x10013450
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10086dbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100b09c8]
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 0x10013588
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x100134b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1007bd3b
xor eax, eax
jmp 0x100135ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1007be78
push esi
lea ecx, [esp + 0xc]
call fcn.1007c107
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 0x100135dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.100133e0
test eax, eax
jne 0x100135dd
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 closesocket
mov ecx, edi
call fcn.100133e0
test eax, eax
jne 0x100135dd
lea eax, [esp + 0x14]
push 0x100a5ca4
push eax
call fcn.1006cc80
mov esi, eax
add esp, 8
test esi, esi
jne 0x100135bc
lea ecx, [esp + 0x14]
push 0x100a5ca0
push ecx
call fcn.1006cc00
mov esi, eax
add esp, 8
test esi, esi
jne 0x100135bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x100135bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1007be28
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100134ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1007bd3b
xor eax, eax
jmp 0x100135ff
mov byte [esi], 0
push 0x100a5c9c
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.1007bd3b
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 0x10022a40
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 0x10022aae
cmp si, 0x69
ja 0x10022aae
add esi, 0xffd0
cmp si, 0x11
je 0x10022a7e
push 0x11
call edi
test ax, ax
jge 0x10022a7e
or esi, 0x2000
cmp si, 0x10
je 0x10022a93
push 0x10
call edi
test ax, ax
jge 0x10022a93
or esi, 0x4000
cmp si, 0x12
je 0x10022aa8
push 0x12
call edi
test ax, ax
jge 0x10022aa8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x10022abb
mov esi, 0xbd
jmp 0x10022a6f
cmp si, 0x6e
jne 0x10022ac8
mov esi, 0xbe
jmp 0x10022a6f
cmp si, 0x6f
jne 0x10022a69
mov esi, 0xbf
jmp 0x10022a6f

Function at 0x100242a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100c11e8]
xor edx, edx
cmp eax, edx
jne 0x100242c6
xor eax, eax
mov byte [eax + 0x100c10e8], al
inc eax
cmp eax, 0x100
jl 0x100242ae
mov dword [0x100c11e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100c10e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10024357
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 0x1002432a
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 0x100242f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x100243d0
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 0x10024423
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 0x1002440a
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