joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100117d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10018014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x10014020]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x48527e58
mov dword [ebp - 0x28], 0x4f584953
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x17
jb 0x100016b4
mov byte [ebp - 0x24], 0
mov cl, 0x68
mov dword [ebp - 0x1c], 0x1a0d0368
xor eax, eax
mov dword [ebp - 0x18], 0x5b040d06
mov dword [ebp - 0x14], 0x40c465a
mov word [ebp - 0x10], 4
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x100016f3
mov cl, byte [ebp - 0x1c]
jmp 0x100016e4
lea eax, [ebp - 0x3b]
mov byte [ebp - 0xf], 0
push eax
lea eax, [ebp - 0x1b]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000a390
cmp al, 0xe9
jne 0x1000179a
movaps xmm0, xmmword [0x10013ed0]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x3e
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x10
jb 0x10001730
cmp byte [ebp - 0x1f], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x1000175d
xor ecx, ecx
jmp 0x1000176c
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001763
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002760
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.1000a610
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1000179a
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.10002660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100017b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011808
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10018014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x19
mov dword [ebp - 0x1c], 0x74706d19
mov dword [ebp - 0x18], 0x6d7c5e7c
xor eax, eax
mov dword [ebp - 0x14], 0x7c74704d
mov byte [ebp - 0x10], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xb
jae 0x10001801
mov cl, byte [ebp - 0x1c]
jmp 0x100017f2
mov byte [ebp - 0x10], 0
mov cl, 0x20
mov dword [ebp - 0x34], 0x52454b20
xor eax, eax
mov dword [ebp - 0x30], 0x134c454e
mov dword [ebp - 0x2c], 0x4c440e12
mov word [ebp - 0x28], 0x4c
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0xc
jae 0x10001833
mov cl, byte [ebp - 0x34]
jmp 0x10001824
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x33]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000a390
cmp al, 0xe9
jne 0x100018da
movaps xmm0, xmmword [0x10013f50]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x37
nop
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x10
jb 0x10001870
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
jne 0x1000189d
xor ecx, ecx
jmp 0x100018ac
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100018a3
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x24]
call fcn.10002760
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.1000a610
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x100018da
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10002660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100018f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011838
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
mov eax, dword [0x10018014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x54
mov dword [ebp - 0x20], 0x20311354
mov dword [ebp - 0x1c], 0x3f373d00
xor eax, eax
mov dword [ebp - 0x18], 0x3a213b17
mov word [ebp - 0x14], 0x20
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001944
mov cl, byte [ebp - 0x20]
jmp 0x10001935
mov byte [ebp - 0x13], 0
mov cl, 0x17
mov dword [ebp - 0x30], 0x65727c17
xor eax, eax
mov dword [ebp - 0x2c], 0x247b7279
mov dword [ebp - 0x28], 0x7b733925
mov word [ebp - 0x24], 0x7b
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 0xc
jae 0x10001976
mov cl, byte [ebp - 0x30]
jmp 0x10001967
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x2f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000a390
cmp al, 0xe9
jne 0x10001a57
mov bh, 0x2a
mov byte [ebp - 0xd], 0xa
mov byte [ebp - 0xe], bh
mov al, 0x37
mov bh, byte [ebp - 0xd]
mov cl, 0x3d
mov byte [ebp - 0x20], 0x5e
mov dl, 0x35
xor bh, byte [ebp - 0x20]
mov bl, 0x1d
xor al, byte [ebp - 0x20]
mov ah, 0x31
mov byte [ebp - 0xd], bh
mov ch, 0x2b
mov byte [ebp - 0x1f], bh
mov dh, 0x30
mov bh, byte [ebp - 0xe]
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x20]
xor cl, al
mov byte [ebp - 0x16], 0
xor dl, al
mov byte [ebp - 0x1d], cl
xor bl, al
mov byte [ebp - 0x1c], dl
xor ah, al
mov byte [ebp - 0x1b], bl
xor ch, al
mov byte [ebp - 0x1a], ah
xor dh, al
mov byte [ebp - 0x19], ch
xor bh, al
mov byte [ebp - 0x18], dh
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x17], bh
mov byte [ebp - 0x16], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jne 0x10001a18
xor ecx, ecx
jmp 0x10001a29
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001a20
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x38]
call fcn.10002760
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.1000a610
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x10001a57
inc eax
push eax
push dword [ebp - 0x38]
call fcn.10002660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10018014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10013d20]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x10001cc0
mov byte [ebp - 0x19], 0
mov cl, 0x5d
mov dword [ebp - 0x18], 0xf18165d
xor eax, eax
mov dword [ebp - 0x14], 0x6e111813
mov dword [ebp - 0x10], 0x3139736f
mov word [ebp - 0xc], 0x31
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001cff
mov cl, byte [ebp - 0x18]
jmp 0x10001cf0
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], 0
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.1000e535
mov esp, ebp
pop ebp
ret

Function at 0x10001d60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
ret

