joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5dbd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100dcdc0]
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
push 0
call fcn.10097024
add esp, 4
mov dword [ebp - 0x54], eax
mov edi, eax
mov ecx, edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], ecx
sub edi, 0xf53700
mov ebx, ecx
push eax
push 0x20119
push 0
push 0
push reloc.WS2_32.dll_bind
sbb ebx, 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000d1fa
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
push 0x10f
push eax
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x48], 4
call fcn.1002f510
add esp, 8
mov esi, eax
cmp dword [esi + 0x14], 7
mov dword [ebp - 4], 0
jbe 0x1000d19d
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push 0x195
push eax
call fcn.1002f510
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x1000d1b6
mov eax, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push esi
push eax
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.100076d0
lea ecx, [ebp - 0x40]
call fcn.100076d0
test esi, esi
jne 0x1000d1fa
mov ecx, dword [ebp - 0x44]
xor eax, eax
add ecx, dword [ebp - 0x54]
push esi
adc eax, dword [ebp - 0x58]
push 2
push eax
push ecx
call fcn.1008cad0
jmp 0x1000d1fe
mov eax, edi
mov edx, ebx
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.1008c543
mov esp, ebp
pop ebp
ret
Function at 0x100115e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
push ebx
push esi
push edi
mov ecx, dword [edx]
cmp word [ecx], ax
jne 0x1001163e
mov esi, dword [ecx + 0x3c]
add esi, ecx
cmp dword [esi], 0x4550
jne 0x1001163e
mov edx, dword [edx + 4]
mov edi, dword [esi + 0xa8]
sub edx, ecx
cmp edi, edx
ja 0x1001163e
mov ebx, dword [esi + 0xac]
lea eax, [ebx + edi]
cmp eax, edx
ja 0x1001163e
push ebx
lea eax, [ecx + edi]
push 0
push eax
call fcn.1008e310
add esp, 0xc
mov dword [esi + 0xac], 0
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x10011650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b640d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100dcdc0]
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 esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x10011692
xor al, al
jmp 0x10011729
push 0x100ba764
push ecx
lea eax, [ebp - 0x40]
xor bl, bl
push eax
call fcn.1000c0d0
push edi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.1000e810
add esp, 0x18
lea ecx, [ebp - 0x40]
call fcn.100076d0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001171f
mov edx, dword [esi]
lea eax, [ebp - 0x44]
mov ecx, dword [esi + 4]
push 0
push eax
sub ecx, edx
mov dword [ebp - 0x44], 0
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 4]
mov eax, 1
sub ecx, dword [esi]
cmp dword [ebp - 0x44], ecx
movzx ebx, bl
cmove ebx, eax
lea ecx, [ebp - 0x28]
call fcn.100076d0
mov al, bl
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.1008c543
mov esp, ebp
pop ebp
ret
Function at 0x10011750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b645b
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x100dcdc0]
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 esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x450], esi
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x1001179b
xor al, al
jmp 0x10011938
push 0x100ba764
push ecx
lea eax, [ebp - 0x440]
xor bl, bl
push eax
call fcn.1000c0d0
push edi
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
call fcn.1000e810
add esp, 0x18
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 2
call fcn.100076d0
cmp dword [ebp - 0x414], 7
lea eax, [ebp - 0x428]
push 0
cmova eax, dword [ebp - 0x428]
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, eax
mov dword [ebp - 0x448], edx
cmp edx, 0xffffffff
je 0x1001192b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
je 0x10011954
add ecx, dword [ecx + 0x3c]
mov eax, 0x8664
mov ebx, dword [ebp + 0x14]
cmp word [ecx + 4], ax
jne 0x10011849
cmp dword [ecx], 0x4550
jne 0x10011849
mov eax, dword [ecx + 0xac]
test eax, eax
je 0x10011849
add eax, ebx
mov dword [ecx + 0xac], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x444], 0
sub eax, ecx
je 0x10011954
push 0
lea edi, [ebp - 0x444]
push edi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.1008e310
add esp, 0xc
test ebx, ebx
je 0x10011911
mov eax, 0x400
nop word [eax + eax]
cmp ebx, 0x400
mov dword [ebp - 0x44c], 0
mov edi, ebx
push 0
cmova edi, eax
call fcn.10097024
push eax
call fcn.100970a3
add esp, 8
xor esi, esi
test edi, edi
je 0x100118e5
nop dword [eax + eax]
call fcn.10097082
and al, 0x7f
add al, 0x80
mov byte [ebp + esi - 0x410], al
inc esi
cmp esi, edi
jb 0x100118d0
push 0
lea eax, [ebp - 0x44c]
push eax
push edi
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x448]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 0x400
sub ebx, edi
jne 0x100118a0
mov esi, dword [ebp - 0x450]
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp dword [ebp - 0x444], eax
push dword [ebp - 0x448]
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x428]
call fcn.100076d0
mov al, bl
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.1008c543
mov esp, ebp
pop ebp
ret
call fcn.100119e0
int3
Function at 0x10012500
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6535
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100dcdc0]
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 edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [edi]
test eax, eax
je 0x10012663
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10012663
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push dword [ebp - 0x34]
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10012659
mov ecx, dword [esi + 0x3c]
add ecx, esi
je 0x10012659
movzx eax, word [ecx + 0x14]
xor ebx, ebx
add eax, 0x28
add eax, ecx
movzx ecx, word [ecx + 6]
test ecx, ecx
je 0x100125b4
mov ebx, dword [eax + 4]
lea eax, [eax + 0x28]
add ebx, dword [eax - 0x28]
sub ecx, 1
jne 0x100125a6
push esi
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
cmp byte [edi + 0x1c], 0
je 0x10012654
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1002f220
lea eax, [ebp - 0x28]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100130e0
add esp, 0x10
push ebx
sub esp, 0xc
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
je 0x1001263b
push eax
mov ecx, esi
call fcn.10002400
mov edi, dword [esi]
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
sub esi, eax
push esi
push eax
push edi
call fcn.1008dd90
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + edi]
mov edi, dword [ebp - 0x38]
add esp, 0xc
mov dword [ecx + 4], eax
mov ecx, edi
call fcn.10012ea0
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.100024b0
lea ecx, [ebp - 0x28]
call fcn.100013f0
lea eax, [esi + ebx]
jmp 0x10012666
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapFree]
or eax, 0xffffffff
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.1008c543
mov esp, ebp
pop ebp
ret
Function at 0x10013220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x1001325c
cmp dword [esi + 0x18], 0xf
lea eax, [esi + 4]
jbe 0x1001323b
mov eax, dword [eax]
push 0
push 0
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x100133d2
mov ecx, esi
call fcn.10012500
mov ecx, dword [esi]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jns 0x1001327d
cmp ecx, 0xffffffff
je 0x100133d2
push ecx
jmp 0x100133c6
mov byte [ebp - 1], 0
cmp ecx, 0xffffffff
je 0x100133be
push 0
push 0
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100133be
cmp dword [ebp - 8], 1
jne 0x100133be
mov eax, dword [ebp + 8]
inc ebx
mov cl, byte [ebp - 1]
lea edx, [eax + 4]
push edi
movzx edi, cl
mov byte [eax], cl
inc edi
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp + 8], ecx
sub ecx, eax
sar ecx, 2
mov byte [ebp - 2], 0
mov dword [ebp - 0xc], edx
cmp edi, ecx
jae 0x100132f4
lea eax, [eax + edi*4]
mov dword [edx + 4], eax
jmp 0x1001332e
jbe 0x1001332e
mov eax, dword [edx + 8]
sub eax, dword [edx]
sar eax, 2
cmp edi, eax
jbe 0x10013310
lea eax, [ebp + 0xb]
mov ecx, edx
push eax
push edi
call fcn.10011d80
jmp 0x1001332e
sub edi, ecx
shl edi, 2
push edi
push 0
push dword [ebp + 8]
call fcn.1008e310
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, edi
mov dword [ecx + 4], eax
xor edi, edi
mov eax, dword [esi]
mov dword [ebp - 8], 0
cmp eax, 0xffffffff
je 0x1001339a
push 0
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001339a
cmp dword [ebp + 8], 4
jne 0x1001339a
mov eax, dword [ebp - 0xc]
add ebx, 4
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [eax + edi*4], ecx
inc edi
movzx eax, byte [ebp - 1]
cmp edi, eax
jbe 0x10013330
mov bl, byte [ebp - 2]
pop edi
xor bl, 1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov bl, 1
cmp eax, 0xffffffff
je 0x100133b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
pop edi
xor bl, 1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100133d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10026850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b80ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100dcdc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1008c505
mov edi, eax
add esp, 4
test edi, edi
je 0x100268ed
push 1
mov dword [ebp - 4], 0
call fcn.1008b0a6
add esp, 4
mov dword [edi + 4], eax
jmp 0x100268ef
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.1001afd0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x1002694a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x1002694a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x10026966
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x10026989
cmp byte [ebp + 0xc], 0
je 0x10026975
push esi
call fcn.1008b5af
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x10026995
mov esi, str.ios_base::badbit_set
jmp 0x100269a5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.100269d0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.1001c190
push 0x100d5544
lea eax, [ebp - 0x28]
push eax
call fcn.1008d966
int3
Function at 0x10029ca0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
test edi, edi
je 0x10029d3a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 7
jbe 0x10029cdf
mov eax, dword [eax]
push 0x10
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 2
mov eax, dword [ebp - 4]
test eax, eax
je 0x10029d33
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
test esi, esi
setne bl
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b869d
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x100dcdc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
jne 0x1002a3b8
xor al, al
jmp 0x1002a54b
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push ecx
push eax
mov dword [ebp - 0x278], 0
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1002a539
mov esi, dword [ebp + 8]
nop dword [eax]
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002a410
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10007490
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10029ef0
add esp, 8
cmp dword [eax + 0x14], 7
mov edi, dword [eax + 0x10]
jbe 0x1002a451
mov eax, dword [eax]
cmp dword [esi + 0x14], 7
mov edx, esi
mov ecx, dword [esi + 0x10]
jbe 0x1002a45e
mov edx, dword [esi]
cmp ecx, edi
jne 0x1002a478
push ecx
push eax
push edx
call fcn.1002a570
add esp, 0xc
mov byte [ebp - 0x26d], 1
test eax, eax
je 0x1002a47f
mov byte [ebp - 0x26d], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x1002a4b9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a4af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a566
push ecx
push edx
call fcn.1008c535
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x1002a50a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a500
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a566
push ecx
push edx
call fcn.1008c535
add esp, 8
cmp byte [ebp - 0x26d], 0
jne 0x1002a52f
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x274]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1002a3f0
jmp 0x1002a539
mov dword [ebp - 0x278], 1
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x278]
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.1008c543
mov esp, ebp
pop ebp
ret
call fcn.10091a0f
int3
Function at 0x1002a600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not eax
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 4
jb 0x1002a677
push edi
mov edi, esi
shr edi, 2
nop word [eax + eax]
movzx ecx, byte [edx]
sub esi, 4
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae40]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae40]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae40]
movzx ecx, byte [edx + 3]
add edx, 4
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae40]
sub edi, 1
jne 0x1002a620
pop edi
test esi, esi
je 0x1002a69a
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae40]
sub esi, 1
jne 0x1002a680
not eax
pop esi
pop ebp
ret
Function at 0x1002e2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [esi], ecx
jle 0x1002e425
mov edx, dword [ebp + 8]
push ebx
push edi
nop dword [eax + eax]
mov edi, dword [edx]
add edi, ecx
mov al, byte [edi]
mov byte [ebp - 0x14], al
mov eax, dword [edx + 4]
mov al, byte [ecx + eax]
mov byte [ebp - 0xc], al
mov eax, dword [edx + 8]
mov al, byte [ecx + eax]
mov byte [ebp - 8], al
mov eax, dword [edx + 0xc]
mov al, byte [ecx + eax]
mov ecx, esi
mov byte [ebp - 4], al
push dword [ebp - 4]
push 9
call fcn.1002e910
push dword [ebp - 8]
mov ecx, esi
mov bl, al
push 0xd
call fcn.1002e910
push dword [ebp - 0xc]
mov ecx, esi
xor bl, al
push 0xb
call fcn.1002e910
push dword [ebp - 0x14]
mov ecx, esi
xor bl, al
push 0xe
call fcn.1002e910
push dword [ebp - 4]
xor bl, al
mov ecx, esi
push 0xd
mov byte [edi], bl
call fcn.1002e910
push dword [ebp - 8]
mov ecx, esi
mov bl, al
push 0xb
call fcn.1002e910
push dword [ebp - 0xc]
mov ecx, esi
xor bl, al
push 0xe
call fcn.1002e910
mov edi, dword [ebp - 0x14]
mov ecx, esi
push edi
push 9
xor bl, al
call fcn.1002e910
mov ecx, dword [ebp - 0x10]
xor bl, al
mov eax, dword [ebp + 8]
push dword [ebp - 4]
push 0xb
mov eax, dword [eax + 4]
mov byte [ecx + eax], bl
mov ecx, esi
call fcn.1002e910
push dword [ebp - 8]
mov ecx, esi
mov bl, al
push 0xe
call fcn.1002e910
push dword [ebp - 0xc]
mov ecx, esi
xor bl, al
push 9
call fcn.1002e910
push edi
push 0xd
mov ecx, esi
xor bl, al
call fcn.1002e910
xor bl, al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 4]
push 0xe
mov byte [ecx + eax], bl
mov ecx, esi
call fcn.1002e910
push dword [ebp - 8]
mov ecx, esi
mov bl, al
push 9
call fcn.1002e910
push dword [ebp - 0xc]
mov ecx, esi
xor bl, al
push 0xd
call fcn.1002e910
push edi
push 0xb
mov ecx, esi
xor bl, al
call fcn.1002e910
mov edx, dword [ebp + 8]
xor bl, al
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov byte [ecx + eax], bl
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [esi]
jl 0x1002e2f0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002e7b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
sub esp, 0x10
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
test edx, edx
je 0x1002e905
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
cmp edx, 8
jb 0x1002e8e8
lea eax, [ebx - 1]
add eax, edx
cmp edi, eax
ja 0x1002e7ee
lea eax, [edx - 1]
add eax, edi
cmp eax, ebx
jae 0x1002e8e8
lea eax, [edx - 1]
add eax, esi
cmp edi, eax
ja 0x1002e804
lea eax, [edx - 1]
add eax, edi
cmp eax, esi
jae 0x1002e8e8
cmp edx, 0x40
jb 0x1002e8a5
mov eax, edx
and eax, 0x3f
mov dword [ebp - 4], eax
mov eax, edx
sub eax, dword [ebp - 4]
mov edx, edi
sub edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x10]
mov dword [ebp - 8], edx
mov ebx, esi
sub ebx, dword [ebp + 0xc]
mov edx, esi
sub edx, edi
mov dword [ebp - 0xc], edx
lea edx, [edi + 0x20]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
mov edi, dword [ebp - 8]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx + esi]
lea edx, [edx + 0x40]
xorps xmm1, xmm0
movups xmmword [edx - 0x60], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [edi + eax - 0x40], xmm1
mov edi, dword [ebp - 0xc]
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi + edx - 0x40]
mov edi, dword [ebp + 0x10]
xorps xmm1, xmm0
movups xmmword [edx - 0x40], xmm1
movups xmm1, xmmword [esi + ecx + 0x30]
add ecx, 0x40
movups xmm0, xmmword [eax - 0x20]
xorps xmm1, xmm0
movups xmmword [edx - 0x30], xmm1
cmp ecx, dword [ebp - 0x10]
jb 0x1002e840
cmp dword [ebp - 4], 8
mov edx, dword [ebp + 0x14]
jb 0x1002e8e1
mov eax, dword [ebp + 0xc]
jmp 0x1002e8ac
mov eax, dword [ebp + 0xc]
mov ebx, esi
sub ebx, eax
mov dword [ebp + 0x14], edx
add eax, ecx
and dword [ebp + 0x14], 0xfffffff8
sub edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
nop dword [eax + eax]
movq xmm1, qword [ebx + eax]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add ecx, 8
xorps xmm1, xmm0
movq qword [edi + eax - 8], xmm1
cmp ecx, dword [ebp + 0x14]
jb 0x1002e8c0
mov edi, dword [ebp + 0x10]
cmp ecx, edx
jae 0x1002e903
mov ebx, dword [ebp + 0xc]
sub esi, ebx
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [edi + eax - 1], cl
sub edx, 1
jne 0x1002e8f1
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10