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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x43a9e8
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x43a9e8], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405960
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405a7a
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x7a
mov byte [ebp - 6], 0x7e
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x62
mov byte [ebp - 2], 0x7b
mov byte [ebp - 1], 0x12
mov byte [ebp - 0x10], 0x41
mov byte [ebp - 0xf], 0x66
mov byte [ebp - 0xe], 0x60
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], 0x66
mov byte [ebp - 0xb], 0x60
mov byte [ebp - 0xa], 0x53
mov byte [ebp - 9], 0x12
xor eax, eax
xor byte [ebp + eax - 8], 0x12
inc eax
cmp eax, 8
jb 0x405ac2
cmp dword [0x43f770], 0
jne 0x405b0f
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x405af2
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x405b0f
xor ecx, ecx
xor byte [ebp + ecx - 0x10], 0x12
inc ecx
cmp ecx, 8
jb 0x405af4
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f770], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x43f770]
leave
ret 8

Function at 0x405b1f
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x7a
mov byte [ebp - 6], 0x7e
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x62
mov byte [ebp - 2], 0x7b
mov byte [ebp - 1], 0x12
mov byte [ebp - 0x14], 0x41
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x60
mov byte [ebp - 0x11], 0x41
mov byte [ebp - 0x10], 0x66
mov byte [ebp - 0xf], 0x60
mov byte [ebp - 0xe], 0x5b
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x12
xor eax, eax
xor byte [ebp + eax - 8], 0x12
inc eax
cmp eax, 8
jb 0x405b6b
cmp dword [0x43f774], 0
jne 0x405bb8
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x405b9b
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x405bb8
xor ecx, ecx
xor byte [ebp + ecx - 0x14], 0x12
inc ecx
cmp ecx, 9
jb 0x405b9d
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43f774], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x43f774]
leave
ret 8

Function at 0x405be8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405c05
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4
Function at 0x405c08
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
inc ecx
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405c37
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405c7b
test edi, edi
jne 0x405c42
mov byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405c75

Function at 0x405c7f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push ebx
push dword [ebp + 0xc]
mov byte [esi], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405cf0
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x2000
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405cdf
cmp dword [ebp + 0x14], 1
je 0x405ce1
cmp dword [ebp + 0x14], 2
je 0x405ce1
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x1fff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x405e55
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x405e7a
mov eax, dword [0x40a058]
cmp eax, 0xffffffff
je 0x405e71
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a058], 0xffffffff
jmp 0x405eef
cmp dword [0x43fb78], ebx
je 0x405eef
cmp byte [0x444380], bl
je 0x405eb9
cmp dword [0x40a058], 0xffffffff
jne 0x405ec2
push 4
push 0x40000000
push 0x444380
call fcn.00405c08
cmp eax, 0xffffffff
mov dword [0x40a058], eax
je 0x405eef
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a058], 0xffffffff
je 0x405eef
push esi
push 0x408c14
mov esi, 0x43fb80
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea ecx, [ebp + 8]
push ecx
push eax
push esi
push dword [0x40a058]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4
Function at 0x406098
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push esi
push edi
mov byte [ebp - 0x10], 0x5b
mov byte [ebp - 0xf], 0x62
mov byte [ebp - 0xe], 0x5a
mov byte [ebp - 0xd], 0x7e
mov byte [ebp - 0xc], 0x62
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x62
mov byte [ebp - 9], 0x7b
mov byte [ebp - 8], 0x12
mov byte [ebp - 0x28], 0x55
mov byte [ebp - 0x27], 0x77
mov byte [ebp - 0x26], 0x66
mov byte [ebp - 0x25], 0x53
mov byte [ebp - 0x24], 0x76
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x62
mov byte [ebp - 0x21], 0x66
mov byte [ebp - 0x20], 0x77
mov byte [ebp - 0x1f], 0x60
mov byte [ebp - 0x1e], 0x61
mov byte [ebp - 0x1d], 0x53
mov byte [ebp - 0x1c], 0x76
mov byte [ebp - 0x1b], 0x76
mov byte [ebp - 0x1a], 0x60
mov byte [ebp - 0x19], 0x77
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x77
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x12
mov dword [ebp - 4], ebx
xor eax, eax
xor byte [ebp + eax - 0x10], 0x12
inc eax
cmp eax, 9
jb 0x406120
xor eax, eax
xor byte [ebp + eax - 0x28], 0x12
inc eax
cmp eax, 0x15
jb 0x40612d
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x406154
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x4061c7
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4061c7
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0xf
push 2
call esi
cmp eax, 0x6f
jne 0x4061c7
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 0xf
push 2
call esi
test eax, eax
jne 0x4061c0
mov ecx, edi
lea eax, [ecx + 0x2c]
cmp eax, ebx
je 0x4061b9
cmp byte [eax], bl
jne 0x4061b9
mov dl, byte [eax + 1]
cmp dl, 5
jne 0x4061ae
cmp byte [eax + 2], 0x69
je 0x4061ce
cmp dl, 0xc
jne 0x4061b9
cmp byte [eax + 2], 0x29
je 0x4061ce
mov ecx, dword [ecx + 8]
cmp ecx, ebx
jne 0x406195
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
inc eax
jmp 0x4061c9

