joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b696
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x443740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00421f04
mov dword [ebp - 0x14], eax
cmp dword [0x4470a4], esi
jne 0x42b789
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42b716
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42b869
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42b869
push 0x439c98
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42b869
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4470a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4470a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4470ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4470b4], eax
test eax, eax
je 0x42b786
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4470b0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42b7ae
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42b7a1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42b7c3
push 4
pop eax
jmp 0x42b86b
cmp dword [ebp - 0x14], esi
je 0x42b7c3
push dword [0x4470a4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42b7a8
mov eax, dword [0x4470b0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42b821
cmp dword [0x4470b4], edi
je 0x42b821
push eax
call ebx
push dword [0x4470b4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42b821
test eax, eax
je 0x42b821
call ecx
test eax, eax
je 0x42b816
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42b816
test byte [ebp - 8], 1
jne 0x42b821
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42b851
mov eax, dword [0x4470a8]
cmp eax, edi
je 0x42b84e
push eax
call ebx
test eax, eax
je 0x42b84e
call eax
mov esi, eax
test esi, esi
je 0x42b84e
mov eax, dword [0x4470ac]
cmp eax, edi
je 0x42b84e
push eax
call ebx
test eax, eax
je 0x42b84e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4470a4]
call ebx
test eax, eax
je 0x42b869
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42b86b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bbda
mov esp, ebp
pop ebp
ret
Function at 0x10005840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0xf
push 0
movups xmmword [ebp - 0x214], xmm0
push eax
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x1fc], 0
call sub.msvcrt.dll_memset
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100abc30
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x100058eb
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100058e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005943
push ecx
push edx
call fcn.100aa41f
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100084f0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100aec80
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x100ea3b0
push 0x1f8
push eax
push dword [0x100e5338]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100aa42d
mov esp, ebp
pop ebp
ret
call fcn.100ab910
int3

Function at 0x100059c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x100ea330]
push edi
push eax
push ecx
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10005a2c
xorps xmm0, xmm0
mov eax, ebx
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
pop edi
mov dword [ebx + 0x14], 0xf
pop esi
mov byte [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100aa42d
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100059f4
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
movups xmmword [ebp - 0x1c], xmm0
push dword [ebp - 0x20]
push esi
call fcn.10004910
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov eax, ebx
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebx + 0x14], 0
xor ecx, ebp
pop edi
movups xmmword [ebx], xmm0
pop esi
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
pop ebx
call fcn.100aa42d
mov esp, ebp
pop ebp
ret
Function at 0x10005e00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba3a5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
mov eax, dword [esi + 0x5f8]
test eax, eax
je 0x10005e4d
push dword [esi]
push eax
push str._p____p
call fcn.10005840
add esp, 0xc
mov eax, dword [0x100ea3a4]
inc eax
mov dword [0x100ea3a4], eax
cmp eax, 0x9c4
jl 0x10005e73
push str.too_many_hooks:_cant_insert
call fcn.10005840
add esp, 4
xor al, al
jmp 0x10005fc0
test edi, edi
je 0x10005e90
cmp byte [edi], 0
je 0x10005e90
push 0x3b
push edi
lea eax, [esi + 0x1d0]
push 0x3c
push eax
call fcn.100abc30
add esp, 0x10
lea eax, [esi + 0x1d0]
push eax
push str.inserting_hook:__s
call fcn.10005840
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x608
lea eax, [ebp - 0x28]
mov edi, esp
mov ecx, 0x182
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10075ce0
add esp, 0x610
cmp dword [eax + 0x14], 7
jbe 0x10005ed1
mov eax, dword [eax]
mov esi, dword [ebp - 0x44]
push eax
push 0x1f4
lea ecx, [esi + 0x20c]
push ecx
mov dword [ebp - 0x48], ecx
call fcn.100abaa0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10005550
imul eax, dword [0x100ea3a4], 0x6c8
sub esp, 0x608
mov edi, esp
mov ecx, 0x182
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x100ea3a0]
mov ecx, eax
call fcn.10008a90
test al, al
jne 0x10005f8f
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.10004f00
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10074390
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 1
jbe 0x10005f51
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.10005840
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10005500
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10005550
imul ecx, dword [0x100ea3a4], 0x6c8
add ecx, dword [0x100ea3a0]
call fcn.10008840
xor al, al
jmp 0x10005fc0
mov eax, dword [ebp - 0x44]
push 0
push 0x100ea3b0
push 0x10
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x58]
push eax
push dword [0x100e5338]
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x4c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100aa42d
mov esp, ebp
pop ebp
ret
Function at 0x10005fe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x610]
push esi
push edi
mov dword [ebp - 0xa18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x608
lea eax, [ebp - 0x1c]
mov edi, esp
lea esi, [ebp + 8]
mov ecx, 0x182
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10075ce0
add esp, 0x610
cmp dword [eax + 0x14], 7
jbe 0x10006031
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x214]
push 0x1f4
push eax
call fcn.100abaa0
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp ecx, 7
jbe 0x10006080
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006076
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100060fb
push ecx
push edx
call fcn.100aa41f
add esp, 8
push 0x3e8
lea eax, [ebp - 0x404]
mov dword [ebp - 0xa14], 2
mov ecx, 0x182
lea esi, [ebp + 8]
lea edi, [ebp - 0xa0c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.msvcrt.dll_memset
push 0x1f3
push dword [ebp - 0xa18]
lea eax, [ebp - 0x404]
push 0x1f4
push eax
call fcn.100abb40
add esp, 0x1c
lea eax, [ebp - 0xa14]
push 0
push 0x100ea3b0
push 0x9f8
push eax
push dword [0x100e5338]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100aa42d
mov esp, ebp
pop ebp
ret
call fcn.100ab910
int3

Function at 0x10006110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x1000612b
push eax
push str.removing_hook:__s
call fcn.10005840
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x100ea3b0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x100e5338]
mov dword [ebp - 0x10], 3
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x100082f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba51d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
sub eax, 0
je 0x100084a2
sub eax, 1
jne 0x100084c2
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100ea330], edi
call ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100081b0
add esp, 8
push 0x100ea414
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push ecx
call fcn.100047a0
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.10005230
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x100ea33c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov dword [0x100ea33c], ecx
test eax, eax
je 0x1000839f
cmp eax, 0xffffffff
je 0x1000839f
push eax
call esi
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
test eax, eax
je 0x100083b2
cmp eax, 0xffffffff
je 0x100083b2
push eax
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10005550
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100083d5
xor eax, eax
jmp 0x100084c7
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call ebx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100081b0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push str.LUNA_VNR_SECTION_
push eax
call fcn.100047a0
add esp, 0x14
push eax
push 0x423920
push 0x100ea3a0
push 0x100e533c
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 4
call fcn.10005770
lea ecx, [ebp - 0x28]
call fcn.10005550
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10005550
call ebx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100081b0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 5
push str.EMBED_SHARED_MEM
push eax
call fcn.100047a0
add esp, 0x14
push eax
push 0xa00
push 0x100ea334
push 0x100e5340
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 6
call fcn.10005770
lea ecx, [ebp - 0x58]
call fcn.10005550
lea ecx, [ebp - 0x70]
call fcn.10005550
call fcn.100778c0
push 0
push 0
push 0
push fcn.10006160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
jmp 0x100084c0
call fcn.10077b80
call fcn.1006ff90
push dword [0x100ea3a0]
mov esi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call esi
push dword [0x100ea334]
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100aa42d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1002aef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
push ebx
push esi
push edi
push str.Engine.dll
push 0x78
push 0x100e5118
call fcn.100abaa0
mov esi, dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
add esp, 0xc
push 0x100ea3b0
push 0x40
push 2
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0xc340
push 0x608
mov word [esi], ax
lea eax, [ebp - 0x608]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea esi, [ebp - 0x608]
add esp, 0xc
mov dword [ebp - 0x608], eax
mov ecx, 0x182
mov dword [ebp - 0x488], 0x101
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x600], 4
push 0x100c9984
sub esp, 0x608
mov dword [ebp - 0x468], 0x10024f10
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10005ae0
mov edx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea esi, [ebp - 0x608]
add esp, 0x60c
mov dword [ebp - 0x608], edx
mov ecx, 0x182
mov dword [ebp - 0x488], 3
mov dword [ebp - 0x484], 0
mov bl, al
mov dword [ebp - 0x468], 0x10025c50
push 0x100c9998
sub esp, 0x608
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10005ae0
add esp, 0x60c
or al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002b0c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x1002b0f1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1002b0e0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1004e340
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.10004a40
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x1004e39e
add eax, 0xc
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.10092ceb
int3

Function at 0x100561d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x100e5f80]
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 0x1005628b
mov ecx, dword [0x10c5f580]
mov edx, ecx
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10056220
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x100562e9
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 0x10056240
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 0x100562e9
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 0x100cd0a4
push eax
call sub.msvcrt.dll_strstr
add esp, 8
test eax, eax
je 0x100562e9
lea ecx, [ebp - 0x250]
add eax, 3
push ecx
push 0x100cd0a8
push eax
call fcn.10057130
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
pop esi
call fcn.100aa42d
mov esp, ebp
pop ebp
ret

Function at 0x10059390
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 0x100593d1
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 0x100593b0
pop edi
mov edx, esi
mov eax, ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x1006e9e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100beb95
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100e5f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.10004a40
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1006ea73
mov eax, dword [ebp + 8]
mov dword [eax], ecx
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 8
cmp dword [edi + 8], 0x7ffffff
je 0x1006ebe1
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100aa3ef
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0x100c8390
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c7fb0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100c7fb0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1006eb83
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call sub.msvcrt.dll_ceil
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100aa440
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1006eb65
cmp ebx, 0x200
jae 0x1006eb63
shl ebx, 3
cmp ebx, ecx
jae 0x1006eb65
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100074b0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10004a40
mov edx, dword [eax]
jmp 0x1006eb86
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1006ebb1
mov dword [ecx + eax*8], esi
jmp 0x1006ebc0
cmp edi, edx
jne 0x1006ebba
mov dword [ecx + eax*8], esi
jmp 0x1006ebc4
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1006ebc4
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
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 8
push str.unordered_map_set_too_long
call fcn.10092ccb
int3
Function at 0x1006fe70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x100ea339], 0
push esi
je 0x1006fed6
mov eax, dword [0x100ea334]
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 0x1006fecd
mov ecx, dword [eax - 0x50]
cmp ecx, dword [edx + 8]
jne 0x1006fecd
mov ecx, dword [eax - 0x4c]
cmp ecx, dword [edx + 0xc]
jne 0x1006fecd
mov ecx, dword [eax]
cmp ecx, dword [edx + 0x10]
jne 0x1006fecd
mov ecx, dword [eax + 4]
cmp ecx, dword [edx + 0x14]
jne 0x1006fecd
mov ecx, dword [eax + 0x50]
cmp ecx, dword [edx + 0x18]
jne 0x1006fecd
mov ecx, dword [eax + 0x54]
cmp ecx, dword [edx + 0x1c]
je 0x1006fedb
inc esi
add eax, 8
cmp esi, 0xa
jl 0x1006fe90
xor al, al
pop esi
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test al, 0xf0
jne 0x1006fef9
push 0x10
call esi
test al, 0xf0
je 0x1006ff07
push 0xd
call esi
test al, 0xf0
jne 0x1006ff07
mov eax, dword [0x100ea334]
cmp byte [eax + 0x9f8], 0
jne 0x1006fed6
mov al, 1
pop esi
pop ebp
ret

Function at 0x1006ff90
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
call fcn.100917c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10091ca0
mov esi, dword [0x10c5f9a4]
mov edi, dword [0x10c5f9a8]
cmp esi, edi
je 0x1007004f
mov edx, dword [esi]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 4], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10c5f9b4
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10004a40
mov eax, dword [ebp - 8]
test eax, eax
je 0x1007005d
movups xmm1, xmmword [eax + 0xc]
movaps xmm0, xmm1
psrldq xmm1, 4
psrldq xmm0, 8
movd eax, xmm0
push eax
movd eax, xmm1
push eax
call fcn.100914d0
add esi, 4
cmp esi, edi
jne 0x1006ffd0
call fcn.10091820
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.invalid_unordered_map_K__T__key
call fcn.10092ceb
int3