joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100099e3
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [eax + 0x50], ebx
je 0x1000a7f2
test byte [edi + 0x68], 0xc
jne 0x1000bfef
push dword [edi + 4]
push edi
call fcn.1000ae86
nop
nop
nop
nop
nop
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
mov edi, dword [ebp + 8]

Function at 0x10009a15
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
lea eax, [ebp - 4]
push eax
push dword [edi + 0x28]
call fcn.1000730b
sub dword [ebp - 0x98], 1
jne 0x10009309
cmp dword [ebp - 0x88], 0
je 0x10009a5f
cmp eax, dword [0x1000ec49]
je 0x10009a2d
test edi, edi
je 0x10009a43
mov eax, dword [0x1000e357]
push 0
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push dword [esi + 0x28]
call fcn.1000a413
push dword [ebp + 0xc]
call fcn.1000c262
test eax, eax
je 0x100099f0
cmp dword [ebp - 4], 0
je 0x10009a43
xor ebx, ebx
push dword [ebp + 0xc]
call fcn.10007e95
mov ebx, dword [0x1000e440]
xor esi, esi
mov edi, esi
mov esi, dword [ebp - 0x70]
and eax, edx
xor ecx, ebx
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0xc8], edx
sub esi, 0x40
or eax, dword [ebp - 0x90]
mov edi, edx
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x68], ecx
or ecx, edi
mov word [ebp - 0xb4], 0x2ce
mov esi, dword [ebp - 0xa4]
mov word [ebp - 0xc0], 0x709
mov ecx, dword [ebp - 0x68]
or edi, dword [ebp - 0xc4]
sub esi, 0x40
mov eax, edx
add ecx, dword [esi + 0xe4]
mov dword [ebp - 0x68], ecx
xor eax, ecx
cmp dword [ebp - 0x88], 0
je 0x10009af5
jne 0x100078ab
mov dword [ebp - 0x38], 2
cmp dword [ebp - 0x2c], eax
push 2
pop esi
je 0x10009afa
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]

Function at 0x10009b1c
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [eax + 0x28]
mov dword [ebp - 0xc], eax
jne 0x10008ff6
call fcn.1000c773
push 0x20
call fcn.10008601
call fcn.10006b23
call fcn.1000a236
test eax, eax
je 0x10009adc
mov eax, 0x1000e233
mov dword [eax], ebx
add eax, 8
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
push 7
xor edi, edi
push 0xfffffffffffffffe
mov dword [ebp - 0x28], edi
call fcn.10008eb9
je 0x10009b47
mov ebx, dword [ebp - 0x68]
or edx, ebx
and eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0x6c]
add edx, eax
sub edx, dword [ebp - 0xb8]
mov esi, dword [ebx]
mov dword [ebp - 0x6c], esi
and dword [ebp - 0x78], ebx
add dword [ebp - 0x88], 0
je 0x10009b3f
call fcn.1000a13d
xor eax, eax
inc eax
pop ebp
nop
nop
nop
nop
nop
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1000e51f]
test eax, eax
je 0x1000adf7
and dword [ebp - 0x78], esi
call fcn.10004318
sub ecx, dword [ebp - 0xb8]
test dword [ebp - 0x88], 0
je 0x10009b78
Function at 0x1000a13d
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp byte [ebp - 0x18], 0
je 0x100097d1
mov eax, dword [esi + 0x2c]
test al, 1
je 0x1000a1ca
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x20]
push 1
push dword [eax]
push 0x1000eb71
Function at 0x1000a413
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x74]
mov byte [eax + 0x48], 1
or byte [ebx + 0x39], 8
lea eax, [ebp + 8]
push eax
mov eax, dword [esi]
push dword [eax]
call fcn.10009546
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x18], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x20]
push dword [eax + 0x30]
Function at 0x1000a5a8
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edi, 0x1000e9b0
push edi
call fcn.10005a3d
test eax, eax
jl 0x1000acb6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
shl eax, 2
or eax, 3
mov dword [ecx], eax
lea eax, [ebp + 0xc]

