joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034ef0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc870
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100fefb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c7cdd8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c764e8]
cmp eax, dword [ecx + 4]
jg 0x10034fe5
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
mov edx, dword [0x10c764cc]
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul esi, ecx, 0x1000193
mov ecx, dword [0x10c764d4]
and esi, dword [0x10c764e0]
mov edi, dword [ecx + esi*8]
mov eax, edi
cmp edi, edx
jne 0x10034f8b
mov ecx, edx
jmp 0x10034f91
mov ecx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10034fbc
cmp dword [eax + 8], ebx
je 0x10034fa4
mov eax, dword [eax]
mov ecx, dword [0x10c764d4]
jmp 0x10034f83
cmp eax, edx
je 0x10034fbc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
lea eax, [ebp + 8]
mov ecx, 0x10c764c8
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10034630
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10c764e8
call fcn.100b9acc
add esp, 4
cmp dword [0x10c764e8], 0xffffffff
jne 0x10034f38
push 0
push 0
mov ecx, 0x10c764cc
mov dword [ebp - 4], 0
call fcn.10034e20
mov dword [0x10c764cc], eax
mov dword [0x10c764d4], 0
mov dword [0x10c764d8], 0
mov dword [0x10c764dc], 0
push 8
mov ecx, 0x10c764c8
mov byte [ebp - 4], 2
mov dword [0x10c764c8], 0x3f800000
call fcn.10003c90
push 0x100d3450
call fcn.100b9770
push 0x10c764e8
mov dword [ebp - 4], 0xffffffff
call fcn.100b9a82
add esp, 8
jmp 0x10034f38

Function at 0x10035090
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x10035103
cmp eax, edi
jne 0x100350fb
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1003510b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1003510b
cmp eax, edi
jne 0x1003510e
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.100b98ff
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10046550
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov ebx, dword [edx + ecx*8]
mov eax, ebx
lea edx, [edx + ecx*8]
cmp ebx, esi
jne 0x100465ae
mov ecx, esi
jmp 0x100465b3
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100465c6
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x100465c2
mov eax, dword [eax]
jmp 0x100465a6
cmp eax, esi
jne 0x1004661a
mov esi, dword [esi]
lea eax, [ebp + 0xb]
mov ebx, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov edi, dword [esi + 4]
push eax
push 0x100d8fe3
push edi
push esi
lea ecx, [ebx + 4]
call fcn.10014970
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x10046626
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10007b20
mov eax, dword [ebp - 0xc]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.1008d057
int3
Function at 0x10052410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x100fefb8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x80
push 3
push 0
push 1
push 1
push str.RIO.INI
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100524cb
mov ecx, dword [0x10c7b868]
mov edx, ecx
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10052460
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x10052529
lea esi, [ebp - 0x24c]
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x10052480
push 0
push 0x80
push 3
push 0
push 1
push 1
lea eax, [ebp - 0x24c]
mov dword [ebp + edx*2 - 0x250], 0x69006e
mov ecx, 0x69
push eax
mov word [ebp + edx*2 - 0x252], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10052529
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
push 0
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x44]
mov byte [ebp - 5], 0
push 0x100de174
push eax
call sub.msvcrt.dll_strstr
add esp, 8
test eax, eax
je 0x10052529
lea ecx, [ebp - 0x250]
add eax, 3
push ecx
push 0x100de178
push eax
call fcn.10053100
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
pop esi
call fcn.100b990d
mov esp, ebp
pop ebp
ret

Function at 0x10055360
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4

