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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x10016bec
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
test ebx, ebx
jne 0x10016ae2
test edi, edi
jne 0x10016bec
mov esi, dword [ebp + 0x18]
mov eax, 0xc8
cmp esi, eax
jae 0x10016bec
push eax
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.10010dc1
add esp, 0xc
cmp edi, esi
jb 0x10016b4e
mov eax, ebx
lea ecx, [ebp - 0xcc]
sub eax, ecx
mov dword [ebp - 4], eax
xor edx, edx
test esi, esi
je 0x10016b33
mov edi, dword [ebp - 4]
lea ecx, [ebp - 0xcc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, esi
jb 0x10016b1e
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xcc]
push eax
call fcn.10016bf6
add dword [ebp - 4], esi
sub edi, esi
add ebx, esi
mov dword [ebp + 0x14], edi
pop ecx
cmp edi, esi
jae 0x10016b15
mov al, byte [ebp + 0x1c]
xor byte [ebp + edi - 0xcc], al
xor byte [ebp + esi - 0xcd], 0x80
test edi, edi
je 0x10016b80
lea eax, [ebp - 0xcc]
sub ebx, eax
xor edx, edx
lea ecx, [ebp - 0xcc]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, edi
jb 0x10016b6e
lea eax, [ebp - 0xcc]
push eax
call fcn.10016bf6
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
pop ecx
cmp edi, esi
jb 0x10016bc4
test esi, esi
je 0x10016bac
push esi
lea ecx, [ebp - 0xcc]
push ecx
push eax
call fcn.10010d9c
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
call fcn.10016bf6
mov eax, dword [ebp + 8]
add eax, esi
sub edi, esi
mov dword [ebp + 8], eax
jmp 0x10016b92
test edi, edi
je 0x10016bd9
push edi
lea edx, [ebp - 0xcc]
push edx
push eax
call fcn.10010d9c
add esp, 0xc
xor al, al
lea edi, [ebp - 0xcc]
mov ecx, 0xc8
rep stosb byte es:[edi], al
xor eax, eax
jmp 0x10016bef
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1e0035c1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3764582b
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x21e6514
Capabilities:
Encode data using xor

Disassembly:
jmp 0x21e651e
pushal
call 0x21e6524
pop ebp
sub ebp, 0x10
sub ebp, 0x1de6514
jmp 0x21e653a
mov eax, 0x1de6514
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b7
mov edx, 0xf67b0dfe
xor byte [eax], dl
inc eax
dec ecx
jne 0x21e6551
jmp 0x21e6564
jne 0x21e6599
jne 0x21e65df
ret 0xfefe
or dword [eax - 1], edi
call edx
ficom dword [esi - 0x7aacb415]
push ss
sti
invalid
xchg ebx, eax
test eax, 0x98996fe
js 0x21e65e6
invalid
call edx
fisubr dword [edi - 0x10104ea]
invalid
Function at 0x401497
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x470670]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40152c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014e9
cmp dword [ebp + 0x10], ebx
jne 0x401520
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.00401497
test eax, eax
jne 0x4014fb
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405b93
cmp eax, ebx
je 0x401533
push ebx
push dword [0x470670]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x40152c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x470670], ebx
jne 0x401529
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x401529
jmp 0x40152c
Function at 0x402ee7
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402f07
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402f16
mov ebx, 0x422130
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402f2b
mov ecx, dword [0x4705d8]
add ecx, eax
push ecx
call fcn.00402ed0
push 4
lea eax, [ebp + 0x14]
push eax
call fcn.00402e9e
test eax, eax
jne 0x402f42
push 0xfffffffffffffffd
pop eax
jmp 0x4030a1
test dword [ebp + 0x14], 0x80000000
je 0x403080
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x432138
mov dword [ebp - 0xc], eax
call fcn.0040677e
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x40309e
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402f82
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x41e130
push edi
call fcn.00402e9e
test eax, eax
je 0x402f3a
sub dword [ebp + 0x14], esi
mov dword [0x432150], edi
mov dword [0x432154], esi
mov eax, dword [ebp - 8]
mov ecx, 0x432138
mov dword [0x432158], ebx
mov dword [0x43215c], eax
call fcn.0040679e
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x403072
mov esi, dword [0x432158]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x470674], 1
mov edi, eax
je 0x403026
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402fed
cmp dword [ebp + 0x14], 0
jne 0x403026
push dword [ebp + 8]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.00404a47
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x403067
cmp dword [ebp + 0x10], eax
jne 0x40304f
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403079
cmp dword [ebp - 0x14], esi
jne 0x403079
add dword [ebp - 4], esi
jmp 0x40305b
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x432158]
cmp dword [ebp - 0x10], 1
jne 0x402fa1
jmp 0x40309e
cmp dword [ebp + 0x14], eax
jg 0x402f75
jmp 0x40309e
push 0xfffffffffffffffc
jmp 0x402f3c
push 0xfffffffffffffffe
jmp 0x402f3c
test edi, edi
je 0x4030e7
cmp dword [ebp + 0x14], esi
jge 0x40308c
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00402e9e
test eax, eax
je 0x402f3a
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x4030b3
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x41e130
push edi
call fcn.00402e9e
test eax, eax
je 0x402f3a
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403079
cmp esi, dword [ebp + 0x10]
jne 0x403079
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x4030a8
jmp 0x40309e
Function at 0x4056c0
Capabilities:
Create process on windows

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

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4058cf
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 4