Function at 0x1000a744
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1000a747
push dword [ebp + 8]
call dword [0x1000e138]
call fcn.10009a15
xor eax, eax
inc eax
pop ebp
nop
nop
nop
nop
nop
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1000eb2f]

Function at 0x1000acc4
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
inc word [edi + 0x28]
cmp ax, 8
jne 0x1000ad2e
cmp word [edi + 0x28], cx
jle 0x10007e49
mov eax, dword [esi + 4]
mov bx, word [eax + 0x32]
mov dx, word [edi + 0x10]
mov word [eax + 0x32], dx
xor eax, eax
mov ax, word [esi + 0x3c]
push ecx
Function at 0x1000aeeb
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
call dword [0x1000e1a4]
mov esi, dword [ebp + 0x10]

Function at 0x1000b05e
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov dx, word [ebp - 0x10]
add ecx, 4
cmp dx, word [esi + 4]
Function at 0x1000b54f
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x10], eax
jle 0x1000b522
mov ecx, dword [ebp - 8]
xor eax, eax
mov al, byte [ecx]
push eax
push dword [ebp + 0x1c]
call fcn.1000c12d
mov edx, dword [ebp - 0x38]
mov word [edi], ax
mov eax, dword [ebp - 8]
movzx cx, byte [eax + 1]
inc edi
inc edi
cmp word [edx], cx
mov ecx, dword [ebp - 0x14]
jne 0x1000b5d7
inc word [ecx]
add ecx, 4
mov word [ecx], 1
movzx dx, byte [eax + 1]
mov dword [ebp - 0x14], ecx
inc dword [ebp - 0xc]
Function at 0x1000b65f
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov ebx, dword [ebp - 0x848]
and dword [ebp - 0x818], 0
cmp dword [ebp - 0x818], 0
jne 0x1000b6aa
mov ebx, 0x1000e4a4
push dword [ebp - 0x80c]
call fcn.10007db4
push dword [ebp - 0x81c]
mov esi, eax
call fcn.10004c33
add esi, dword [ebp - 0x818]
pop ecx
lea esi, [eax + esi + 4]
cmp esi, 0x1000e897

Function at 0x1000b706
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
pop ecx
ja 0x1000b723
lea eax, [esi + esi]
push eax
push 0x40
call dword [0x1000e1c8]
nop
nop
nop
nop
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
test eax, eax
jne 0x1000b6a3
mov ebx, 0x1000ea58
push esi
push edi
push dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
lea esi, [eax - 1]
push esi
push edi
Function at 0x1000ba46
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0x88], 0xfffffffa
jne 0x1000ba8b
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [esi + 0x28]
call fcn.10006fc2

Function at 0x1000bada
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
cmp cx, bx
jle 0x1000baba
mov word [ebp + 0xc], cx
mov edi, dword [ebp + 0x20]
cmp esi, edi
mov eax, dword [ebp + 0xc]
jne 0x1000bb35

Function at 0x1000bba7
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x18]
push ecx
push dword [eax + 0x30]
Function at 0x1000c075
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
and dword [ebp - 0xc4], ebx
push ebx
call fcn.10004377
and dword [ebp - 0x90], esi
mov ecx, dword [ebp - 0xa0]
and eax, edx
pop dword [ecx]
cmp dword [ebp - 0x80], 1
je 0x1000c0bb
nop

Function at 0x1000c097
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
and dword [ebp - 0xc4], ebx
push ebx
call fcn.10004377
and dword [ebp - 0x90], esi
mov ecx, dword [ebp - 0xa0]
and eax, edx
pop dword [ecx]
cmp dword [ebp - 0x80], 1
je 0x1000c0bb
nop

