joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464a74
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x464bbc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00409318
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004086a4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048b4
mov ecx, eax
mov edx, 2
mov eax, dword [ebp - 0xc]
call fcn.00404b14
mov eax, dword [ebp - 0xc]
mov edx, 0x464bd4
call fcn.00404a00
jne 0x464aea
lea eax, [ebp - 0xc]
mov edx, 0x464be0
call fcn.0040468c
mov eax, dword [ebp - 0xc]
call fcn.00404ab4
mov ebx, eax
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409218
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.0040468c
push ebx
mov eax, dword [ebp - 4]
call fcn.00404ab4
push eax
mov eax, dword [0x476668]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov edi, eax
push edi
mov eax, dword [0x476668]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x464b59
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x464bf0
call fcn.00404900
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x415a84]
call fcn.0040c5c4
call fcn.00403fac
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 8], eax
mov eax, esi
call fcn.0041b080
push edi
mov eax, dword [0x476668]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0041ab64
xor ecx, ecx
xor edx, edx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
call fcn.00407414
push ebx
call sub.KERNEL32.DLL_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464bc3
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404618
lea eax, [ebp - 4]
call fcn.004045f4
ret

Function at 0x467334
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x4673b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ab4
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x46737d
mov eax, dword [ebx + 4]
call fcn.00404ab4
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4673b9
lea eax, [ebp - 4]
call fcn.004045f4
ret
Function at 0x468538
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x468564
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404ab4
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x468589
call fcn.0040dd18
xor eax, eax
push ebp
push 0x4685c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x4685a9
call fcn.0040dd18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4685c7
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x46ab1c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x46ac05
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004086a4
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 4]
call fcn.0040468c
xor ebx, ebx
lea eax, [ebp - 0x144]
push eax
push 0x46ac14
call sub.KERNEL32.DLL_FindFirstFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x46abdf
or eax, 0xffffffff
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404864
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.004086a4
mov eax, dword [ebp - 0x14c]
mov edx, dword [ebp - 4]
call fcn.00404a00
jne 0x46abc8
mov bl, 1
jmp 0x46abd9
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x46ab8d
push esi
call sub.KERNEL32.DLL_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ac0c
lea eax, [ebp - 0x150]
mov edx, 3
call fcn.00404618
lea eax, [ebp - 4]
call fcn.004045f4
ret
Function at 0x46b2d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x46b417
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [0x475980], 0
je 0x46b3f4
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00409318
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004086a4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048b4
mov ecx, eax
mov edx, 2
mov eax, dword [ebp - 0x10]
call fcn.00404b14
mov eax, dword [ebp - 0x10]
mov edx, 0x46b430
call fcn.00404a00
jne 0x46b365
lea eax, [ebp - 0x10]
mov edx, 0x46b43c
call fcn.0040468c
mov eax, dword [ebp - 0x10]
call fcn.00404ab4
mov ebx, eax
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409218
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.0040468c
push ebx
mov eax, dword [ebp - 4]
call fcn.00404ab4
push eax
mov eax, dword [0x475980]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov edi, eax
push edi
mov eax, dword [0x475980]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
je 0x46b3f4
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
call fcn.0041b080
push edi
mov eax, dword [0x475980]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [esi]
call fcn.0041ab64
mov eax, dword [esi]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
call fcn.00407414
push ebx
call sub.KERNEL32.DLL_FreeResource
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b41e
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404618
lea eax, [ebp - 4]
call fcn.004045f4
ret

Function at 0x470a58
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x470b01
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x470b14
call fcn.0040468c
mov eax, dword [0x475ca4]
mov eax, dword [eax]
mov edx, 0x470b24
call fcn.00404a00
jne 0x470a9c
lea eax, [ebp - 4]
mov edx, 0x470b30
call fcn.0040468c
lea eax, [ebp - 8]
mov edx, 0x470b3c
call fcn.0040468c
push 8
push 0
push 0
push 0x470b4c
push dword [ebp - 4]
push 0x470b6c
push dword [ebp - 8]
push 0x470b94
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.00404974
mov eax, dword [ebp - 0xc]
call fcn.00404ab4
push eax
push 0x470b9c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470b08
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404618
ret
Function at 0x4718e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov ebx, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x471a03
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004717c8
mov dl, 1
mov eax, dword [0x4162b0]
call fcn.004037f0
mov dword [ebp - 4], eax
test bl, bl
je 0x47195a
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00408b5c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x471a18
call fcn.00404900
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov edx, 0x27ac40
call fcn.0046dff4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x471977
lea ecx, [ebp - 0x18]
mov edx, 0x27ac40
mov eax, 0x471a18
call fcn.0046dff4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0x471a2c
call fcn.0040a7a4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x20]
mov eax, 0x471a50
call fcn.0040b420
push dword [ebp - 0x20]
push 0x471a64
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404974
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 8]
mov eax, dword [0x476e04]
call fcn.0045f808
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea eax, [ebp - 4]
call fcn.0040e274
push 8
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404ab4
push eax
push 0x471a6c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471a0a
lea eax, [ebp - 0x20]
mov edx, 7
call fcn.00404618
ret

Function at 0x471a94
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x471b6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov dl, 1
mov eax, dword [0x431a6c]
call fcn.00431b6c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x471b4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.00431c0c
mov cl, 1
mov edx, 0x471b88
mov eax, dword [ebp - 8]
call fcn.00431c70
test al, al
je 0x471b3d
xor eax, eax
push ebp
push 0x471b19
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, 0x471bc0
mov eax, dword [ebp - 8]
call fcn.00432034
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x471b2b
cmp dword [ebp - 0xc], 0
je 0x471b35
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
call fcn.00431bdc
mov eax, dword [ebp - 8]
call fcn.00403820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x471b59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471b76
lea eax, [ebp - 0xc]
call fcn.004045f4
ret
Function at 0x4059a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4059d1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4059c0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x405f40
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 0x40db30
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x46f080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
push 1
mov dword [ebp - 0x5c], edi
push eax
mov dword [ebp - 0x5c], edi
call fcn.0040d860
xor eax, eax
mov dword [edi], vtable.KeyboardHook.0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8KeyboardHook__AEXHIJ_ZPAV3_ABU___Ph__00_2_ABU___Ph__01_2_ABU___Ph__02_2__std__XHIJ_std__.0
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x24], 7
mov word [edi + 0x10], ax
movzx eax, byte [ebp - 0x55]
mov byte [ebp - 0x24], al
movzx eax, byte [ebp - 0x55]
mov byte [ebp - 0x23], al
movzx eax, byte [ebp - 0x55]
mov byte [ebp - 0x22], al
lea eax, [ebp - 0x2c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x28], 0x40e300
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], 0
call fcn.0040dff0
mov ecx, dword [ebp - 8]
mov edx, eax
mov dword [ebp - 0x30], edx
test ecx, ecx
je 0x40dbd9
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 8], ecx
push esi
mov esi, dword [0x47124c]
test esi, esi
je 0x40dc36
cmp esi, 0x471228
jne 0x40dc27
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call dword [eax + 4]
mov esi, dword [0x47124c]
mov ecx, eax
mov dword [ebp - 8], ecx
test esi, esi
je 0x40dc22
mov edx, dword [esi]
cmp esi, 0x471228
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x30]
jmp 0x40dc2c
mov edx, dword [ebp - 0x30]
jmp 0x40dc36
mov ecx, esi
mov dword [ebp - 8], ecx
mov dword [0x47124c], 0
pop esi
test edx, edx
je 0x40dc76
lea eax, [ebp - 0x54]
cmp edx, eax
jne 0x40dc70
mov eax, dword [edx]
mov ecx, edx
push 0x471228
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
mov dword [0x47124c], eax
test ecx, ecx
je 0x40dc6b
mov edx, dword [ecx]
lea eax, [ebp - 0x54]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 8]
jmp 0x40dc76
mov dword [0x47124c], edx
test ecx, ecx
je 0x40dc8b
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push 0
push 0
push 0x40e2b0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ecx, dword [ebp - 4]
mov dword [edi + 8], eax
xor ecx, ebp
mov eax, edi
pop edi
call fcn.00433fc5
mov esp, ebp
pop ebp
ret 4
Function at 0x40e4a0
Capabilities:
Log keystrokes via application hook

