joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10082d00
Capabilities:
Hash data using djb2
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1012e100]
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], 7
jbe 0x10082d26
mov edi, dword [edi]
xor ebx, ebx
mov esi, 0x1505
test eax, eax
je 0x10082d5d
dec eax
lea edi, [edi + 1]
mov dword [ebp - 0x410], 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 - 0x410]
adc ebx, edx
test eax, eax
jne 0x10082d31
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.10028c50
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 - 0x410], eax
test ebx, ebx
je 0x10082e2e
mov edi, dword [ebp + 0xc]
cmp byte [0x101342b5], 0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x10082e2e
mov eax, dword [0x10134168]
xor edx, edx
add eax, 0x8d0
nop dword [eax]
cmp byte [eax - 0x18], 0
je 0x10082e25
movups xmm1, xmmword [edi]
movups xmm0, xmmword [edi + 0x10]
movd ecx, xmm1
movups xmmword [ebp - 0x40c], xmm1
movups xmmword [ebp - 0x3fc], xmm0
cmp dword [eax - 0x10], ecx
jne 0x10082e25
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp - 0x404]
jne 0x10082e25
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x400]
jne 0x10082e25
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3fc]
jne 0x10082e25
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x3f8]
jne 0x10082e25
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x3f4]
jne 0x10082e25
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x3f0]
je 0x10082e4f
inc edx
add eax, 0x28
cmp edx, 0x20
jb 0x10082dc0
xor bl, bl
push dword [ebp - 0x410]
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.100cd9fa
mov esp, ebp
pop ebp
ret
push 0x11
call esi
test al, 0xf0
jne 0x10082e67
push 0x10
call esi
test al, 0xf0
je 0x10082e75
push 0xd
call esi
test al, 0xf0
jne 0x10082e75
mov eax, dword [0x10134168]
cmp byte [eax + 0x8b0], 0
jne 0x10082e2e
cmp ebx, 0x64
mov eax, 0x64
mov esi, ebx
cmova esi, eax
push esi
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10082e9c
sub ebx, esi
je 0x10082e2e
jmp 0x10082da1
mov bl, 1
jmp 0x10082e30
Function at 0x10086090
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fd2ad
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1012e100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1012db94
mov dword [ebp - 0x14], 0x1012db94
call fcn.100b63b3
add esp, 4
test eax, eax
jne 0x100861be
cmp dword [0x1012dbc0], 0x7fffffff
je 0x100861c5
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x10ca9874]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x20]
mov ecx, 0x10ca9874
push eax
call fcn.1000e5e0
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xd], 0
jne 0x10086115
cmp esi, dword [eax + 0x10]
jae 0x10086117
mov eax, ebx
cmp eax, ebx
jne 0x10086125
inc edi
dec esi
test edi, edi
jle 0x100860f2
xor bl, bl
jmp 0x10086193
lea eax, [ebp - 0x10]
mov ecx, 0x10ca9874
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000e5e0
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xd], 0
jne 0x100861b4
cmp esi, dword [eax + 0x10]
jb 0x100861b4
lea esi, [eax + 0x18]
test esi, esi
jne 0x10086150
xor bl, bl
jmp 0x10086193
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push dword [esi]
call edi
test eax, eax
je 0x1008617a
mov ecx, dword [esi]
mov al, byte [esi + 0x3c]
mov byte [ecx], al
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x40]
push 4
push dword [esi]
call edi
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
lea eax, [ebp + 8]
mov ecx, 0x10ca9874
push eax
call fcn.10085ea0
mov bl, 1
push 0x1012db94
call fcn.100b63c4
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
push str.invalid_map_K__T__key
call fcn.100b634d
push 5
call fcn.100b66e9
push 6
mov dword [0x1012dbc0], 0x7ffffffe
call fcn.100b66e9
int3