Function at 0x1000c2af
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push eax
push ebx
call fcn.1000acc4
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1000c271
movsx ecx, di
sub esi, ecx
movsx ecx, word [ebx + 0x24]
imul esi, ecx
movsx ecx, word [ebp + 0x10]
sub esi, ecx
movsx ecx, word [ebp - 4]
lea ecx, [esi + ecx + 1]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
xor eax, eax
pop esi
pop ebx
pop edi
Function at 0x1000c5bd
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
and dword [ebp - 0xc8], esi
sub dword [ebp - 0xa0], 4
xor ecx, eax
mov edx, dword [ebp - 0xa0]
or dword [ebp - 0x9c], edx
pop dword [edx]
push dword [ebp - 0x70]
call fcn.1000453a
sub ebx, dword [ebp - 0xc4]
or ecx, ebx
mov eax, dword [ebp - 0xa0]
lea esi, [ebp - 0x70]
cmp dword [ebp - 0x88], 0x10000002
jne 0x1000c642

Function at 0x1000c773
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp ax, di
mov esi, dword [ebp - 0x68]
shr esi, 1
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x80], 1
je 0x1000c7a2
call dword [0x1000e108]
mov dword [ebp - 0x34], eax
cmp eax, ebx
jne 0x1000c7ca
mov esi, 0x1000e5a8
mov ecx, dword [ebp - 0x4c]
push dword [ecx]
push eax
push dword [ebp - 0x38]
call dword [0x1000e0d0]
mov esi, eax
cmp esi, ebx
jl 0x10004aa4
lea eax, [ebp - 0x40]
push eax
sub dword [ebp - 0x98], 1
jne 0x1000c764
cmp dword [ebp - 0x80], 0x7c
jne 0x1000c7c8
pop esi
pop ebp
nop
nop
nop
nop
nop
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
mov edx, ebx
mov byte [ebp - 0x90], 0x21
lea eax, [ebp - 0x98]
push eax
call fcn.100045ea
xor ecx, dword [ebp - 0xb8]
add ecx, 0x3fec
mov edi, dword [ebp - 0x70]
add dword [ebp - 0xc8], eax
mov dword [ebp - 0xa0], edi
cmp dword [ebp - 0x88], 0
je 0x1000c83c

Function at 0x1000c853
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
and word [ebp - 0x20], 0
dec ax
mov ax, word [ebp + 0x10]
mov word [ebp - 0x20], ax
mov ax, word [ebp - 4]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.10005ee8
mov eax, dword [ebp + 0x1c]

Function at 0x1000c88a
Capabilities:
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp word [ebp + 8], ax
jne 0x1000c8a2
and dword [ebp + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x18]
cmp ecx, dword [edx]
jae 0x1000c879
Function at 0x4015bb
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x4015e5
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x433e90]
inc edi
sub esi, 1
jne 0x4015cd
pop edi
mov eax, edx
pop esi
ret 0xc