Function at 0x10055790
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x1505
push ebx
push esi
xor esi, esi
mov bl, byte [eax]
push edi
lea edi, [eax + 1]
test bl, bl
je 0x100557d1
nop dword [eax]
mov eax, ecx
lea edi, [edi + 1]
mov edx, esi
shld esi, ecx, 5
shl ecx, 5
add ecx, eax
movzx eax, bl
mov bl, byte [edi - 1]
adc esi, edx
cdq
add ecx, eax
adc esi, edx
test bl, bl
jne 0x100557b0
pop edi
mov edx, esi
mov eax, ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x10068b30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10068ba3
cmp ecx, eax
jne 0x10068b9b
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x10068bab
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x10068bab
cmp ecx, eax
jne 0x10068bab
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x20
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.100b98ff
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x100699b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x1010475d], 0
push esi
je 0x10069a16
mov eax, dword [0x10104684]
xor esi, esi
mov edx, dword [ebp + 8]
add eax, 0xa0
nop dword [eax]
mov ecx, dword [eax - 0xa0]
or ecx, dword [eax - 0x9c]
je 0x10069a0d
mov ecx, dword [eax - 0x50]
cmp ecx, dword [edx + 8]
jne 0x10069a0d
mov ecx, dword [eax - 0x4c]
cmp ecx, dword [edx + 0xc]
jne 0x10069a0d
mov ecx, dword [eax]
cmp ecx, dword [edx + 0x10]
jne 0x10069a0d
mov ecx, dword [eax + 4]
cmp ecx, dword [edx + 0x14]
jne 0x10069a0d
mov ecx, dword [eax + 0x50]
cmp ecx, dword [edx + 0x18]
jne 0x10069a0d
mov ecx, dword [eax + 0x54]
cmp ecx, dword [edx + 0x1c]
je 0x10069a1b
inc esi
add eax, 8
cmp esi, 0xa
jl 0x100699d0
xor al, al
pop esi
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test al, 0xf0
jne 0x10069a39
push 0x10
call esi
test al, 0xf0
je 0x10069a47
push 0xd
call esi
test al, 0xf0
jne 0x10069a47
mov eax, dword [0x10104684]
cmp byte [eax + 0x9f8], 0
jne 0x10069a16
mov al, 1
pop esi
pop ebp
ret
Function at 0x1006a070
Capabilities:
Hash data using djb2
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
mov eax, dword [0x100fefb8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x10]
add eax, eax
cmp dword [edi + 0x14], 8
jb 0x1006a096
mov edi, dword [edi]
xor ebx, ebx
mov esi, 0x1505
test eax, eax
je 0x1006a0cd
dec eax
lea edi, [edi + 1]
mov dword [ebp - 0x3f0], eax
mov ecx, ebx
mov eax, esi
shld ebx, esi, 5
shl esi, 5
add esi, eax
movzx eax, byte [edi - 1]
cdq
adc ebx, ecx
add esi, eax
mov eax, dword [ebp - 0x3f0]
adc ebx, edx
test eax, eax
jne 0x1006a0a1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
lea eax, [ebp - 0x3ec]
push str.LUNA_NOTIFY._d._llu
push eax
call fcn.1001ea50
add esp, 0x14
lea eax, [ebp - 0x3ec]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3f0], eax
test ebx, ebx
je 0x1006a176
mov esi, dword [ebp + 0xc]
cmp byte [0x1010475d], 0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x1006a176
mov eax, dword [0x10104684]
xor edx, edx
add eax, 0xa0
nop dword [eax + eax]
mov ecx, dword [eax - 0xa0]
or ecx, dword [eax - 0x9c]
je 0x1006a16d
mov ecx, dword [eax - 0x50]
cmp ecx, dword [esi + 8]
jne 0x1006a16d
mov ecx, dword [eax - 0x4c]
cmp ecx, dword [esi + 0xc]
jne 0x1006a16d
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x10]
jne 0x1006a16d
mov ecx, dword [eax + 4]
cmp ecx, dword [esi + 0x14]
jne 0x1006a16d
mov ecx, dword [eax + 0x50]
cmp ecx, dword [esi + 0x18]
jne 0x1006a16d
mov ecx, dword [eax + 0x54]
cmp ecx, dword [esi + 0x1c]
je 0x1006a197
inc edx
add eax, 8
cmp edx, 0xa
jl 0x1006a130
xor bl, bl
push dword [ebp - 0x3f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b990d
mov esp, ebp
pop ebp
ret
push 0x11
call edi
test al, 0xf0
jne 0x1006a1af
push 0x10
call edi
test al, 0xf0
je 0x1006a1bd
push 0xd
call edi
test al, 0xf0
jne 0x1006a1bd
mov eax, dword [0x10104684]
cmp byte [eax + 0x9f8], 0
jne 0x1006a176
cmp ebx, 0x64
mov eax, 0x64
mov edi, ebx
cmova edi, eax
push edi
push dword [ebp - 0x3f0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1006a1e4
sub ebx, edi
je 0x1006a176
jmp 0x1006a10d
mov bl, 1
jmp 0x1006a178
Function at 0x1006cda0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca430
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100fefb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10c7bd44
call fcn.1008d4d0
add esp, 4
test eax, eax
je 0x1006cde0
push eax
call fcn.1008d6f0
add esp, 4
mov ecx, dword [0x10c7bd74]
test ecx, ecx
je 0x1006cecf
mov ecx, dword [ecx]
xor edx, edx
xor ebx, ebx
test ecx, ecx
je 0x1006cecf
mov edi, dword [ebp + 8]
nop
mov esi, dword [ecx + 8]
mov eax, edi
sub eax, esi
cmp eax, edx
ja 0x1006ce15
mov ebx, ecx
test edx, edx
je 0x1006ce1c
mov edx, edi
sub edx, esi
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x1006ce00
test ebx, ebx
je 0x1006cecf
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push dword [ebx + 8]
call esi
test eax, eax
je 0x1006ce51
mov ecx, dword [ebx + 8]
mov al, byte [ebx + 0x44]
mov byte [ecx], al
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x48]
push 4
push dword [ebx + 8]
call esi
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov ecx, dword [0x10c7bd74]
mov edx, dword [ecx]
mov esi, edx
test esi, esi
je 0x1006cecb
cmp dword [esi + 8], edi
je 0x1006ce78
mov esi, dword [esi + 4]
test esi, esi
jne 0x1006ce68
mov bl, 1
jmp 0x1006ced1
cmp dword [ecx + 4], esi
jne 0x1006ce82
mov eax, dword [esi]
mov dword [ecx + 4], eax
cmp edx, esi
jne 0x1006ce8b
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1006ce97
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1006cea2
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x1006cec0
mov eax, dword [ecx]
cmp ecx, edi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov dword [edi + 0x24], 0
push 0x50
push esi
call fcn.100b98ff
add esp, 8
mov bl, 1
jmp 0x1006ced1
xor bl, bl
push 0x10c7bd44
mov dword [ebp - 4], 0
call fcn.1008d4f5
add esp, 4
test eax, eax
je 0x1006cef2
push eax
call fcn.1008d6f0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1006cf10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1006cf46
mov ecx, dword [esi + 8]
mov al, byte [esi + 0x44]
mov byte [ecx], al
lea eax, [ebp + 8]
push eax
push dword [esi + 0x48]
push 4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebp
ret
Function at 0x10070910
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x132fd2c0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10070958
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1007097d
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1007099e
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1007099e
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10070998
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1007099e
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop ebx
pop edi
mov byte [esi + 0x14], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10070a80
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100fefb8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10070bfb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10070b95
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10070b59
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10070b59
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10070b59
mov edx, dword [esi]
test edx, edx
jne 0x10070b25
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10c7bd94]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10070b7d
jmp 0x10070b4d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10070b4d
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10c7bd94]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10070b7d
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10070ae0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10070b95
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10070b95
push eax
push ebx
push dword [0x10c7bd94]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x10070bfb
cmp dword [esi], 0
je 0x10070be8
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10070be8
nop dword [eax]
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10070be2
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.100712b0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10070bb0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b990d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b990d
mov esp, ebp
pop ebp
ret
Function at 0x10071520
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10071572
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10071562
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10071559
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10071536
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x10c7bd94]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
pop ebp
ret