Function at 0x100861e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10086214
mov ecx, dword [esi]
mov al, byte [esi + 0x3c]
mov byte [ecx], al
lea eax, [ebp - 4]
push eax
push dword [esi + 0x40]
push 4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10088d40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fd5a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1012e100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x10088e3a
test dl, 0x10
jne 0x10088e3a
mov al, 1
jmp 0x10088e3c
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x10088e60
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x10088e93
jbe 0x10088e93
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x10088e78
lea eax, [ebp + 0x17]
push eax
push esi
call fcn.10011cd0
jmp 0x10088e93
sub esi, edx
je 0x10088e90
shl esi, 3
push esi
push 0
push ebx
call fcn.100cea20
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1008aa50
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 [0x10cab110]
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 0x1008aa98
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1008aabd
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 0x1008aade
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1008aade
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1008aad8
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1008aade
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 cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008abc0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1012e100]
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 0x1008ad5d
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1008acd5
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1008ac99
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1008ac99
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1008ac99
mov edx, dword [esi]
test edx, edx
jne 0x1008ac65
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10ca9884]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1008acbd
jmp 0x1008ac8d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1008ac8d
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10ca9884]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1008acbd
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 0x1008ac20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1008acd5
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1008acd5
push eax
push ebx
push dword [0x10ca9884]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1008ad5d
cmp dword [esi], 0
je 0x1008ad4a
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1008ad4a
nop dword [eax]
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
mov dword [ebp - 0x24], 0
test ebx, ebx
je 0x1008ad3b
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1008ad2e
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 1
push dword [ebp + 0xc]
push ebx
call fcn.1008b3e0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], 0
jne 0x1008ad44
mov ecx, dword [esi]
mov dword [ecx + edi*4], 0
inc edi
cmp edi, dword [esi + 8]
jb 0x1008acf0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd9fa
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.100cd9fa
mov esp, ebp
pop ebp
ret
Function at 0x1008b550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
call fcn.1008ab30
cmp dword [0x10ca9884], 0
je 0x1008b5f2
mov edx, dword [ebp + 8]
push esi
push edi
test edx, edx
jne 0x1008b5b0
xor esi, esi
cmp dword [0x10cab118], esi
jbe 0x1008b5a1
push ebx
mov bl, byte [ebp + 0xc]
shl bl, 2
xor edi, edi
mov edx, dword [0x10cab110]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x10cab118]
jb 0x1008b581
pop ebx
xor eax, eax
pop edi
pop esi
xor ecx, ecx
mov edx, 0x10ca9880
xchg dword [edx], ecx
pop ebp
ret
mov esi, dword [0x10cab118]
xor eax, eax
test esi, esi
je 0x1008b5d0
mov edi, dword [0x10cab110]
mov ecx, edi
cmp edx, dword [ecx]
je 0x1008b5d7
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x1008b5c4
mov eax, 4
jmp 0x1008b5a3
cmp eax, 0xffffffff
je 0x1008b5d0
mov cl, byte [ebp + 0xc]
imul edx, eax, 0x2c
shl cl, 2
xor cl, byte [edx + edi + 0x14]
and cl, 4
xor byte [edx + edi + 0x14], cl
jmp 0x1008b5a1
mov eax, 2
jmp 0x1008b5a5

Function at 0x1008b600
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x1008b655
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1008b644
push ebx
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x1008b63d
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1008b63d
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1008b615
pop ebx
push dword [edi]
push 0
push dword [0x10ca9884]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret

Function at 0x1008b660
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10cab104]
test eax, eax
je 0x1008b67c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1008b6cb
mov eax, dword [eax]
test eax, eax
jne 0x1008b670
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1008b6d9
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x1008b6a5
mov ecx, dword [0x10cab104]
pop edi
mov dword [eax], ecx
pop esi
mov dword [0x10cab104], eax
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 0x100ac170
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
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
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.10005ac0
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x100ac1ce
add eax, 0x10
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.100b634d
int3
Function at 0x100ac590
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x1012e100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 2
push esi
push 0
push ebx
call fcn.1000a540
movzx eax, bl
add esp, 0x10
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
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 eax, ecx, 0x1000193
mov ecx, 0x10ca9c98
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10005ac0
mov ecx, dword [0x10ca9c9c]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x10ca9c9c]
je 0x100ac787
lea eax, [ebp + 8]
mov ecx, 0x10ca9c98
push eax
call fcn.100ac170
push eax
call fcn.100ac200
add esp, 4
test al, al
je 0x100ac787
lea eax, [ebp + 8]
mov ecx, 0x10ca9c98
push eax
call fcn.100ac170
push 0xffffffffffffffff
push esi
push str.jit_function_addr__p
movups xmm0, xmmword [eax]
push 0
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x24], xmm0
call fcn.100070c0
lea eax, [esi + 0x20]
mov dword [ebp - 0x14], 0x8b11118b
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0xffff25c6
push 0x10
push eax
mov dword [ebp - 0xc], 0x11893fff
mov dword [ebp - 8], 0x11111111
call fcn.100b3ba0
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x100ac6cb
lea eax, [esi + 0x1000]
push eax
lea eax, [esi - 0x1000]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.100b3ba0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x100ac6cb
push 0xffffffffffffffff
push str.cant_find_emu_baseaddr
push eax
call fcn.100070c0
add esp, 0xc
mov eax, dword [edi + 0xc]
and eax, 0xffff0000
push 0xffffffffffffffff
push eax
push str.x86_base_addr__p
push 0
mov dword [0x101342c4], eax
call fcn.100070c0
push 0x600
lea eax, [ebp - 0x63c]
push 0
push eax
call fcn.100cea20
mov eax, dword [ebp - 0x30]
add esp, 0x1c
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4b8], eax
or ecx, 0x801020
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x20]
sub esp, 0x600
mov dword [ebp - 0x494], eax
mov edi, esp
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4bc], ecx
mov ecx, 0x180
mov dword [ebp - 0x634], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x63c], esi
lea esi, [ebp - 0x63c]
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4b4], 0x3a4
mov dword [ebp - 0x44], 2
rep movsd dword es:[edi], dword [esi]
call fcn.10007300
add esp, 0x604
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
Function at 0x100aeba0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ffdd5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1012e100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
add eax, 4
mov dword [ebp - 0x20], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.100cd687
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
add esp, 4
lea edi, [eax + 8]
mov edx, dword [esi]
mov ecx, edx
movups xmmword [edi], xmm0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x10], 0
lea eax, [ecx + 2]
mov dword [edi + 0x14], 0
mov dword [ebp + 0xc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100aec14
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10020870
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
movups xmm0, xmmword [esi + 4]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x14]
movq qword [edi + 0x28], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
cmp dword [edi + 0x14], 7
mov edx, dword [edi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], edi
jbe 0x100aec80
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
xor ecx, ecx
mov esi, 0x811c9dc5
add edx, edx
je 0x100aeca4
mov edi, dword [ebp + 0xc]
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100aec90
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.100ae790
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100aecf1
cmp dword [ebp - 0x1c], 0
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov byte [esi + 4], 0
je 0x100aecdc
mov ecx, edi
call fcn.1009e880
push 0x38
push dword [ebp - 0x1c]
call fcn.100cd6b7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
cmp eax, 0x4924924
je 0x100aed84
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101047e0]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101047e0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x100aed59
call fcn.100afd20
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.100ae790
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
jmp 0x100aed5c
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push esi
call fcn.10021b30
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.100b632d
int3
Function at 0x100b2540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x1012e100]
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 0x100b25fd
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x100b2584
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b25fd
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 0x100b25a0
push edi
push 0x104
push ecx
call fcn.100d95b0
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 0x100b25fd
test bl, bl
je 0x100b25ea
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b25fd
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd9fa
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.100cd9fa
mov esp, ebp
pop ebp
ret

Function at 0x100b2980
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10caa638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10caa1d4]
cmp eax, dword [ecx + 4]
jg 0x100b29c9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10ca9d20
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x100b29c4
add esi, 4
cmp esi, 0x10caa1d0
jne 0x100b29b0
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10caa1d4
call fcn.100cdb48
add esp, 4
cmp dword [0x10caa1d4], 0xffffffff
jne 0x100b299f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x10134250
push 0x4b0
push 0x10ca9d20
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
push 0x10caa1d4
mov dword [0x10caa1d0], eax
call fcn.100cdaf7
add esp, 4
jmp 0x100b299f

Function at 0x100b2a10
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x100b2ab7
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x100b2ab7
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x100b2a99
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x100b2a90
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