Function at 0x401e10
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1050
call fcn.00413b10
push ebx
mov ebx, dword [esp + 0x105c]
push ebp
push edi
mov edi, ecx
and dword [edi + 0x1034], 0
cmp byte [edi + 0x30], 0
jne 0x401e3c
test bl, 4
jne 0x401e3c
xor al, al
jmp 0x401e3e
mov al, 1
push esi
mov esi, ebx
shr esi, 1
not esi
and esi, 1
inc esi
shl esi, 0x1e
test bl, 1
je 0x401e57
or esi, 0x40000000
shr ebx, 3
not ebx
and ebx, 1
test al, al
je 0x401e66
or ebx, 2
lea ecx, [esp + 0x18]
call fcn.00401ab2
cmp byte [edi + 0x24], 0
je 0x401e7b
or esi, 0x100
push 0
push 0x8000000
push 3
push 0
push ebx
push esi
push dword [esp + 0x107c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x401eeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push 0x800
push eax
push dword [esp + 0x106c]
call fcn.00403543
test al, al
je 0x401ef8
push 0
push 0x8000000
push 3
push 0
push ebx
push esi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x401ef3
mov dword [esp + 0x10], eax
jmp 0x401ef3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
cmp ebp, 0xffffffff
jne 0x401f09
cmp dword [esp + 0x10], 2
jne 0x401f09
mov dword [edi + 0x1034], 1
cmp byte [edi + 0x24], 0
pop esi
je 0x401f2f
cmp ebp, 0xffffffff
je 0x401f2f
or dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
or dword [esp + 0x10], 0xffffffff
push 0
push eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
xor eax, eax
cmp ebp, 0xffffffff
mov byte [edi + 0x1c], al
mov dword [edi + 0x10], eax
setne bl
mov byte [edi + 0x14], al
je 0x401f5e
push 0x800
push dword [esp + 0x1064]
lea ecx, [edi + 0x32]
mov dword [edi + 8], ebp
push ecx
call fcn.004068bd
mov byte [edi + 0x25], 0
pop edi
pop ebp
mov al, bl
pop ebx
add esp, 0x1050
ret 8
Function at 0x40ed00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47558b
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.0046807c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ed82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00465afa
mov eax, dword [eax]
push 0x5b91d8
push eax
call fcn.004586b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00468307
test bl, bl
je 0x40ed82
push 0x5b91d8
lea ecx, [esp + 0xc]
call fcn.004686e3
push 0x5bcd54
lea ecx, [esp + 0xc]
call fcn.004686e3
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 0x40edbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00468307
jmp 0x40ee89
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 0x40ee42
lea edx, [esp + 0x7c]
push 0x5bcd50
push edx
call fcn.004586b4
add esp, 8
test eax, eax
je 0x40ee42
lea eax, [esp + 0x7c]
push 0x5bcd4c
push eax
call fcn.004586b4
add esp, 8
test eax, eax
je 0x40ee42
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 0x40edd2
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.00468307
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 0x40f680
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 0x40f6e2
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 0x40f6f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47560b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5c3cb0]
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 0x40f828
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40f756
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468307
xor eax, eax
jmp 0x40f89f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00468490
push esi
lea ecx, [esp + 0xc]
call fcn.0046871f
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 0x40f87d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0040f680
test eax, eax
jne 0x40f87d
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 SysReAllocStringLen
mov ecx, edi
call fcn.0040f680
test eax, eax
jne 0x40f87d
lea eax, [esp + 0x14]
push 0x5bcd68
push eax
call fcn.00459790
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f85c
lea ecx, [esp + 0x14]
push 0x5bcd64
push ecx
call fcn.00459710
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f85c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40f85f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00468440
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40f76e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468307
xor eax, eax
jmp 0x40f89f
mov byte [esi], 0
push 0x5bcd60
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.00468307
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 0x41ff70
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 0x41ffde
cmp si, 0x69
ja 0x41ffde
add esi, 0xffd0
cmp si, 0x11
je 0x41ffae
push 0x11
call edi
test ax, ax
jge 0x41ffae
or esi, 0x2000
cmp si, 0x10
je 0x41ffc3
push 0x10
call edi
test ax, ax
jge 0x41ffc3
or esi, 0x4000
cmp si, 0x12
je 0x41ffd8
push 0x12
call edi
test ax, ax
jge 0x41ffd8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41ffeb
mov esi, 0xbd
jmp 0x41ff9f
cmp si, 0x6e
jne 0x41fff8
mov esi, 0xbe
jmp 0x41ff9f
cmp si, 0x6f
jne 0x41ff99
mov esi, 0xbf
jmp 0x41ff9f

Function at 0x421720
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5d4a58]
xor edx, edx
cmp eax, edx
jne 0x421746
xor eax, eax
mov byte [eax + 0x5d4958], al
inc eax
cmp eax, 0x100
jl 0x42172e
mov dword [0x5d4a58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5d4958
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4217d7
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 0x4217aa
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 0x421778
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421850
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 0x4218a3
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 0x42188a
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
Function at 0x4282e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x428478
cmp ebp, ebx
jle 0x428478
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x42833e
dec eax
or eax, 0xfffffff8
inc eax
je 0x428345
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x428354
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42835b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00468048
add esp, 4
cmp eax, ebx
je 0x42837c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00468048
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42846e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x428455
mov al, byte [edx]
cmp al, 0xc0
jbe 0x428441
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x428436
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x428444
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x428444
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4283e0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4283d1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret