joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10076ca0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec060
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10129fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10ca7f7c
call fcn.10097ac0
add esp, 4
test eax, eax
je 0x10076ce0
push eax
call fcn.10097ce0
add esp, 4
mov ecx, dword [0x10ca7fac]
test ecx, ecx
je 0x10076dcf
mov ecx, dword [ecx]
xor edx, edx
xor ebx, ebx
test ecx, ecx
je 0x10076dcf
mov edi, dword [ebp + 8]
nop
mov esi, dword [ecx + 8]
mov eax, edi
sub eax, esi
cmp eax, edx
ja 0x10076d15
mov ebx, ecx
test edx, edx
je 0x10076d1c
mov edx, edi
sub edx, esi
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x10076d00
test ebx, ebx
je 0x10076dcf
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 0x10076d51
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 [0x10ca7fac]
mov edx, dword [ecx]
mov esi, edx
test esi, esi
je 0x10076dcb
cmp dword [esi + 8], edi
je 0x10076d78
mov esi, dword [esi + 4]
test esi, esi
jne 0x10076d68
mov bl, 1
jmp 0x10076dd1
cmp dword [ecx + 4], esi
jne 0x10076d82
mov eax, dword [esi]
mov dword [ecx + 4], eax
cmp edx, esi
jne 0x10076d8b
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x10076d97
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10076da2
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x10076dc0
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.100c3eef
add esp, 8
mov bl, 1
jmp 0x10076dd1
xor bl, bl
push 0x10ca7f7c
mov dword [ebp - 4], 0
call fcn.10097ae5
add esp, 4
test eax, eax
je 0x10076df2
push eax
call fcn.10097ce0
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 0x10076e10
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 0x10076e46
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 0x1007aa20
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 [0x10ca9a30]
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 0x1007aa68
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1007aa8d
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 0x1007aaae
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1007aaae
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1007aaa8
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1007aaae
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 0x1007ab90
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10129fe8]
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 0x1007ad0b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1007aca5
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1007ac69
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1007ac69
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1007ac69
mov edx, dword [esi]
test edx, edx
jne 0x1007ac35
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10ca7fcc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1007ac8d
jmp 0x1007ac5d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1007ac5d
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10ca7fcc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1007ac8d
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 0x1007abf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1007aca5
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1007aca5
push eax
push ebx
push dword [0x10ca7fcc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1007ad0b
cmp dword [esi], 0
je 0x1007acf8
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1007acf8
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 0x1007acf2
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1007b3c0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x1007acc0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c3efd
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.100c3efd
mov esp, ebp
pop ebp
ret
Function at 0x1007b630
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1007b682
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x1007b672
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 0x1007b669
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 0x1007b646
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x10ca7fcc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
pop ebp
ret

Function at 0x1007b690
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10ca9a24]
test eax, eax
je 0x1007b6ac
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1007b704
mov eax, dword [eax]
test eax, eax
jne 0x1007b6a0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1007b716
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 0x1007b6e0
mov ecx, dword [0x10ca9a24]
mov dword [eax], ecx
mov dword [0x10ca9a24], eax
pop esi
test eax, eax
je 0x1007b716
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 0x1007ca40
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 0x1007cab3
cmp ecx, eax
jne 0x1007caab
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 0x1007cabb
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1007cabb
cmp ecx, eax
jne 0x1007cabb
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.100c3eef
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x1007cd40
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 0x1007cd8e
mov eax, esi
and eax, 0x3f800000
cmp eax, 0x4000000
je 0x1007cd8e
mov eax, esi
and eax, 0xbfffc000
cmp eax, 0x10000
je 0x1007cd8e
mov eax, esi
and eax, 0x3f000000
cmp eax, 0x8000000
jb 0x1007ce4c
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 [0x10ca8004]
and eax, dword [0x10ca8010]
mov edi, dword [ecx + eax*8]
lea edx, [eax*8]
mov eax, dword [edx + ecx]
add ecx, 4
add ecx, edx
mov edx, dword [0x10ca7ffc]
mov dword [ebp + 8], ecx
nop dword [eax + eax]
cmp edi, edx
jne 0x1007ce08
mov ecx, edx
jmp 0x1007ce0c
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1007ce20
cmp dword [eax + 8], ebx
je 0x1007ce1c
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
jmp 0x1007ce00
cmp eax, edx
jne 0x1007ce41
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
mov ecx, 0x10ca7ff8
push eax
lea eax, [ebp - 8]
push eax
call fcn.10038de0
push dword [ebp + 0xc]
push esi
call fcn.10080570
add esp, 8
push esi
call fcn.10007850
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100832f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x10083437
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._RequestInterrupt_Isolate_v8__QAEXP6AXPAV12_PAX_Z1_Z
push dword [0x10ca8030]
call esi
push str._NewFromUtf8_String_v8__SA_AV__MaybeLocal_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_2_H_Z
push dword [0x10ca8030]
mov dword [0x10ca8034], eax
call esi
push str._NewFromUtf8_String_v8__SA_AV__Local_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_12_H_Z
push dword [0x10ca8030]
mov dword [0x10ca803c], eax
call esi
push str._GetCurrentContext_Isolate_v8__QAE_AV__Local_VContext_v8___2_XZ
push dword [0x10ca8030]
mov dword [0x10ca8040], eax
call esi
mov ecx, dword [0x10ca8040]
mov dword [0x10ca8044], eax
test ecx, ecx
je 0x1008338b
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Handle_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10ca8030]
mov dword [0x10ca8038], ecx
call esi
mov dword [0x10ca8048], eax
test eax, eax
jne 0x10083384
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10ca8030]
call esi
mov dword [0x10ca8048], eax
push str._Run_Script_v8__QAE_AV__Local_VValue_v8___2_XZ
jmp 0x100833b0
mov eax, dword [0x10ca803c]
test eax, eax
je 0x100833c8
push str._Compile_Script_v8__SA_AV__MaybeLocal_VScript_v8___2_V__Local_VContext_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10ca8030]
mov dword [0x10ca8038], eax
call esi
mov dword [0x10ca8048], eax
push str._Run_Script_v8__QAE_AV__MaybeLocal_VValue_v8___2_V__Local_VContext_v8___2__Z
push dword [0x10ca8030]
call esi
mov ecx, dword [0x10ca8040]
mov dword [0x10ca804c], eax
mov eax, dword [0x10ca803c]
push eax
push ecx
push str._p__p
call fcn.10005410
push dword [0x10ca804c]
push dword [0x10ca8048]
push dword [0x10ca8038]
push dword [0x10ca8044]
push str._p__p__p__p
call fcn.10005410
add esp, 0x20
cmp dword [0x10ca8044], 0
pop esi
je 0x10083437
cmp dword [0x10ca8038], 0
je 0x10083437
cmp dword [0x10ca8048], 0
je 0x10083437
cmp dword [0x10ca804c], 0
je 0x10083437
mov eax, dword [0x10ca8034]
test eax, eax
je 0x10083437
mov ecx, dword [ebp + 8]
push 0
push 0x100821e0
call eax
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x1008d4a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2d20
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10129fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x1008d4e7
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x1008d508
mov edi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1008d4f4
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 4]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [ebx + 0xc]
add eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp + 0xc], eax
cmp dword [eax], esi
je 0x1008d52b
mov esi, dword [eax + 4]
mov esi, dword [esi]
mov edx, dword [edi + 0x10]
jmp 0x1008d533
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax]
je 0x1008d5b4
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
jb 0x1008d54b
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x1008d555
mov ecx, dword [edi]
cmp edx, dword [ebp - 0x14]
jne 0x1008d530
push edx
push eax
push ecx
call fcn.1002fdb0
mov edx, dword [edi + 0x10]
add esp, 0xc
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x1008d533
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
call fcn.1008df50
push 0x38
push edi
call fcn.100c3eef
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x1008d5e1
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x18]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x1008d5fb
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x1008d61d
cmp eax, esi
jne 0x1008d603
mov dword [ecx], edi
jmp 0x1008d61d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x1008d61d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.1008e640
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 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 0xc
Function at 0x1008d870
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x1008d88c
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x1008d8a8
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1008d897
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1008d8e1
cmp eax, edi
jne 0x1008d8d9
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 0x1008d8e9
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1008d8e9
cmp eax, edi
jne 0x1008d8e9
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.1008df50
push 0x38
push edi
call fcn.100c3eef
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008fc90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 8], ecx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
jb 0x1008fcaf
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1008fcd1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1008fcc0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x1008fcfb
mov eax, ebx
jmp 0x1008fcff
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1008fd7e
cmp dword [edi + 0x14], 8
lea eax, [esi + 8]
mov ecx, edi
jb 0x1008fd10
mov ecx, dword [edi]
mov edi, dword [eax + 0x14]
cmp edi, 8
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
jb 0x1008fd26
mov eax, dword [eax]
cmp edx, dword [ebp - 4]
jne 0x1008fd3a
push edx
push ecx
push eax
call fcn.1002fdb0
add esp, 0xc
test eax, eax
je 0x1008fd44
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x1008fcf3
cmp dword [ebp - 0x10], 8
lea eax, [esi + 8]
jb 0x1008fd4f
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x1008fd57
mov edi, dword [edi]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
jne 0x1008fd6e
push ecx
push eax
push edi
call fcn.1002fdb0
add esp, 0xc
test eax, eax
je 0x1008fd70
mov esi, ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10091370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x10129fe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x664]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1009142d
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x100913b4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009142d
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + eax*2 - 0x414]
nop
mov ecx, eax
sub eax, 2
cmp word [eax], 0x5c
jne 0x100913d0
push edi
push 0x104
push ecx
call fcn.100cf2b5
add esp, 0xc
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1009142d
test bl, bl
je 0x1009141a
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009142d
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c3efd
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c3efd
mov esp, ebp
pop ebp
ret

Function at 0x10091930
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10ca8e80]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10ca882c]
cmp eax, dword [ecx + 4]
jg 0x10091979
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10ca8378
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x10091974
add esi, 4
cmp esi, 0x10ca8828
jne 0x10091960
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10ca882c
call fcn.100c40ed
add esp, 4
cmp dword [0x10ca882c], 0xffffffff
jne 0x1009194f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x101308a8
push 0x4b0
push 0x10ca8378
push eax
call sub.PSAPI.DLL_EnumProcessModules
push 0x10ca882c
mov dword [0x10ca8828], eax
call fcn.100c40a3
add esp, 4
jmp 0x1009194f

Function at 0x100919c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10091a00
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10091a00
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10091a00
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x10091a02
add eax, 4
cmp eax, ecx
jb 0x100919f5
xor eax, eax
pop ebp
ret
Function at 0x10091a10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10091a67
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10091a67
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x10091a49
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x10091a40
mov ecx, dword [ebp + 0xc]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
pop ebp
ret