Function at 0x40622e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x43aa30
push esi
call fcn.00405d98
push esi
call fcn.00405a2d
mov edi, eax
test edi, edi
jne 0x40624f
xor eax, eax
jmp 0x4062a7
push edi
call fcn.00405dba
test byte [0x448848], 0x80
je 0x406268
mov al, byte [edi]
test al, al
je 0x40624b
cmp al, 0x5c
je 0x40624b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, esi
jmp 0x406288
push esi
call fcn.00406007
test eax, eax
je 0x406282
test byte [eax], 0x10
je 0x4062ac
push esi
call fcn.00406207
push esi
call ebx
cmp eax, edi
jg 0x406273
push esi
call fcn.004061da
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x4062a6
Function at 0x40655c
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.0040602e
test eax, eax
mov esi, dword [esp + 0x18]
je 0x406580
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x4066b9
test esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x43ca30], 0x4c554e
mov edi, 0x400
mov ebp, 0x43ca30
je 0x4065c4
push 1
push 0
push esi
call fcn.00405c08
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4066bf
cmp eax, edi
jg 0x4066bf
push edi
mov esi, 0x43d370
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4066bf
cmp eax, edi
jg 0x4066bf
push esi
push ebp
push str._s_s_r_n
push 0x43ce30
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x4487ec]
push dword [eax + 0x128]
push esi
call fcn.00406306
push 4
push 0xc0000000
push esi
call fcn.00405c08
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x4066b9
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4066b2
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4066b2
cmp edi, dword [esp + 0x18]
jne 0x4066b2
push str._Rename__r_n
push esi
call fcn.004062b0
test eax, eax
jne 0x4066c6
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call fcn.00405d98
add edi, 0xa
mov eax, edi
push ebx
push 0x43ce30
add eax, esi
push eax
call fcn.00405bc8
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
push eax
add edi, ebx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x4488b0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0x408cc0
add eax, 0xa
push eax
call fcn.004062b0
test eax, eax
je 0x40667d
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x4066ed
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x4066e2
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x40667f
Function at 0x406919
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43f77c], 0
push esi
jne 0x406950
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40692a
mov dword [ecx*4 + 0x43f778], eax
inc ecx
cmp ecx, 0x100
jl 0x406925
mov esi, dword [esp + 0x10]
test esi, esi
mov eax, dword [esp + 8]
not eax
jbe 0x40697c
mov ecx, dword [esp + 0xc]
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x43f778]
inc ecx
dec esi
jne 0x406962
not eax
pop esi
ret 0xc
Function at 0x10005890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10075890
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.10068db5
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10006500
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x100058e4
jmp dword [ecx*4 + 0x10005a4c]
mov al, byte [esi]
test al, al
je 0x10005912
cmp al, 0x20
je 0x100058fe
cmp al, 0xa1
jne 0x10005912
cmp byte [esi + 1], al
jne 0x10005912
test al, 0x80
je 0x1000590a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10005912
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100058f1
test ecx, ecx
je case.default.0x100058e4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x100058e4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10005958
cmp dl, 0xa1
jne 0x1000594c
cmp byte [eax + 1], 0xa1
jne 0x1000594c
test ecx, ecx
jne 0x10005944
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1000596c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10005986
jmp 0x1000596c
cmp dl, 0x20
jne 0x1000596a
test ecx, ecx
jne 0x10005963
mov edi, eax
mov ecx, 1
jmp 0x1000596c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1000592c
cmp ecx, 1
jne case.default.0x100058e4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x100058e4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x100058e4
mov al, byte [esi]
test al, al
je 0x100059de
test al, 0x80
mov byte [esp + 0x3c], al
je 0x100059c4
mov cl, byte [esi + 1]
test cl, cl
je 0x100059de
cmp al, 0xa1
jne 0x100059b4
cmp cl, al
je 0x100059c1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10006790
inc esi
jmp 0x100059d6
cmp al, 0x20
je 0x100059d6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.100067d0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1000599d
push 0
lea ecx, [esp + 0x14]
call fcn.100067d0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10011540
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10005a11
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1007d660
call fcn.10006700
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10068d47
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1000b3a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10075d7b
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.10068abc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1000b422
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100663da
mov eax, dword [eax]
push 0x10091200
push eax
call fcn.10058f64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10068d47
test bl, bl
je 0x1000b422
push 0x10091200
lea ecx, [esp + 0xc]
call fcn.10069123
push 0x10094d48
lea ecx, [esp + 0xc]
call fcn.10069123
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 0x1000b45e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10068d47
jmp 0x1000b529
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 0x1000b4e2
lea edx, [esp + 0x7c]
push 0x10094d44
push edx
call fcn.10058f64
add esp, 8
test eax, eax
je 0x1000b4e2
lea eax, [esp + 0x7c]
push 0x10094d40
push eax
call fcn.10058f64
add esp, 8
test eax, eax
je 0x1000b4e2
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 0x1000b472
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.10068d47
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 0x1000bd20
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 0x1000bd82
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 0x1000bd90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10075dfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1009bd48]
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 0x1000bec8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1000bdf6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10068d47
xor eax, eax
jmp 0x1000bf3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10068ed0
push esi
lea ecx, [esp + 0xc]
call fcn.1006915f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x10094d80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1000bf1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.1000bd20
test eax, eax
jne 0x1000bf1d
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.1000bd20
test eax, eax
jne 0x1000bf1d
lea eax, [esp + 0x14]
push 0x10094d5c
push eax
call fcn.1005a040
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000befc
lea ecx, [esp + 0x14]
push 0x10094d58
push ecx
call fcn.10059fc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000befc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1000beff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.10068e80
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1000be0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10068d47
xor eax, eax
jmp 0x1000bf3f
mov byte [esi], 0
push 0x10094d54
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.10068d47
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 0x1001cff0
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 0x1001d05e
cmp si, 0x69
ja 0x1001d05e
add esi, 0xffd0
cmp si, 0x11
je 0x1001d02e
push 0x11
call edi
test ax, ax
jge 0x1001d02e
or esi, 0x2000
cmp si, 0x10
je 0x1001d043
push 0x10
call edi
test ax, ax
jge 0x1001d043
or esi, 0x4000
cmp si, 0x12
je 0x1001d058
push 0x12
call edi
test ax, ax
jge 0x1001d058
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1001d06b
mov esi, 0xbd
jmp 0x1001d01f
cmp si, 0x6e
jne 0x1001d078
mov esi, 0xbe
jmp 0x1001d01f
cmp si, 0x6f
jne 0x1001d019
mov esi, 0xbf
jmp 0x1001d01f

Function at 0x1001e760
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100acac0]
xor edx, edx
cmp eax, edx
jne 0x1001e786
xor eax, eax
mov byte [eax + 0x100ac9c0], al
inc eax
cmp eax, 0x100
jl 0x1001e76e
mov dword [0x100acac0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100ac9c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1001e817
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 0x1001e7ea
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 0x1001e7b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1001e890
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 0x1001e8e3
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 0x1001e8ca
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