Function at 0x10001d70
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10015518
push 0x1000ef91
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x10018014]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001e09
xor al, al
jmp 0x10001e92
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001e34
xor al, al
jmp 0x10001e92
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001e7f
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000e535
mov esp, ebp
pop ebp
ret
Function at 0x10002950
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movaps xmm0, xmmword [0x10013d70]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0xc063f04
mov dword [ebp - 8], 0x1b09042b
mov word [ebp - 4], 0x1b
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x18
jb 0x10002977
push 0
lea eax, [ebp - 0x1b]
mov byte [ebp - 3], 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x100029af
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x100029c0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10018014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1000
push 0x40
mov dword [ebp - 8], 0x1000
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
push 0x250000
call dword [sym.imp.MPR.dll_WNetGetProviderNameA]
test eax, eax
jne 0x10002a57
movaps xmm0, xmmword [0x10013fc0]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x7b1d5958
mov dword [ebp - 0x10], 0x58595152
mov word [ebp - 0xc], 0x4e4f
mov byte [ebp - 0xa], al
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x19
jb 0x10002a20
lea eax, [ebp - 0x23]
mov byte [ebp - 0xa], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10002a57
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000e535
mov esp, ebp
pop ebp
ret
Function at 0x10003000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movaps xmm0, xmmword [0x10014010]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x4a5c065b
mov word [ebp - 4], 0x44
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x14
jb 0x10003020
lea eax, [ebp - 0x17]
mov byte [ebp - 3], 0
push eax
call fcn.10003500
cmp eax, 0xd73df878
je 0x10003047
xor al, al
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x10013dc0]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x2144e0b
mov word [ebp - 4], 0xc
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x14
jb 0x10003061
lea eax, [ebp - 0x17]
mov byte [ebp - 3], 0
push eax
call fcn.10003500
cmp eax, 0xd73df878
jne 0x10003041
movaps xmm0, xmmword [0x10013e80]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x24326823
mov word [ebp - 4], 0x2a
nop dword [eax]
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x14
jb 0x100030a0
lea eax, [ebp - 0x17]
mov byte [ebp - 3], 0
push eax
call fcn.10003500
cmp eax, 0xb212610
jne 0x10003041
movaps xmm0, xmmword [0x10013e20]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x2f2f0c34
mov dword [ebp - 8], 0x346e332b
mov word [ebp - 4], 0x2c22
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x19
jb 0x100030e6
lea eax, [ebp - 0x1b]
mov byte [ebp - 2], 0
push eax
call fcn.10003500
cmp eax, 0x6694b71f
jne 0x10003041
movaps xmm0, xmmword [str.1uPEP]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10003118
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10003500
cmp eax, 0xef7c0020
sete al
mov esp, ebp
pop ebp
ret
Function at 0x100033c0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x10019fe8
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x100033eb
bts eax, 7
shr ecx, 1
test cl, 1
je 0x100033f6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10003401
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000340c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10003417
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10003422
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000342d
bts eax, 1
test cl, 2
je 0x10003436
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x10019fe8], ebx
lea ecx, [edx + 1]
test bl, 1
je 0x100034d6
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x100034c7
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x10019fe8], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x100033e0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003500
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10018014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x100139ec
push eax
or ebx, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x10003547
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e535
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x10003590
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10019fe8]
sub edx, 1
jne 0x10003576
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x10003550
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.1000e535
mov esp, ebp
pop ebp
ret 4
Function at 0x10005900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011b28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10018014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10005a33
cmp byte [ebx + 0x3d], 0
je 0x10005a33
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10005959
xor al, al
jmp 0x10005a35
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10005510
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x100059c0
sub eax, 1
je 0x100059c4
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x10005a1c
xor bl, bl
jmp 0x10005a1e
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x100059fa
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x100059bc
cmp byte [ebx + 0x3d], 0
je 0x10005a1c
test edi, edi
lea edi, [ebx + 0x40]
jne 0x10005984
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.100055d0
jmp 0x1000597e
mov bl, 1
cmp esi, 0x10
jb 0x10005a2f
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x28]
call fcn.10002660
mov al, bl
jmp 0x10005a35
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000e535
mov esp, ebp
pop ebp
ret
Function at 0x100083b0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10018014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
push edi
test eax, eax
jne 0x100083ce
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x10008471
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10008471
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push str.SeSecurityPrivilege
push 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10008471
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10008471
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, str.SeDebugPrivilege
call fcn.10008340
add esp, 4
test al, al
je 0x10008471
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e535
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1000e535
mov esp, ebp
pop ebp
ret

Function at 0x10008490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10018014]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100084fe
movaps xmm0, xmmword [0x10013da0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0xd
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x100084d0
lea eax, [ebp - 0xc]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x33]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x1000850e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e535
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
push 0
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x20]
test eax, eax
je 0x100084f8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1000e535
mov esp, ebp
pop ebp
ret
Function at 0x10009940
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10018014]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100099a2
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
cmp dword [esp + 0x18], edi
je 0x100099c0
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x10009990
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.1000e535
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000e535
mov esp, ebp
pop ebp
ret
Function at 0x10009e90
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x1001a440
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10009f70
push 0x1001a43c
push 0
push 0
push 0x8004
push dword [0x1001a440]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10009f70
movaps xmm0, xmmword [0x10014030]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x71297f78
movaps xmm0, xmmword [0x10013e10]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x7b2d6b59
movaps xmm0, xmmword [0x10013eb0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x3869634c
mov word [ebp - 4], 0x64
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10009f14
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x1001a43c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10009f70
push 0x1001a438
push 0x800000
push dword [0x1001a43c]
push 0x6801
push dword [0x1001a440]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10009f70
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1001a434], eax
call fcn.1000d180
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1000d650
push 0x10009d00
push 0x1001a430
call fcn.1000ce90
call fcn.1000d1e0
push 4
push 0x450890
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009fdf
mov dword [0x1001a430], 0x450890
call fcn.1000d180
call esi
push eax
call fcn.1000d650
push 0x10009d00
push 0x1001a430
call fcn.1000ca00
call fcn.1000d1e0
call fcn.1000d180
call esi
push eax
call fcn.1000d650
push 0x10009da0
push 0x1001a42c
call fcn.1000ce90
call fcn.1000d1e0
push 4
push 0x4504c0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000a03c
mov dword [0x1001a42c], 0x4504c0
call fcn.1000d180
call esi
push eax
call fcn.1000d650
push 0x10009da0
push 0x1001a42c
call fcn.1000ca00
call fcn.1000d1e0
pop esi
mov esp, ebp
pop ebp
ret