joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100019a0
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
call fcn.10001900
test eax, eax
jne 0x10001a9f
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
jne 0x10001a9f
movaps xmm0, xmmword [0x1004a700]
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x8363731
mov dword [ebp - 0x24], 0x3d3b372a
mov word [ebp - 0x20], 0x2b2b
mov byte [ebp - 0x1e], 0
mov cl, byte [ebp - 0x38]
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0x19
jb 0x10001a07
push ebx
mov byte [ebp - 0x1c], 0x4f
mov al, 0x21
xor al, byte [ebp - 0x1c]
mov bl, 0x23
mov ah, bl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1c]
mov dl, 0x2b
mov bh, ah
mov byte [ebp - 0xd], ah
xor bl, al
mov byte [ebp - 0x12], 0
xor ah, al
mov byte [ebp - 0x1e], 0
xor bh, al
mov byte [ebp - 0x17], ah
mov dh, dl
mov byte [ebp - 0x18], bl
xor dl, al
mov byte [ebp - 0x14], bh
xor dh, al
mov byte [ebp - 0x19], dl
mov cl, 0x3b
mov byte [ebp - 0x15], dh
xor cl, al
mov byte [ebp - 0x12], 0
mov ch, 0x61
mov byte [ebp - 0x1a], cl
xor ch, al
mov al, byte [ebp - 0xd]
xor al, byte [ebp - 0x1c]
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x37]
push eax
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x16], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x10001aa7
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x10001aa7
cmp dword [ebp - 0xc], 0
je 0x10001aa7
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x1004a620]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x342e0224
mov dword [ebp - 0x18], 0x3324352f
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10001ae5
mov byte [ebp - 0x14], 0
mov cl, 0x35
mov dword [ebp - 0x10], 0x47505e35
xor eax, eax
mov dword [ebp - 0xc], 0x659505b
mov dword [ebp - 8], 0x59511b07
mov word [ebp - 4], 0x59
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001b24
mov cl, byte [ebp - 0x10]
jmp 0x10001b15
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], 0
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000ee60
cmp al, 0xe9
jne 0x10001b50
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10001b60
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x55
mov dword [ebp - 0x10], 0x383c2155
mov dword [ebp - 0xc], 0x21301230
xor eax, eax
mov dword [ebp - 8], 0x30383c01
mov byte [ebp - 4], 0
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x10001b92
mov cl, byte [ebp - 0x10]
jmp 0x10001b83
mov byte [ebp - 4], 0
mov cl, 6
mov dword [ebp - 0x20], 0x74636d06
xor eax, eax
mov dword [ebp - 0x1c], 0x356a6368
mov dword [ebp - 0x18], 0x6a622834
mov word [ebp - 0x14], 0x6a
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001bc4
mov cl, byte [ebp - 0x20]
jmp 0x10001bb5
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000ee60
cmp al, 0xe9
jne 0x10001bf0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10001c00
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0xf
mov dword [ebp - 0x10], 0x7b6a480f
mov dword [ebp - 0xc], 0x646c665b
xor eax, eax
mov dword [ebp - 8], 0x617a604c
mov word [ebp - 4], 0x7b
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001c34
mov cl, byte [ebp - 0x10]
jmp 0x10001c25
mov byte [ebp - 3], 0
mov cl, 0xa
mov dword [ebp - 0x20], 0x786f610a
xor eax, eax
mov dword [ebp - 0x1c], 0x39666f64
mov dword [ebp - 0x18], 0x666e2438
mov word [ebp - 0x14], 0x66
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001c66
mov cl, byte [ebp - 0x20]
jmp 0x10001c57
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000ee60
cmp al, 0xe9
jne 0x10001c92
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
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 [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.ie_f_b]
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, 0x42
mov dword [ebp - 0x18], 0x10070942
xor eax, eax
mov dword [ebp - 0x14], 0x710e070c
mov dword [ebp - 0x10], 0x2e266c70
mov word [ebp - 0xc], 0x2e
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.1003fc80
mov esp, ebp
pop ebp
ret
Function at 0x10001d50
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1004c0a8
push 0x10040b47
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x10051018]
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 0x10001de9
xor al, al
jmp 0x10001e72
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 0x10001e14
xor al, al
jmp 0x10001e72
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001e5f
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.1003fc80
mov esp, ebp
pop ebp
ret

