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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x411a78]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00404309
mov dword [ebp - 0x14], eax
cmp dword [0x4127f4], edi
jne 0x4077d4
push 0x800
push edi
push 0x40c080
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x407761
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4078b4
push 0x40c080
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4078b4
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4078b4
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4127f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4127f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4127fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412804], eax
test eax, eax
je 0x4077d1
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412800], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4077f9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4077ec
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40780e
push 4
pop eax
jmp 0x4078b6
cmp dword [ebp - 0x14], edi
je 0x40780e
push dword [0x4127f4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4077f3
mov eax, dword [0x412800]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40786c
cmp dword [0x412804], esi
je 0x40786c
push eax
call ebx
push dword [0x412804]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40786c
test eax, eax
je 0x40786c
call ecx
test eax, eax
je 0x407861
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 0x407861
test byte [ebp - 8], 1
jne 0x40786c
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40789c
mov eax, dword [0x4127f8]
cmp eax, esi
je 0x407899
push eax
call ebx
test eax, eax
je 0x407899
call eax
mov edi, eax
test edi, edi
je 0x407899
mov eax, dword [0x4127fc]
cmp eax, esi
je 0x407899
push eax
call ebx
test eax, eax
je 0x407899
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4127f4]
call ebx
test eax, eax
je 0x4078b4
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4078b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407535
leave
ret
Function at 0x1c080b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01c08200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1c080d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1c080c2
add dl, dl
jne 0x1c080e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1c08134
xor eax, eax
add dl, dl
jne 0x1c080ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1c081d5
add dl, dl
jne 0x1c080fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c08108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c08113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c0811e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1c0812a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1c080cd
mov eax, 1
add dl, dl
jne 0x1c08142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c0814d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1c08139
sub eax, ebx
mov ebx, 1
jne 0x1c08180
mov ecx, 1
add dl, dl
jne 0x1c08166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c08171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1c0815d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1c080cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1c08197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c081a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1c0818e
cmp eax, 0x7d00
jae 0x1c081c5
cmp eax, 0x500
jb 0x1c081c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1c080cd
cmp eax, 0x7f
ja 0x1c081c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1c080cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1c081f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1c080cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x12297689
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x74790f03
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10004210
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 0x10004680
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef565
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101240c0]
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.100044a0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10004713
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 0x10004876
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100c4d6c
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 + 0x100fb7e0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100fb7e0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10004818
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100d5cb0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100c5120
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x100047fa
cmp ebx, 0x200
jae 0x100047f8
shl ebx, 3
cmp ebx, ecx
jae 0x100047fa
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10007b30
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100044a0
mov edx, dword [eax]
jmp 0x1000481b
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 0x10004846
mov dword [ecx + eax*8], esi
jmp 0x10004855
cmp edi, edx
jne 0x1000484f
mov dword [ecx + eax*8], esi
jmp 0x10004859
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10004859
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.100ada19
int3
Function at 0x10005aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101240c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [ebp - 0x208], 0
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x204], 0xf
push 0
movups xmmword [ebp - 0x218], xmm0
push eax
mov byte [ebp - 0x218], 0
mov dword [ebp - 0x200], 0
call fcn.100c6100
push 0x1f3
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100d1156
mov ecx, dword [ebp - 0x204]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10005b4b
mov edx, dword [ebp - 0x218]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005b41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bac
push ecx
push edx
call fcn.100c4d9c
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1fc], eax
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10009690
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100d5be1
add esp, 0x1c
lea eax, [ebp - 0x200]
push 0
push 0x10129e20
push 0x1fc
push eax
push dword [0x10123278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c50df
mov esp, ebp
pop ebp
ret
call fcn.100d0b8f
int3
Function at 0x10005bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101240c0]
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 [0x10129d3c]
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 0x10005c2c
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.100c50df
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 0x10005bf4
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.100c6960
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.10004370
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.100c50df
mov esp, ebp
pop ebp
ret
Function at 0x10006250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef78d
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x101240c0]
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 - 0x424], esi
mov edx, dword [esi + 0x5f0]
mov eax, edx
mov ecx, dword [esi + 0x5f4]
or eax, ecx
je 0x100062b3
push 0xffffffffffffffff
push dword [esi + 4]
push dword [esi]
push ecx
push edx
push str._p____p
push 0
call fcn.10005aa0
add esp, 0x1c
mov eax, dword [0x10129dc0]
inc eax
mov dword [0x10129dc0], eax
cmp eax, 0x9c4
jl 0x100062dd
push 0xffffffffffffffff
push str.too_many_hooks:_cant_insert
push 0
call fcn.10005aa0
add esp, 0xc
xor al, al
jmp 0x10006441
test edi, edi
je 0x100062fa
cmp byte [edi], 0
je 0x100062fa
push 0x3b
push edi
lea eax, [esi + 0x1c8]
push 0x3c
push eax
call fcn.100d1156
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.10085990
mov ecx, eax
add esp, 0xa08
cmp dword [ecx + 0x14], 7
jbe 0x10006329
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x424]
push ecx
push 0x1f4
lea eax, [esi + 0x204]
push eax
call fcn.100d0c90
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10005530
imul eax, dword [0x10129dc0], 0xac0
sub esp, 0xa00
mov edi, esp
mov ecx, 0x280
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x10129dbc]
mov ecx, eax
call fcn.10009c40
test al, al
jne 0x100063dc
mov eax, dword [ebp - 0x424]
add eax, 0x204
push 0xfde9
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10083f90
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x100063a2
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
push str.failed_to_insert_hook__s
push 0
call fcn.10005aa0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100054e0
imul ecx, dword [0x10129dc0], 0xac0
add ecx, dword [0x10129dbc]
call fcn.100099d0
xor al, al
jmp 0x10006441
mov edx, dword [ebp - 0x424]
lea esi, [ebp - 0x410]
mov dword [ebp - 0x420], 4
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x414], ecx
lea ecx, [edx + 0x204]
mov dword [ebp - 0x418], eax
sub esi, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x10006410
push 0
push 0x10129e20
push 0x3f8
lea eax, [ebp - 0x420]
push eax
push dword [0x10123278]
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.100c50df
mov esp, ebp
pop ebp
ret
Function at 0x10006710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x1000672f
push 0xffffffffffffffff
push eax
push str.removing_hook:__s
push 0
call fcn.10005aa0
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x10129e20
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x10123278]
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 0x100076d0
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 0x10129e20
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 [0x10123278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret

Function at 0x10007b30
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 0x10007c8a
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.10007720
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 0x10007c5d
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 0x10007be3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10007c53
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10007c1d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x10007c15
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 0x10007c50
cmp edi, edx
je 0x10007c2d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10007c66
cmp edi, edx
jne 0x10007c21
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 0x10007b92
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 0x10007c50
push str.invalid_hash_bucket_count
call fcn.100ada19
int3
Function at 0x100080f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x10008246
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x20
push eax
call fcn.100c4d9c
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x100081a9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10008167
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1000823c
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x100081bd
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x100081c0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1000823c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x20
push eax
call fcn.100c4d9c
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x1000824d
cmp esi, eax
jne 0x10008217
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x100081d0
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8