Function at 0x10071580
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x132fd2b0]
test eax, eax
je 0x1007159c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x100715f4
mov eax, dword [eax]
test eax, eax
jne 0x10071590
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10071606
push esi
lea edx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, 0x20
nop dword [eax + eax]
mov ecx, dword [eax + 4]
add esi, 0x20
mov dword [edx], ecx
mov dword [eax + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x100715d0
mov ecx, dword [0x132fd2b0]
mov dword [eax], ecx
mov dword [0x132fd2b0], eax
pop esi
test eax, eax
je 0x10071606
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret
Function at 0x10074200
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10074273
cmp ecx, eax
jne 0x1007426b
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x1007427b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1007427b
cmp ecx, eax
jne 0x1007427b
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x30
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.100b98ff
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x10074500
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
mov eax, dword [eax + 0x198]
push esi
mov esi, dword [eax]
mov eax, esi
and eax, 0x3e000000
cmp eax, 0x8000000
je 0x1007454e
mov eax, esi
and eax, 0x3f800000
cmp eax, 0x4000000
je 0x1007454e
mov eax, esi
and eax, 0xbfffc000
cmp eax, 0x10000
je 0x1007454e
mov eax, esi
and eax, 0x3f000000
cmp eax, 0x8000000
jb 0x1007460c
mov eax, dword [ebp + 8]
push ebx
push edi
mov ebx, dword [eax + 0x20]
mov eax, ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 0xc], ebx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x10c7c1e4]
and eax, dword [0x10c7c1f0]
mov edi, dword [ecx + eax*8]
lea edx, [eax*8]
mov eax, dword [edx + ecx]
add ecx, 4
add ecx, edx
mov edx, dword [0x10c7c1dc]
mov dword [ebp + 8], ecx
nop dword [eax + eax]
cmp edi, edx
jne 0x100745c8
mov ecx, edx
jmp 0x100745cc
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100745e0
cmp dword [eax + 8], ebx
je 0x100745dc
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
jmp 0x100745c0
cmp eax, edx
jne 0x10074601
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
mov ecx, 0x10c7c1d8
push eax
lea eax, [ebp - 8]
push eax
call fcn.10034630
push dword [ebp + 0xc]
push esi
call fcn.100778d0
add esp, 8
push esi
call fcn.10006f80
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x14