Function at 0x100038f0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10008150
call fcn.10008230
call fcn.100133c0
mov dword [0x10053018], eax
test eax, eax
je 0x1000391f
call fcn.100135b0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10003500
push 0
push 0
mov dword [0x10052f18], eax
mov dword [0x10052f1c], edx
mov dword [0x10052f28], eax
mov dword [0x10052f2c], edx
call esi
mov ebx, eax
test ebx, ebx
jne 0x10003960
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0
push 0
push 0x100037a0
push 0
push 0
call esi
mov edi, eax
test edi, edi
jne 0x1000397f
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ebx
call esi
push 0xffffffffffffffff
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008150
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
push edi
test eax, eax
jne 0x1000816e
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 0x10008211
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 0x10008211
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 0x10008211
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 0x10008211
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, str.SeDebugPrivilege
call fcn.100080e0
add esp, 4
test al, al
je 0x10008211
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.1003fc80
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1003fc80
mov esp, ebp
pop ebp
ret

Function at 0x10008230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10051018]
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 0x1000829e
movaps xmm0, xmmword [0x1004a6b0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x2a
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x10008270
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 0x100082ae
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003fc80
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 0x10008298
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret
Function at 0x10008f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041a46
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
push 0
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 0x17
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x16f], 0
mov dword [ebp - 0x12c], 0xf
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x140], 0
call fcn.10004510
mov dword [ebp - 4], 0
test edi, edi
jne 0x10008fbf
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.10003aa0
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x10009145
inc ecx
push ecx
jmp 0x1000913a
movaps xmm0, xmmword [0x1004a7b0]
xor ecx, ecx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x3c34743c
mov dword [ebp - 0x178], 0x513c397d
mov dword [ebp - 0x174], 0x543c23
nop dword [eax]
mov al, byte [ebp - 0x18c]
xor byte [ebp + ecx - 0x18b], al
inc ecx
cmp ecx, 0x1a
jb 0x10008ff0
cmp byte [ebp - 0x18b], 0
mov byte [ebp - 0x171], 0
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
jne 0x10009032
xor ecx, ecx
jmp 0x10009049
lea ecx, [ebp - 0x18b]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009040
sub ecx, edx
push ecx
lea eax, [ebp - 0x18b]
push eax
lea ecx, [ebp - 0x128]
call fcn.10004510
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x148], edi
push eax
mov dword [ebp - 0x144], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x18
cmp byte [ebp - 0x110], 0
jne 0x100090c2
xor ecx, ecx
jmp 0x100090d9
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100090d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x140]
call fcn.10004510
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.10003aa0
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x10009112
inc eax
push eax
push dword [ebp - 0x128]
call fcn.10004c80
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
cmp eax, 0x10
jb 0x10009145
inc eax
push eax
push dword [ebp - 0x140]
call fcn.10004c80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret
Function at 0x1000bfd0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10051018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x1000c01a
mov dword [edi], 0
mov eax, edi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
jg 0x1000c02a
jl 0x1000bff9
cmp dword [esp + 0x18], 0
jbe 0x1000bff9
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
xor esi, esi
call ebx
test eax, eax
jne 0x1000c051
nop dword [eax]
inc esi
cmp esi, 3
ja 0x1000bff9
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x1000c040
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.10040b20
mulsd xmm0, qword [0x1004a248]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
call fcn.10040b20
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.100409cf
mov ecx, dword [esp + 0x24]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret

Function at 0x1000c3e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000c43c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp - 0x128], edi
je 0x1000c456
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x1000c426
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003fc80
mov esp, ebp
pop ebp
ret

Function at 0x1000c5a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x1005107c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x1005107c], edx
inc eax
cmp eax, 0x270
jl 0x1000c5b1
mov dword [0x10051078], 0x270
pop ebp
ret 8
Function at 0x1000c6d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x1000c6e0
pop esi
ret

Function at 0x1000c720
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x1000c730
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x1000c772
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x1000d2e0
Capabilities:
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, 0x44
movaps xmm0, xmmword [0x1004aba0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x1004aca0]
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [str.eVtipobctp7_6]
movups xmmword [ebp - 0x14], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000d310
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x10052f74
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000d3fc
push 0x10052f70
push 0
push 0
push 0x8004
push dword [0x10052f74]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000d3fc
movaps xmm0, xmmword [0x1004a610]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x3d653334
movaps xmm0, xmmword [0x1004ab60]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x37612715
movaps xmm0, xmmword [0x1004ad80]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x74252f00
mov word [ebp - 4], 0x28
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000d3a0
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x10052f70]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000d3fc
push 0x10052f6c
push 0x800000
push dword [0x10052f70]
push 0x6801
push dword [0x10052f74]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000d3fc
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10052f68], eax
call fcn.1003e8d0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003eda0
push 0x1000d1c0
push 0x10052f64
call fcn.1003e5e0
call fcn.1003e930
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000d46a
mov dword [0x10052f64], 0x60f6e0
call fcn.1003e8d0
call esi
push eax
call fcn.1003eda0
push 0x1000d1c0
push 0x10052f64
call fcn.1003e150
call fcn.1003e930
call fcn.1003e8d0
call esi
push eax
call fcn.1003eda0
push 0x1000d1f0
push 0x10052f60
call fcn.1003e5e0
call fcn.1003e930
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000d4c7
mov dword [0x10052f60], 0x60eab0
call fcn.1003e8d0
call esi
push eax
call fcn.1003eda0
push 0x1000d1f0
push 0x10052f60
call fcn.1003e150
call fcn.1003e930
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100109d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x6d12c0
call fcn.1000ee60
cmp al, 0xe9
jne 0x100109f6
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x6d12c0
call esi
test eax, eax
jne 0x10010a39
mov dword [0x10052f90], 0x6d12c0
call fcn.1003e8d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003eda0
push 0x1000f7a0
push 0x10052f90
call fcn.1003e150
call fcn.1003e930
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x6d141e
push eax
call esi
test eax, eax
jne 0x10010a7d
push 4
push 0x1000f740
call esi
test eax, eax
jne 0x10010a7d
call fcn.1003e8d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003eda0
push 0x1000f740
lea eax, [ebp - 8]
push eax
call fcn.1003e150
call fcn.1003e930
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003fc80
mov esp, ebp
pop ebp
ret

Function at 0x10010c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10051018]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [0x1004a800]
xor ecx, ecx
mov eax, dword [0x10052ff8]
push ebx
push esi
push edi
mov edi, dword [0x10052ff4]
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], eax
movups xmmword [esp + 0x10], xmm0
mov byte [esp + 0x20], 0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x10010c40
sub esp, 0x18
mov byte [esp + 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x29], 0
jne 0x10010c74
xor ecx, ecx
jmp 0x10010c89
lea ecx, [esp + 0x29]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010c80
sub ecx, esi
push ecx
lea eax, [esp + 0x2d]
mov ecx, edx
push eax
call fcn.10004510
lea ecx, [esp + 0x44]
call fcn.1003bce0
mov edx, dword [esp + 0x44]
add esp, 0x18
xor ebx, ebx
test edi, edi
mov edi, dword [esp + 0x40]
jle 0x10010cee
cmp edi, 0x10
lea ecx, [esp + 0x2c]
cmovae ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010cc0
sub ecx, esi
mov eax, ebx
cmp edi, 0x10
lea esi, [esp + 0x2c]
cmovae esi, edx
xor edx, edx
div ecx
mov ecx, dword [esp + 0x24]
mov al, byte [edx + esi]
xor byte [ecx + ebx], al
inc ebx
mov edx, dword [esp + 0x2c]
cmp ebx, dword [esp + 0xc]
jl 0x10010cb0
cmp edi, 0x10
jb 0x10010cfd
lea eax, [edi + 1]
push eax
push edx
call fcn.10004c80
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret