joyce8/EMBER2024-capa huggingface dataset:
Function at 0x63993c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x676cfc
cmp dword [edi], 0
jne 0x6399b8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x676cf8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x66dde0
mov ecx, 2
call fcn.004023c8
mov edx, 0x639914
lea eax, [esi + 5]
call fcn.00639934
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00639934
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x63998d
mov dword [0x676cf8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x639ae8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x639b38]
test si, 4
je 0x639afc
or bl, 1
test si, 8
je 0x639b06
or bl, 4
test si, 1
je 0x639b10
or bl, 8
test si, 2
je 0x639b1a
or bl, 0x10
test si, 0x10
je 0x639b24
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x639b33
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x639b3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x639b74]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x639b55
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x639b64
or bl, 4
test esi, 0x20000000
je 0x639b6f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x63cc08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x150]
test eax, eax
je 0x63cc93
cmp dword [ebx + 0x28], 0
jne 0x63cc90
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x63cb80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x18], 0
je 0x63cc90
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x63cc60
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x24]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x63cc90
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x63cc6c
inc dword [ebx + 0x28]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x63d848
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x20], 0
je 0x63d887
mov eax, dword [ebx + 0x20]
call fcn.006439a8
test al, al
je 0x63d87f
mov eax, dword [ebx + 0x20]
call fcn.00643864
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x63d87f
push 0
mov eax, dword [ebx + 0x20]
call fcn.00643864
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x20]
xor edx, edx
mov dword [eax + 0x18], edx
pop ebx
ret
Function at 0x644778
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor ecx, ecx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x644883
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403274
mov eax, dword [0x676d58]
push eax
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyExA
shl eax, 0x10
test eax, eax
je 0x64481c
push 0xff
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
cmp word [ebp - 0x200], 0
jne 0x6447eb
cmp word [ebp - 0x202], 0
jne 0x6447f7
cmp byte [ebp - 2], 0x60
jb 0x6447f7
cmp byte [ebp - 2], 0x6f
jbe 0x64485f
lea eax, [ebp - 0x208]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00403a08
mov eax, dword [ebp - 0x208]
mov edx, ebx
call fcn.00654c3c
jmp 0x64485f
cmp byte [ebp - 2], 0
je 0x64485f
mov eax, dword [0x676d58]
and eax, 0xffff
call fcn.0065378c
push eax
lea eax, [ebp - 0x20c]
mov dl, byte [ebp - 2]
call fcn.00403418
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x208]
pop edx
call fcn.00654b60
mov eax, dword [ebp - 0x208]
mov edx, ebx
call fcn.00654c3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64488a
lea eax, [ebp - 0x20c]
call fcn.00403274
lea eax, [ebp - 0x208]
call fcn.00403880
ret

Function at 0x64740c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x647412
ret

Function at 0x652b50
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0x21], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x652b60
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
dec eax
jne 0x652b73
mov byte [ebx + 0x21], 0
pop ebx
ret

Function at 0x65378c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x653814
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
shr eax, 0xa
jne 0x6537b1
add ebx, 0x400
push 0
push 0
push 0x1004
mov edi, ebx
and edi, 0xffff
push edi
call sub.kernel32.dll_GetLocaleInfoA
mov esi, eax
test esi, esi
jle 0x6537f9
lea eax, [ebp - 4]
mov edx, esi
call fcn.00403804
push esi
mov eax, dword [ebp - 4]
push eax
push 0x1004
push edi
call sub.kernel32.dll_GetLocaleInfoA
mov edx, 0x4e4
mov eax, dword [ebp - 4]
call fcn.00655d24
mov ebx, eax
jmp 0x6537fe
mov ebx, 0x4e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65381b
lea eax, [ebp - 4]
call fcn.00403274
ret

Function at 0x6569ac
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, ecx
push pe_nt_image_headers32
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov ecx, eax
dec ecx
mov edx, esp
mov eax, ebx
call fcn.00403964
add esp, 0x200
pop ebx
ret
Function at 0x6569dc
Capabilities:
Get geographical location

Disassembly:
push ecx
push 2
lea edx, [esp + 4]
push edx
push eax
push 0x400
call sub.kernel32.dll_GetLocaleInfoW
mov ax, word [esp]
pop edx
ret
Function at 0x100039f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x10003d90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4fd5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10117fc0]
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.10003bb0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10003e23
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 0x10003f86
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100ba36a
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0x10], 0
mov dword [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 + 0x100f07a0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100f07a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10003f28
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100cb6a0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100ba720
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10003f0a
cmp ebx, 0x200
jae 0x10003f08
shl ebx, 3
cmp ebx, ecx
jae 0x10003f0a
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10007120
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10003bb0
mov edx, dword [eax]
jmp 0x10003f2b
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 0x10003f56
mov dword [ecx + eax*8], esi
jmp 0x10003f65
cmp edi, edx
jne 0x10003f5f
mov dword [ecx + eax*8], esi
jmp 0x10003f69
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10003f69
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.100a2d79
int3
Function at 0x10004ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10117fc0]
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 fcn.100bbb80
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100c6b46
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10004f7b
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004f71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004fd3
push ecx
push edx
call fcn.100ba39a
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.10008650
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100cb5d1
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x1011da30
push 0x1f8
push eax
push dword [0x101172b8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba6c2
mov esp, ebp
pop ebp
ret
call fcn.100c657f
int3

Function at 0x10005050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10117fc0]
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 [0x1011d9c0]
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 0x100050bc
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.100ba6c2
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 0x10005084
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 fcn.100bbf40
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.10003b20
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.100ba6c2
mov esp, ebp
pop ebp
ret
Function at 0x100058a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e51d5
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10117fc0]
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 - 0x43c], esi
mov edx, dword [esi + 0x5f0]
mov eax, edx
mov ecx, dword [esi + 0x5f4]
or eax, ecx
je 0x100058ff
push dword [esi + 4]
push dword [esi]
push ecx
push edx
push str._p____p
call fcn.10004ed0
add esp, 0x14
mov eax, dword [0x1011d9d0]
inc eax
mov dword [0x1011d9d0], eax
cmp eax, 0x9c4
jl 0x10005925
push str.too_many_hooks:_cant_insert
call fcn.10004ed0
add esp, 4
xor al, al
jmp 0x10005aa1
test edi, edi
je 0x10005942
cmp byte [edi], 0
je 0x10005942
push 0x3b
push edi
lea eax, [esi + 0x1c8]
push 0x3c
push eax
call fcn.100c6b46
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0xa00
lea eax, [ebp - 0x28]
mov edi, esp
mov ecx, 0x280
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10083330
mov ecx, eax
add esp, 0xa08
cmp dword [ecx + 0x14], 7
jbe 0x10005971
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x43c]
push ecx
push 0x1f4
lea eax, [esi + 0x204]
push eax
call fcn.100c6680
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.100049f0
imul eax, dword [0x1011d9d0], 0xac0
sub esp, 0xa00
mov edi, esp
mov ecx, 0x280
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x1011d9cc]
mov ecx, eax
call fcn.10008c00
test al, al
jne 0x10005a38
mov eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x28]
add eax, 0x204
push eax
call fcn.10004530
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100819c0
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 1
jbe 0x100059fa
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.10004ed0
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.100049a0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100049f0
imul ecx, dword [0x1011d9d0], 0xac0
add ecx, dword [0x1011d9cc]
call fcn.10008990
xor al, al
jmp 0x10005aa1
mov edx, dword [ebp - 0x43c]
lea esi, [ebp - 0x428]
mov dword [ebp - 0x438], 4
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x42c], ecx
lea ecx, [edx + 0x204]
mov dword [ebp - 0x430], eax
sub esi, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x10005a70
push 0
push 0x1011da30
push 0x3f8
lea eax, [ebp - 0x438]
push eax
push dword [0x101172b8]
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.100ba6c2
mov esp, ebp
pop ebp
ret
Function at 0x10005d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x10005d8b
push eax
push str.removing_hook:__s
call fcn.10004ed0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x1011da30
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x101172b8]
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 0x10006cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x280
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
push edi
push 0
movups xmmword [edx], xmm0
push 0x1011da30
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ebp + 0x14]
lea edi, [edx + 0x20]
add eax, 0xa28
push eax
movups xmmword [edx + 0x10], xmm0
push edx
rep movsd dword es:[edi], dword [esi]
push dword [0x101172b8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret

Function at 0x10007120
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x10007279
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10003820
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1000724c
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x100071d1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10007242
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1000720b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x10007203
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x1000723f
cmp edi, edx
je 0x1000721c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10007255
cmp edi, edx
jne 0x10007210
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x10007182
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1000723f
push str.invalid_hash_bucket_count
call fcn.100a2d79
int3
Function at 0x10007290
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x100073ea
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10006d10
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100073bd
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x10007343
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100073b3
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1000737d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x10007375
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x100073b0
cmp edi, edx
je 0x1000738d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100073c6
cmp edi, edx
jne 0x10007381
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x100072f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100073b0
push str.invalid_hash_bucket_count
call fcn.100a2d79
int3