joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ee00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029d569
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10373f78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x10]
movzx eax, byte [esi]
mov byte [edi], al
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [edi + 8], eax
lea eax, [esi + 0x10]
push eax
mov dword [edi + 0xc], edx
call fcn.1004dd50
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x40], eax
lea eax, [esi + 0x48]
mov dword [edi + 0x44], ecx
lea ecx, [edi + 0x48]
push eax
call fcn.1004dac0
lea eax, [esi + 0x60]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x60]
push eax
call fcn.1004dac0
lea eax, [esi + 0x78]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x78]
push eax
call fcn.1004dac0
lea eax, [esi + 0x90]
mov byte [ebp - 4], 3
lea ecx, [edi + 0x90]
push eax
call fcn.1004dac0
lea eax, [esi + 0xa8]
mov byte [ebp - 4], 4
lea ecx, [edi + 0xa8]
push eax
call fcn.1004dac0
mov byte [ebp - 4], 5
lea ecx, [edi + 0xc4]
mov eax, dword [esi + 0xc0]
mov dword [edi + 0xc0], eax
lea eax, [esi + 0xc4]
push eax
call fcn.1004dd50
lea eax, [esi + 0xdc]
mov byte [ebp - 4], 6
lea ecx, [edi + 0xdc]
push eax
call fcn.1004dd50
lea eax, [esi + 0xf4]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0xf4]
call fcn.1004dd50
movzx eax, byte [esi + 0x10c]
mov byte [edi + 0x10c], al
mov eax, dword [esi + 0x110]
mov dword [edi + 0x110], eax
mov eax, dword [esi + 0x114]
mov dword [edi + 0x114], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100802b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029d8ed
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10373f78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.10048c40
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
call fcn.10051a10
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx eax, ax
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0
test ebx, ebx
je 0x10080370
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x1008036d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp + 8]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], ax
jne 0x1008038a
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.10048bc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100875c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029e3fd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10373f78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 4
lea esi, [edi + 0x30]
call fcn.10264bfb
add esp, 4
mov ebx, eax
mov dword [ebp - 0x14], ebx
push esi
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
add dword [edi + 8], 1
mov eax, dword [edi + 8]
adc dword [edi + 0xc], 0
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
lea ecx, [edi + 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.100876a0
push dword [ebp + 8]
mov ecx, eax
call fcn.1006ea70
push dword [ebx]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 4
push ebx
call fcn.1026505f
add esp, 8
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10089720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029e7b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x30
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x40], edi
mov edx, ecx
mov dword [ebp - 0x38], edx
mov esi, dword [ebx + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x1008979f
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10089791
mov ecx, dword [esi]
xor edi, edi
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], di
mov edi, dword [ebp - 0x40]
jmp 0x100897ae
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.10059510
mov edx, dword [ebp - 0x38]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100897b8
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push eax
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, 0xea
jne 0x1008981b
mov eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x10]
shr eax, 1
cmp eax, ecx
ja 0x100897f4
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x100897e9
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x10089800
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.10059510
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1008980a
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push eax
push 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x38]
jmp 0x100897c3
mov edx, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100885f0
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x10089860
mov ecx, esi
call fcn.1004ef60
mov eax, dword [ebp - 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x10089896
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008988c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100898ef
push edx
push ecx
call fcn.1026505f
add esp, 8
test edi, edi
sete al
jmp 0x100898d1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10275373
int3
Function at 0x10089900
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1008992d
xor al, al
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret
Function at 0x1008aa90
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029eafd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0x101
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
ja 0x1008ab13
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x1008ab20
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10059510
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.100885f0
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x1008abc0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1008ab8b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008ab81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008acc3
push edx
push ecx
call fcn.1026505f
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
nop dword [eax]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x1008abfa
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008abf0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008acc3
push edx
push ecx
call fcn.1026505f
add esp, 8
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov eax, esi
jmp 0x1008aca7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
ret
call fcn.10275373
call fcn.10275373
int3
Function at 0x1008bd50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029edb5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov eax, 1
sub eax, dword [ebp - 0x1c]
push eax
call fcn.10059510
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov ecx, edi
cmovae eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 8
jb 0x1008bdd5
mov ecx, dword [edi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test ebx, ebx
jne 0x1008be37
mov dword [esi], eax
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp edx, 8
jb 0x1008bfbe
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008be28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008bfdc
push edx
push ecx
call fcn.1026505f
add esp, 8
jmp 0x1008bfbe
mov ecx, dword [ebp - 0x1c]
cmp ebx, ecx
ja 0x1008be54
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax + ebx*2], cx
jmp 0x1008be63
mov eax, ebx
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.10059510
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 8
jb 0x1008be76
mov edi, dword [edi]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1008beee
call fcn.10048fd0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.100882e0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
push str.Unable_to_read_data_from_environment_variable._Error:__0
push 3
mov ecx, edi
call fcn.10071280
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x1008beee
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008bee4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008bfdc
push edx
push ecx
call fcn.1026505f
add esp, 8
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov ecx, esi
call fcn.100885f0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1008bfbe
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008bf33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008bfe1
push edx
push ecx
call fcn.1026505f
add esp, 8
jmp 0x1008bfbe
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
ret
call fcn.10275373
call fcn.10275373
int3
Function at 0x1008e790
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029f390
mov eax, dword fs:[0]
push eax
sub esp, 0x9c8
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x9d4
call fcn.10264bfb
mov edi, eax
add esp, 4
lea esi, [edi + 0x10]
mov dword [ebp - 0x9d4], edi
mov dword [esi], 0x1571
mov dword [esi + 0x9c0], 1
nop word [eax + eax]
mov edx, dword [esi + 0x9c0]
mov ecx, dword [esi + edx*4 - 4]
shr ecx, 0x1e
xor ecx, dword [esi + edx*4 - 4]
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [esi + edx*4], eax
inc dword [esi + 0x9c0]
cmp dword [esi + 0x9c0], 0x270
jb 0x1008e7f0
mov ecx, esi
call fcn.1008ee10
push esi
mov ecx, edi
call fcn.1008ed10
mov dword [edi], vtable.boost::uuids::basic_random_generator_class_boost::random::mersenne_twister_engine_unsigned_int__32__624__397__31___1727483681__11___1__7___1658038656__15___272236544__18__1812433253__::self_contained_impl.0
lea ecx, [ebp - 0x9d4]
mov dword [0x1038ace0], edi
call fcn.1008a870
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x9d0]
push eax
lea ecx, [ebp - 0x9d4]
call fcn.10095350
lea edi, [ebp - 0x9d0]
mov ecx, esi
sub edi, esi
mov edx, 0x270
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x1008e870
mov ecx, esi
mov dword [esi + 0x9c0], 0x270
call fcn.1008ee10
mov eax, dword [ebp - 0x9d4]
test eax, eax
je 0x1008e8a2
push 0
push eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, 0x1038ace0
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.102649e4
mov esp, ebp
pop ebp
ret
Function at 0x10090310
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10090341
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10090330
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x10093dd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov esi, ecx
sub edi, ebx
jne 0x10093de8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
cmp edi, 0xffffffff
jne 0x10093df9
call fcn.10094260
pop edi
pop esi
add eax, ebx
pop ebx
pop ebp
ret
lea ecx, [edi + 1]
or eax, 0xffffffff
xor edx, edx
div ecx
cmp edx, edi
lea ecx, [eax + 1]
cmovne ecx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x9c0]
cmp ecx, 0x270
jne 0x10093e29
mov ecx, esi
call fcn.10095520
mov ecx, dword [esi + 0x9c0]
mov edx, dword [esi + ecx*4]
mov eax, edx
shr eax, 0xb
inc ecx
xor edx, eax
mov dword [esi + 0x9c0], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
xor edx, edx
div dword [ebp + 8]
cmp eax, edi
ja 0x10093e14
pop edi
pop esi
add eax, ebx
pop ebx
pop ebp
ret

Function at 0x10095350
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029ea65
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp esi, ebx
je 0x100953ad
nop word [eax + eax]
push 0
push 4
push esi
push dword [eax]
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov edi, eax
test edi, edi
jne 0x100953cb
mov eax, dword [ebp - 0x2c]
add esi, 4
cmp esi, ebx
jne 0x10095390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
ret 8
push 0xd
push str.get_random_bytes
push 0x58
push str.C:devjenkinsworkspacemonitor_win_buildexternals_boostmt_v142win32include_boost_1_80_boost_uuid_detail_random_provider_bcrypt.ipp
lea ecx, [ebp - 0x3c]
call fcn.100775b0
push 0x10334c84
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1004dc60
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov eax, edi
lea ecx, [ebp - 0x58]
cdq
push edx
push eax
call fcn.10096d90
mov edx, esi
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10096d60
int3
Function at 0x10095520
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
cmp dword [0x10389460], 2
jl 0x100955a0
movaps xmm3, xmmword [0x10343090]
mov eax, 1
movaps xmm4, xmmword [0x103430c0]
movaps xmm6, xmmword [0x103430d0]
movaps xmm7, xmmword [0x10343030]
movd xmm5, eax
movups xmm1, xmmword [ecx + esi*4 + 4]
movups xmm2, xmmword [ecx + esi*4]
movaps xmm0, xmm3
pand xmm0, xmm1
pand xmm2, xmm4
por xmm2, xmm0
movaps xmm0, xmm7
pand xmm0, xmm1
psrld xmm2, xmm5
pmulld xmm0, xmm6
pxor xmm2, xmm0
movups xmm0, xmmword [ecx + esi*4 + 0x634]
pxor xmm2, xmm0
movups xmmword [ecx + esi*4], xmm2
add esi, 4
cmp esi, 0xdc
jb 0x10095551
cmp esi, 0xde
jae 0x100955d2
mov edx, dword [ecx + esi*4]
mov eax, dword [ecx + esi*4 + 4]
xor edx, eax
and edx, 0x7ffffffe
and eax, 1
xor edx, dword [ecx + esi*4]
imul eax, eax, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [ecx + esi*4 + 0x634]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0xde
jb 0x100955a0
mov edx, dword [ecx + 0x378]
mov esi, dword [ecx + 0x380]
push edi
mov edi, dword [ecx + 0x37c]
xor edx, edi
and edx, 0x7ffffffe
mov eax, edi
xor edx, dword [ecx + 0x378]
and eax, 1
shr edx, 1
imul eax, eax, 0x9908b0df
xor edx, eax
mov eax, esi
xor edx, dword [ecx + 0x9ac]
and eax, 1
mov dword [ecx + 0x378], edx
mov edx, edi
xor edx, esi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, edi
mov edi, dword [ecx + 0x384]
shr edx, 1
xor edx, eax
mov eax, edi
xor edx, dword [ecx + 0x9b0]
and eax, 1
mov dword [ecx + 0x37c], edx
mov edx, edi
xor edx, esi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, esi
mov esi, dword [ecx + 0x388]
shr edx, 1
xor edx, eax
mov eax, esi
xor edx, dword [ecx + 0x9b4]
and eax, 1
mov dword [ecx + 0x380], edx
mov edx, esi
xor edx, edi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, edi
shr edx, 1
pop edi
xor edx, eax
mov eax, dword [ecx + 0x38c]
xor edx, dword [ecx + 0x9b8]
mov dword [ecx + 0x384], edx
mov edx, eax
xor edx, esi
and eax, 1
and edx, 0x7ffffffe
imul eax, eax, 0x9908b0df
xor edx, esi
mov esi, 0xe3
shr edx, 1
xor edx, eax
xor edx, dword [ecx + 0x9bc]
mov dword [ecx + 0x388], edx
mov edx, dword [ecx + esi*4]
mov eax, dword [ecx + esi*4 + 4]
xor edx, eax
and edx, 0x7ffffffe
and eax, 1
xor edx, dword [ecx + esi*4]
imul eax, eax, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [ecx + esi*4 - 0x38c]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0x26f
jb 0x100956c0
mov edx, dword [ecx + 0x9bc]
mov eax, dword [ecx]
xor edx, eax
and edx, 0x7ffffffe
mov dword [ecx + 0x9c0], 0
xor edx, dword [ecx + 0x9bc]
and eax, 1
imul eax, eax, 0x9908b0df
shr edx, 1
pop esi
xor edx, eax
xor edx, dword [ecx + 0x630]
mov dword [ecx + 0x9bc], edx
ret

Function at 0x10096860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x1009688b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10096874
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret