joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10043390
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x100434a3
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1004349c
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1004345f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1004345f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1004345f
mov edx, dword [esi]
test edx, edx
jne 0x10043428
push 0x200
push edx
push dword [0x100d26e4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10043484
lea edi, [esi + 8]
jmp 0x10043452
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x10043452
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x100d26e4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100434b6
mov dword [esi], edx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [edi]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100433e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1004349c
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1004349c
push eax
push ebx
push dword [0x100d26e4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a3a0c
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
jmp 0x10043484

Function at 0x100434c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10043390
test eax, eax
jne 0x100434f1
mov eax, 9
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
je 0x10043542
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1004353a
push ebx
nop
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10043533
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10043220
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10043500
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10043550
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x100d26d8]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100435ac
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a3a0c
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100435c7
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a3a0c
mov esp, ebp
pop ebp
ret

Function at 0x10043600
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x100d26e0]
sub esp, 0x10
push esi
xor esi, esi
test ecx, ecx
je 0x1004362d
mov eax, dword [0x100d26d8]
add eax, 0x14
nop dword [eax + eax]
test byte [eax], 2
je 0x10043634
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10043620
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1004362d
push ebx
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100434c0
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
jne 0x100436ef
mov ecx, dword [0x100d26e0]
push edi
cmp esi, ecx
jae 0x1004369a
imul edi, esi, 0x2c
nop word [eax + eax]
mov eax, dword [0x100d26d8]
test byte [edi + eax + 0x14], 2
jne 0x1004368f
mov ecx, esi
call fcn.10043550
mov ebx, eax
test ebx, ebx
jne 0x10043697
mov ecx, dword [0x100d26e0]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10043670
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100436ec
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x100436dd
mov ebx, eax
nop word [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100436d1
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100436b0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x100d26e4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100441d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword fs:[0x30]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x10044203
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a3a0c
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xc]
add ebx, 0x14
mov esi, dword [ebx]
cmp esi, ebx
je 0x10044270
mov ecx, 0x5a4d
lea edx, [esi - 8]
test edx, edx
je 0x1004426a
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1004426a
cmp word [eax], cx
jne 0x1004426a
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x10044265
cmp dword [ecx], 0x4550
jne 0x10044265
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
cmp eax, dword [edi + 8]
je 0x10044259
movq xmm0, qword [ebp - 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [edi + 4], 0xc
jmp 0x10044265
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.10027a60
mov ecx, 0x5a4d
mov esi, dword [esi]
cmp esi, ebx
jne 0x10044214
mov eax, dword [edi]
cmp eax, dword [edi + 4]
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.100a3a0c
mov esp, ebp
pop ebp
ret
Function at 0x10045320
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, edx
push edi
mov dword [ebp - 4], eax
mov ebx, ecx
cmp dword [esi + 0x14], 0xf
mov edi, dword [esi + 0x10]
jbe 0x1004533c
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1004535b
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10045347
mov eax, dword [ebp - 4]
push edx
mov edx, eax
mov ecx, ebx
call fcn.10044c60
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004d980
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100c0040]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x14], 0xf
mov esi, eax
push edi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
jbe 0x1004d9b2
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1004d9d1
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1004d9c0
cmp dword [ebx + 4], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc], 0
jle 0x1004db28
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, dword [ebx]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1004da17
cmp dword [ecx + 4], 0
jle 0x1004da17
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, 0x10104f00
call fcn.1004d980
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [edi + eax], 0
jne 0x1004da20
xor edx, edx
test eax, eax
je 0x1004da41
nop dword [eax]
movsx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x1004da30
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], esi
push eax
lea eax, [esp + 0x20]
mov ecx, 0x10104f20
push eax
call fcn.100424d0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
add ecx, 0xc
push eax
call fcn.10042230
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x1004db07
lea eax, [esp + 0x5c]
mov ecx, 0x10104f20
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100424d0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
add ecx, 0xc
push eax
call fcn.10042230
mov ecx, 0x10104f20
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100424d0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
add ecx, 0xc
push eax
call fcn.10042230
mov ecx, 0x10104f20
mov eax, dword [eax]
mov dword [eax + 0x10], ebx
lea eax, [esp + 0x5c]
mov esi, dword [ebx + 0x2c]
add esi, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100424d0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
add ecx, 0xc
push eax
call fcn.10042230
mov eax, dword [eax]
mov dword [eax + 0x14], esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x10]
add ecx, 0x3c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [ebx + 4]
jl 0x1004d9f0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a3a0c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004dda0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1004df15
mov eax, dword [eax + 2]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1004df15
push ebx
lea ebx, [eax - 4]
test ebx, ebx
je 0x1004df14
mov eax, dword [ebx + 4]
test eax, eax
je 0x1004df14
cmp eax, 0xc8
jg 0x1004df14
cmp dword [ebx], 0
je 0x1004df14
push esi
mov esi, dword [ebx + 8]
test esi, esi
je 0x1004df13
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1004de08
xor edx, edx
test ecx, ecx
je 0x1004de26
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1004de15
mov dword [ebp - 8], edi
cmp dword [ebx + 4], 0
mov dword [ebp - 0x18], 0
jle 0x1004df12
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx]
add ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x1004def9
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x1004de58
xor edx, edx
test eax, eax
je 0x1004de76
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x1004de65
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x10104f20
call fcn.10041fe0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10041fc0
cmp dword [eax + 8], 0
jne 0x1004def3
lea eax, [ebp - 8]
mov ecx, 0x10104f20
push eax
call fcn.10041fe0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10041fc0
mov ecx, 0x10104f20
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.10041fe0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10041fc0
mov ecx, 0x10104f20
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.10041fe0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10041fc0
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
lea ebx, [ecx - 4]
inc esi
add eax, 0x3c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
cmp esi, dword [ebx + 4]
jl 0x1004de42
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a3a0c
mov esp, ebp
pop ebp
ret 4
Function at 0x100792c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abd4d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x100793fd
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x10079347
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x10079332
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002c210
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10079361
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x100793a6
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x10079393
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x100793a6
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.100348b0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x100793d5
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100793c1
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x100793e5
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100793f8
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x100793fd
mov eax, dword [ebp - 0x14]
jmp 0x1007931e
mov edi, dword [edi + 0x18]
jmp 0x100793ff
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x10079437
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1007942d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007942d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100a3e87
add esp, 8
mov eax, edi
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.100a3a0c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10079460
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abd4d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 1
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x1007959d
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x100794e7
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x100794d2
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002c210
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10079501
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x10079546
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x10079533
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x10079546
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.100348b0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x10079575
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10079561
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x10079585
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10079598
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x1007959d
mov eax, dword [ebp - 0x14]
jmp 0x100794be
mov edi, dword [edi + 0x18]
jmp 0x1007959f
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x100795d7
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100795cd
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100795cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100a3e87
add esp, 8
mov eax, edi
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.100a3a0c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1007b0a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1007b0cb
push 0
push 0
push 0
push 0x10031030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1007b0cb
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x100a0ba0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
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
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push esi
push eax
call fcn.100a1450
mov edx, dword [eax + 4]
test edx, edx
je 0x100a0c47
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x100a0c1c
cmp eax, edx
jne 0x100a0c14
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100a0c24
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x100a0c24
cmp eax, edx
jne 0x100a0c24
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [edi + 8]
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.10027d80
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100a0cd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x1c
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp edx, edi
jne 0x100a0cee
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], 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
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], esi
xor ecx, eax
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 [esi + eax*8]
mov dword [ebp - 0x10], ecx
lea eax, [esi + eax*8]
mov esi, dword [edx]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
call fcn.10027d80
dec dword [ebx + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
je 0x100a0d7e
nop dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x100a0d8d
mov edx, esi
mov esi, dword [esi]
call fcn.10027d80
dec dword [ebx + 8]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], eax
jne 0x100a0d60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jne 0x100a0dad
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x100a0db0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x100a0d9a
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp esi, edi
je 0x100a0d9a
nop word [eax + eax]
movzx eax, byte [esi + 8]
mov edx, esi
xor eax, 0x811c9dc5
mov edi, esi
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]
mov esi, dword [esi]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
and eax, dword [ebx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.10027d80
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
je 0x100a0e32
mov eax, dword [ebp + 0xc]
mov edi, esi
cmp esi, eax
je 0x100a0e5b
mov edx, esi
mov esi, dword [esi]
call fcn.10027d80
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
jne 0x100a0e18
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp esi, edi
jne 0x100a0dc0
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8