Disassembly:
push esi
push 0
push 0
push 0x40e2b0
push 0xd
mov esi, ecx
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 8], eax
pop esi
ret
Function at 0x40e6d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x46f080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x100
push 0
push eax
mov dword [ebp - 0x124], ebx
call fcn.00435b30
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
lea ecx, [ebp - 0x104]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
test eax, eax
jle 0x40e90a
push esi
push edi
lea eax, [ebp - 0x120]
mov dword [ebp - 0x10c], 0
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x108], 7
push eax
movups xmmword [ebp - 0x11c], xmm0
lea esi, [ebp - 0x104]
mov dword [ebp - 0x120], 0x107
call fcn.00406070
mov edi, dword [ebp - 0x120]
add esp, 8
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x108], edi
cmp edi, 7
lea ecx, [ebp - 0x11c]
cmova ecx, eax
movsx ax, byte [esi]
inc esi
mov word [ecx + edx*2], ax
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10c]
inc edx
mov dword [ebp - 0x10c], edx
cmp esi, eax
je 0x40e7b9
mov edi, dword [ebp - 0x108]
mov eax, dword [ebp - 0x11c]
jmp 0x40e782
cmp dword [ebp - 0x108], 7
lea eax, [ebp - 0x11c]
push 0
cmova eax, dword [ebp - 0x11c]
xor ecx, ecx
mov word [eax + edx*2], cx
lea edx, [ebp - 0x11c]
cmp dword [ebp - 0x108], 7
mov esi, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x10c]
cmova edx, esi
lea ecx, [eax + eax]
lea eax, [ecx + edx]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x11c]
cmova eax, esi
add eax, ecx
cmp dword [ebp - 0x108], 7
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x11c]
cmova eax, esi
mov esi, dword [ebp - 0x124]
push esi
push eax
call fcn.0041c530
mov edi, eax
cmp eax, esi
je 0x40e84d
add eax, 2
cmp eax, esi
je 0x40e84d
movzx ecx, word [eax]
test cx, cx
je 0x40e846
mov word [edi], cx
add edi, 2
add eax, 2
cmp eax, esi
jne 0x40e838
cmp dword [ebp - 0x108], 7
lea eax, [ebp - 0x11c]
mov esi, edi
cmova eax, dword [ebp - 0x11c]
sub esi, eax
mov eax, dword [ebp - 0x120]
sub eax, edi
sar esi, 1
mov edi, dword [ebp - 0x10c]
sar eax, 1
mov dword [ebp - 0x120], eax
mov eax, edi
mov edx, dword [ebp - 0x120]
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x108], 7
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], edx
cmova eax, dword [ebp - 0x11c]
sub edi, edx
lea ecx, [eax + esi*2]
mov eax, edi
sub eax, esi
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.004355b0
xorps xmm0, xmm0
mov dword [ebp - 0x10c], edi
movups xmmword [ebx], xmm0
add esp, 0xc
mov dword [ebx + 0x10], 0
movups xmm0, xmmword [ebp - 0x11c]
mov dword [ebx + 0x14], 0
mov eax, ebx
movups xmmword [ebx], xmm0
pop edi
movq xmm0, qword [ebp - 0x10c]
pop esi
movq qword [ebx + 0x10], xmm0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433fc5
mov esp, ebp
pop ebp
ret 4
push 0
movups xmmword [ebx], xmm0
push 0x45db0c
mov ecx, ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
call fcn.004061a0
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00433fc5
mov esp, ebp
pop ebp
ret 4
Function at 0x4123f0
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 0x41254a
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.0040a500
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 0x41251d
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 0x4124a3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x412513
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x4124dd
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x4124d5
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 0x412510
cmp edi, edx
je 0x4124ed
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x412526
cmp edi, edx
jne 0x4124e1
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 0x412452
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 0x412510
push str.invalid_hash_bucket_count
call fcn.0041bff7
int3
Function at 0x417e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45aafd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x46f080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00433d31
mov edi, eax
add esp, 4
test edi, edi
je 0x417edd
push 1
mov dword [ebp - 4], 0
call fcn.0041ba8c
add esp, 4
mov dword [edi + 4], eax
jmp 0x417edf
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00415210
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx ebx, ax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x417f3b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x417f3b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x417f58
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x417f7b
cmp byte [ebp + 0xc], 0
je 0x417f67
push esi
call fcn.0042085a
add esp, 4
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
test cl, 4
je 0x417f87
mov esi, str.ios_base::badbit_set
jmp 0x417f97
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00413940
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00410f10
push 0x46af38
lea eax, [ebp - 0x28]
push eax
call fcn.0043518d
int3