joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047d20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x10047d51
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], 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.1002ca80
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 0x10047e5c
nop word [eax + eax]
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 - 0x10], edx
cmp edi, esi
jne 0x10047de1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10047e52
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10047e1b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10047e13
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x10047e4f
cmp edi, edx
je 0x10047e2c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10047e65
cmp edi, edx
jne 0x10047e20
mov ebx, dword [eax + 4]
mov dword [ebp - 4], 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 - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10047d90
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 - 4], 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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10047e4f
Function at 0x10048890
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100cb040]
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 0x100489a3
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1004899c
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1004895f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1004895f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1004895f
mov edx, dword [esi]
test edx, edx
jne 0x10048928
push 0x200
push edx
push dword [0x100e0384]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10048984
lea edi, [esi + 8]
jmp 0x10048952
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x10048952
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x100e0384]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100489b6
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 0x100488e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1004899c
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1004899c
push eax
push ebx
push dword [0x100e0384]
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.100adb26
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
jmp 0x10048984

Function at 0x100489c0
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.10048890
test eax, eax
jne 0x100489f1
mov eax, 9
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
je 0x10048a42
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10048a3a
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 0x10048a33
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10048720
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10048a00
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 0x10048a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100cb040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x100e0378]
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 0x10048aac
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100adb26
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 0x10048ac7
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.100adb26
mov esp, ebp
pop ebp
ret

Function at 0x10048b00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x100e0380]
sub esp, 0x10
push esi
xor esi, esi
test ecx, ecx
je 0x10048b2d
mov eax, dword [0x100e0378]
add eax, 0x14
nop dword [eax + eax]
test byte [eax], 2
je 0x10048b34
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10048b20
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10048b2d
push ebx
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100489c0
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
jne 0x10048bef
mov ecx, dword [0x100e0380]
push edi
cmp esi, ecx
jae 0x10048b9a
imul edi, esi, 0x2c
nop word [eax + eax]
mov eax, dword [0x100e0378]
test byte [edi + eax + 0x14], 2
jne 0x10048b8f
mov ecx, esi
call fcn.10048a50
mov ebx, eax
test ebx, ebx
jne 0x10048b97
mov ecx, dword [0x100e0380]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10048b70
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10048bec
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10048bdd
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 0x10048bd1
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 0x10048bb0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x100e0384]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100496e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100cb040]
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 0x10049713
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100adb26
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xc]
add ebx, 0x14
mov esi, dword [ebx]
cmp esi, ebx
je 0x10049780
mov ecx, 0x5a4d
lea edx, [esi - 8]
test edx, edx
je 0x1004977a
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1004977a
cmp word [eax], cx
jne 0x1004977a
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x10049775
cmp dword [ecx], 0x4550
jne 0x10049775
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 0x10049769
movq xmm0, qword [ebp - 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [edi + 4], 0xc
jmp 0x10049775
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.1002dec0
mov ecx, 0x5a4d
mov esi, dword [esi]
cmp esi, ebx
jne 0x10049724
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.100adb26
mov esp, ebp
pop ebp
ret
Function at 0x1004a820
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 0x1004a83c
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1004a85b
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1004a847
mov eax, dword [ebp - 4]
push edx
mov edx, eax
mov ecx, ebx
call fcn.1004a170
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100524d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100cb040]
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 0x10052502
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10052521
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10052510
cmp dword [ebx + 4], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc], 0
jle 0x10052678
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 0x10052567
cmp dword [ecx + 4], 0
jle 0x10052567
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, 0x100fe120
call fcn.100524d0
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + edi], 0
jne 0x10052570
xor edx, edx
test eax, eax
je 0x10052591
nop dword [eax]
movsx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x10052580
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], esi
push eax
lea eax, [esp + 0x20]
mov ecx, 0x100fe140
push eax
call fcn.100479d0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
add ecx, 0xc
push eax
call fcn.10047730
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x10052657
lea eax, [esp + 0x5c]
mov ecx, 0x100fe140
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100479d0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
add ecx, 0xc
push eax
call fcn.10047730
mov ecx, 0x100fe140
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100479d0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
add ecx, 0xc
push eax
call fcn.10047730
mov ecx, 0x100fe140
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.100479d0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
add ecx, 0xc
push eax
call fcn.10047730
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 0x10052540
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100adb26
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100528f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100cb040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10052a65
mov eax, dword [eax + 2]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10052a65
push ebx
lea ebx, [eax - 4]
test ebx, ebx
je 0x10052a64
mov eax, dword [ebx + 4]
test eax, eax
je 0x10052a64
cmp eax, 0xc8
jg 0x10052a64
cmp dword [ebx], 0
je 0x10052a64
push esi
mov esi, dword [ebx + 8]
test esi, esi
je 0x10052a63
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10052958
xor edx, edx
test ecx, ecx
je 0x10052976
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10052965
mov dword [ebp - 8], edi
cmp dword [ebx + 4], 0
mov dword [ebp - 0x18], 0
jle 0x10052a62
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 0x10052a49
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + esi], 0
jne 0x100529a8
xor edx, edx
test eax, eax
je 0x100529c6
movsx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x100529b5
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x100fe140
call fcn.100474e0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100474c0
cmp dword [eax + 8], 0
jne 0x10052a43
lea eax, [ebp - 8]
mov ecx, 0x100fe140
push eax
call fcn.100474e0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100474c0
mov ecx, 0x100fe140
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.100474e0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100474c0
mov ecx, 0x100fe140
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.100474e0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100474c0
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 0x10052992
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100adb26
mov esp, ebp
pop ebp
ret 4
Function at 0x100817c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b62dd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100cb040]
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 0x100818fd
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x10081847
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x10081832
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002c940
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10081861
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x100818a6
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x10081893
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 0x100818a6
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1003a2e0
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 0x100818d5
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100818c1
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x100818e5
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100818f8
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x100818fd
mov eax, dword [ebp - 0x14]
jmp 0x1008181e
mov edi, dword [edi + 0x18]
jmp 0x100818ff
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x10081937
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1008192d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008192d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100adfa1
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.100adb26
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10081960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b62dd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100cb040]
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 0x10081a9d
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x100819e7
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x100819d2
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002c940
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10081a01
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x10081a46
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x10081a33
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 0x10081a46
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1003a2e0
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 0x10081a75
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10081a61
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x10081a85
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10081a98
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x10081a9d
mov eax, dword [ebp - 0x14]
jmp 0x100819be
mov edi, dword [edi + 0x18]
jmp 0x10081a9f
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x10081ad7
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10081acd
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10081acd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100adfa1
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.100adb26
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10083560
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b63dc
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x100cb040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x105
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x294], xmm0
add esp, 0x18
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x258]
push 4
push str.rein
mov dword [ebp - 0x228], 0x629d365e
mov dword [ebp - 0x224], 0x60067db3
movups xmmword [ebp - 0x258], xmm0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
call fcn.1002d360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
push str.nathan
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x22c], 0
call fcn.1002d360
cmp dword [ebp + 0xc], 1
mov byte [ebp - 4], 2
jne 0x100837e0
push 0x105
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0x105
lea eax, [ebp - 0x220]
push eax
push 0x100bf5bc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x100837e0
push dword [ebp - 0x25c]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.100ad920
lea ecx, [ebp - 0x220]
cmp eax, ecx
je 0x100837e0
lea eax, [ebp - 0x258]
xor edi, edi
mov dword [ebp - 0x298], eax
nop dword [eax + eax]
mov esi, dword [ebp + edi*4 - 0x228]
lea ecx, [ebp - 0x27c]
push eax
call fcn.10031f20
mov byte [ebp - 4], 3
cmp esi, dword [ebp - 0x25c]
jne 0x10083744
cmp dword [ebp - 0x268], 0xf
lea eax, [ebp - 0x27c]
push dword [ebp - 0x26c]
cmova eax, dword [ebp - 0x27c]
mov ecx, 0x100cb7c8
push eax
call fcn.1002c940
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x268]
cmp ecx, 0xf
jbe 0x1008377e
mov edx, dword [ebp - 0x27c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10083774
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100837da
push ecx
push edx
call fcn.100adfa1
add esp, 8
mov eax, dword [ebp - 0x298]
inc edi
add eax, 0x18
mov dword [ebp - 0x298], eax
cmp edi, 2
jl 0x10083700
push 0
push 0
push 0
push 0x10036a00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push fcn.1002c4d0
xor ecx, ecx
mov byte [ebp - 4], 0
test eax, eax
lea eax, [ebp - 0x258]
push 2
push 0x18
setne cl
push eax
mov dword [ebp - 0x298], ecx
call fcn.100adb72
mov eax, dword [ebp - 0x298]
jmp 0x100837fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push fcn.1002c4d0
push 2
push 0x18
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0
push eax
call fcn.100adb72
xor eax, eax
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.100adb26
mov esp, ebp
pop ebp
ret 0xc