Function at 0x4058d2
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
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_CreateFileW]
ret 0xc

Function at 0x405901
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x4088c4]
mov dword [ebp - 8], eax
mov eax, dword [0x4088c8]
dec edi
mov dword [ebp - 4], eax
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 word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405951
test edi, edi
jne 0x40590e
mov word [esi], ax
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x40594b

Function at 0x405955
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4059ce
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x4008
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4059b7
cmp dword [ebp + 0x14], 1
je 0x4059bc
cmp dword [ebp + 0x14], 2
je 0x4059bc
xor eax, eax
mov word [esi], ax
push dword [ebp + 0x18]
xor eax, eax
mov word [esi + 0x4006], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret 0x14
Function at 0x406016
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x4562a0
push esi
call fcn.00405a8c
push esi
call fcn.004057db
mov edi, eax
test edi, edi
jne 0x406037
xor eax, eax
jmp 0x406095
push edi
call fcn.00405abb
test byte [0x4705e8], 0x80
je 0x406054
movzx eax, word [edi]
test ax, ax
je 0x406033
cmp ax, 0x5c
je 0x406033
sub edi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sar edi, 1
jmp 0x406076
push esi
call fcn.00405b6c
test eax, eax
je 0x406070
test byte [eax], 0x10
je 0x40609a
push esi
call fcn.00405fe9
push esi
call ebx
cmp eax, edi
jg 0x406061
push esi
call fcn.00405fba
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x406094
Function at 0x40632f
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x4089ac
mov ebx, 0x45a2a8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov esi, 0x400
cmp edi, ebp
je 0x40637d
push 1
push ebp
push edi
call fcn.004058d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x4064f4
cmp eax, esi
jg 0x4064f4
push esi
mov edi, 0x45f900
push edi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x4064f4
cmp eax, esi
jg 0x4064f4
push ebp
push ebp
push esi
push 0x45aaa8
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
push ebp
call ebx
test eax, eax
je 0x4064f4
push ebp
push ebp
push esi
mov esi, 0x45b0f8
push esi
push 0xffffffffffffffff
push edi
push ebp
push ebp
call ebx
test eax, eax
je 0x4064f4
push esi
push 0x45aaa8
push str._s_s_r_n
push 0x45b4f8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x47059c]
push dword [eax + 0x128]
push edi
call fcn.0040609e
push 4
push 0xc0000000
push edi
call fcn.004058d2
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x4064f4
push ebp
push eax
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
cmp esi, ebp
je 0x4064ea
push ebp
lea eax, [esp + 0x14]
push eax
push edi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4064ea
cmp edi, dword [esp + 0x10]
jne 0x4064ea
push str._Rename__r_n
push esi
call fcn.00405838
cmp eax, ebp
jne 0x406481
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4064b2
push 0x4089a0
add eax, 0xa
push eax
call fcn.00405838
mov ebp, eax
test ebp, ebp
je 0x4064b0
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4064a3
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x40649d
sub ebp, esi
inc ebp
mov eax, ebp
xor ebp, ebp
jmp 0x4064b4
xor ebp, ebp
mov eax, edi
push ebx
push 0x45b4f8
add eax, esi
push eax
call fcn.0040588e
push ebp
push ebp
push ebp
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
lea eax, [esp + 0x14]
push eax
add edi, ebx
push edi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40652d
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00406016
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test cl, 8
je 0x406562
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x470648], eax
jmp 0x406708
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x40657d
test eax, eax
je 0x4066b3
test cl, 2
je 0x4066b3
push edi
push ebx
mov esi, 0x45b8f8
push esi
call fcn.00405a8c
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x4065a0
push str..
push esi
call edi
jmp 0x4065a6
push ebx
call fcn.00405fe9
cmp word [ebx], 0
jne 0x4065b6
cmp word [0x45b8f8], 0x5c
jne 0x4065be
push 0x4082c8
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebx + eax*2]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4066a2
lea esi, [ebp - 0x230]
push 0x3f
mov eax, esi
push eax
call fcn.00405787
xor edi, edi
cmp word [eax], di
je 0x406605
cmp word [ebp - 0x28], di
je 0x406605
lea esi, [ebp - 0x28]
cmp word [esi], 0x2e
jne 0x406620
movzx eax, word [esi + 2]
cmp ax, di
je 0x40667f
cmp ax, 0x2e
jne 0x406620
cmp word [esi + 4], di
je 0x40667f
push esi
push dword [ebp - 4]
call fcn.00405a8c
test byte [ebp - 0x25c], 0x10
je 0x406647
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x40667f
push dword [ebp + 0xc]
push ebx
call fcn.0040652d
jmp 0x40667f
push ebx
call fcn.004058b2
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x406677
test byte [ebp + 0xc], 4
je 0x40666f
push ebx
push 0xfffffffffffffff1
call fcn.00404a47
push edi
push ebx
call fcn.004064fa
jmp 0x40667f
inc dword [0x470648]
jmp 0x40667f
push ebx
push 0xfffffffffffffff2
call fcn.00404a47
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4065e5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4066a4
xor edi, edi
cmp dword [ebp + 8], edi
pop edi
je 0x4066b3
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ecx - 2], ax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x406707
cmp dword [ebp - 0xc], esi
je 0x4066f7
push ebx
call fcn.00405b6c
test eax, eax
je 0x406707
push ebx
call fcn.00405fba
push ebx
call fcn.004058b2
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4066ff
test byte [ebp + 0xc], 4
je 0x4066f7
push ebx
push 0xfffffffffffffff1
call fcn.00404a47
push esi
push ebx
call fcn.004064fa
jmp 0x406707
inc dword [0x470648]
jmp 0x406707
push ebx
push 0xffffffffffffffe5
call fcn.00404a47
pop esi
pop ebx
leave
ret 8
Function at 0x40670d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460104], 0
jne 0x40674b
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406721
mov dword [ecx*4 + 0x460100], eax
inc ecx
cmp ecx, 0x100
jl 0x40671c
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406778
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460100]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406759
not eax
pop ebp
ret 0xc
Function at 0x100042f0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1117f5d8
push 0x1018a8ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 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
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x48]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10004367
xor al, al
jmp 0x100043f0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x28]
push edx
push 0x140
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10004392
xor al, al
jmp 0x100043f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
push 0x100043dd
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004410
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1117f5e8
push 0x1018a8ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push esi
push edi
push 0x10196b48
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1000457f
push 0x10196b58
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x1000457f
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp edi, 0xffffffff
je 0x1000457f
mov dword [ebp - 0x25c], 0x22c
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000457f
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x30], ecx
nop word [eax + eax]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x254]
cmp ecx, eax
je 0x1000453a
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x1000453a
push 0
push 4
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1000453a
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx]
je 0x10004517
mov byte [ebp - 0x19], 1
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call sub.VCRUNTIME140.dll__local_unwind2
add esp, 8
jmp 0x10004560
mov dword [ebp - 4], 0xffffffff
call fcn.1000452e
jmp 0x10004548
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call sub.VCRUNTIME140.dll__local_unwind2
add esp, 8
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov ecx, dword [ebp - 0x30]
jne 0x100044c0
test edi, edi
je 0x1000456b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018ac2d
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 0x10]
cmp byte [esi + 7], 0
je 0x10006139
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x24]
inc edx
xor byte [ecx], al
cmp edx, 6
jb 0x10006127
mov byte [esi + 7], 0
lea eax, [ebp + 0x13]
push eax
lea eax, [esi + 6]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.100055e0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1000615f
mov eax, dword [eax]
push ecx
push eax
push 0
lea ecx, [ebp - 0x28]
call fcn.10017c50
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100061d9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100061cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100061cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x100062c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018ac2d
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0xa], 0
je 0x100062f9
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x24]
inc edx
xor byte [ecx], al
cmp edx, 9
jb 0x100062e7
mov byte [esi + 0xa], 0
lea eax, [ebp + 0x13]
push eax
lea eax, [esi + 9]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.100055e0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1000631f
mov eax, dword [eax]
push ecx
push eax
push 0
lea ecx, [ebp - 0x28]
call fcn.10017c50
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10006399
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000638f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000638f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret