joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dfe30
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x10285124]
xor eax, esp
mov dword [esp + 8], eax
cmp dword [0x102a744c], 0
push ebx
push esi
push edi
je 0x100dff74
push str._gdl_deinit_call_deinit
push 0x529
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.INF1
push 8
call fcn.100a7fc0
add esp, 0x14
mov dword [0x102a747c], 0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push dword [0x102a7460]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x100dfec9
push 0x103
push dword [0x102a7460]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x102a7460]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x102a746c], 0
mov dword [0x102a7460], 0
call fcn.100f87c0
mov ebx, eax
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x100dff05
mov ecx, esi
call fcn.100ac200
add esi, 0x58
cmp esi, edi
jne 0x100dfef7
mov eax, dword [ebx]
mov dword [ebx + 4], eax
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str._gdl_deinit_retrun_deinit
push 0x531
mov dword [0x102a744c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.INF1
push 8
call fcn.100a7fc0
mov eax, dword [0x102a7fc8]
add esp, 0x14
test eax, eax
jne 0x100dff60
push 0x220
call fcn.101b4ab7
add esp, 4
mov ecx, eax
call fcn.100a8450
mov dword [0x102a7fc8], eax
cmp dword [eax + 0x1e0], 0xcc6
je 0x100dff74
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x14]
mov eax, 0xc8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b451c
mov esp, ebp
pop ebp
ret
Function at 0x100e0840
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e95f0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.101b7960
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0x44
xor eax, eax
mov dword [ebp - 0x14], 7
add esp, 0xc
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x94], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
push 9
push str.C:goodoc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.100a7e70
push 5
push str._bin_
lea ecx, [ebp - 0x28]
call fcn.100ab610
push 0x10
push str.gdcontroller.exe
lea ecx, [ebp - 0x28]
call fcn.100ab610
push 9
push str.C:goodoc
lea ecx, [ebp - 0x40]
call fcn.100a7e70
push 4
push str._bin
lea ecx, [ebp - 0x40]
call fcn.100ab610
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x94]
push edx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push eax
cmovae ecx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
lea eax, [ebp - 0x28]
jne 0x100e0986
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Createprocess_Failed__ld___s___s_
push 0x5cd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102458b0
push 2
call fcn.100a7fc0
add esp, 0x20
xor esi, esi
jmp 0x100e09ca
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push str.Createprocess_Success__s_
push 0x5d2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.INF1
push 8
call fcn.100a7fc0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
push dword [ebp - 0x94]
call esi
push dword [ebp - 0x90]
call esi
mov esi, 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x100e09df
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100a5620
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x100e0a08
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.100a5620
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
ret
Function at 0x100e8390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ea498
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10285124]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100e84cd
cmp byte [ebx + 0x3d], 0
je 0x100e84cd
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x100e83e9
xor al, al
jmp 0x100e84cf
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
nop dword [eax]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100e845e
sub eax, 1
je 0x100e8462
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x100e84b5
xor bl, bl
jmp 0x100e84b7
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x100e8497
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.101c3cab
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x100e845a
cmp byte [ebx + 0x3d], 0
je 0x100e84b5
test esi, esi
jne 0x100e8420
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.100a5d10
jmp 0x100e8419
mov bl, 1
cmp ecx, 0x10
jb 0x100e84c9
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.100a5f10
mov al, bl
jmp 0x100e84cf
mov al, 1
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.101b451c
mov esp, ebp
pop ebp
ret
Function at 0x100eae70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2ed6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.101b4ab7
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1019cc0f
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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
Function at 0x100fa1e0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x24], ecx
jle 0x100fa3cc
mov eax, dword [ebp + 8]
push ebx
push esi
add eax, 2
push edi
nop
xor esi, esi
movzx edx, byte [eax - 2]
movzx ecx, byte [eax - 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
add eax, 4
or edx, ecx
mov dword [ebp + esi*4 - 0x12c], edx
inc esi
cmp esi, 0x10
jl 0x100fa202
mov dword [ebp - 0x28], eax
lea ebx, [ebp - 0xf4]
mov eax, 0x30
nop
mov edx, dword [ebx - 0x34]
lea ebx, [ebx + 4]
mov esi, dword [ebx - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [ebx - 0x3c]
add edi, dword [ebx - 0x18]
mov dword [ebx + 4], edi
sub eax, 1
jne 0x100fa240
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 0x88]
mov esi, eax
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x90]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x94]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xa4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + 0x98]
mov ebx, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], ecx
mov edi, ebx
ror esi, 0xd
ror edi, 0xb
mov ecx, ebx
rol ecx, 7
mov edx, ebx
xor edi, ecx
not edx
and edx, dword [ebp - 0xc]
mov ecx, ebx
ror ecx, 6
xor edi, ecx
mov ecx, dword [ebp - 8]
and ecx, ebx
xor edx, ecx
mov ecx, dword [ebp - 0x14]
add edi, edx
add edi, dword [ecx + 0x102460a0]
add edi, dword [ebp + ecx - 0x12c]
mov ecx, dword [ebp - 4]
add edi, dword [ebp - 0x20]
rol ecx, 0xa
xor esi, ecx
mov ecx, dword [ebp - 4]
ror ecx, 2
xor esi, ecx
mov ecx, dword [ebp - 0x10]
mov edx, ecx
and ecx, dword [ebp + 8]
xor edx, dword [ebp + 8]
and edx, dword [ebp - 4]
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
add esi, edx
mov ecx, dword [ebp - 8]
add esi, edi
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
add ebx, edi
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ecx
cmp ecx, 0x100
jl 0x100fa2d7
mov ecx, dword [ebp - 0x2c]
add ecx, esi
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebp + 8]
add dword [ebx + 0x90], ecx
mov ecx, dword [ebp - 0x18]
add dword [ebx + 0x94], ecx
mov ecx, dword [ebp - 0x1c]
add dword [ebx + 0x98], ecx
mov ecx, dword [ebp - 8]
add dword [ebx + 0x9c], ecx
mov ecx, dword [ebp - 0xc]
add dword [ebx + 0xa0], ecx
mov ecx, dword [ebp - 0x20]
add dword [ebx + 0x8c], edx
add dword [ebx + 0xa4], ecx
sub dword [ebp + 0xc], 1
jne 0x100fa200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100fa650
Capabilities:
Hash data using sha256

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 0x101ecbfb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], 0
push 0xa8
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1e0]
push 0
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.101b7960
add esp, 0xc
lea esi, [ebp - 0x1e0]
cmp dword [ebx + 0x1c], 0x10
lea edi, [ebp - 0x128]
mov ecx, 0x2a
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push dword [ebx + 0x18]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0xa0], 0x6a09e667
mov dword [ebp - 0x9c], 0xbb67ae85
mov dword [ebp - 0x98], 0x3c6ef372
mov dword [ebp - 0x94], 0xa54ff53a
mov dword [ebp - 0x90], 0x510e527f
mov dword [ebp - 0x8c], 0x9b05688c
mov dword [ebp - 0x88], 0x1f83d9ab
mov dword [ebp - 0x84], 0x5be0cd19
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
call fcn.100fa3e0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x128]
call fcn.100fa480
mov byte [ebp - 0x40], 0
lea edx, [ebp - 0x7e]
xor esi, esi
nop dword [eax + eax]
movzx ecx, byte [ebp + esi - 0x34]
lea edx, [edx + 2]
mov eax, ecx
mov byte [edx - 2], 0
shr eax, 4
and ecx, 0xf
inc esi
movzx eax, byte [eax + str.0123456789ABCDEF]
mov byte [edx - 4], al
movzx eax, byte [ecx + str.0123456789ABCDEF]
mov byte [edx - 3], al
cmp esi, 0x20
jb 0x100fa780
mov esi, dword [ebp - 0x12c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x80], 0
jne 0x100fa7cf
xor ecx, ecx
jmp 0x100fa7de
lea ecx, [ebp - 0x80]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fa7d5
sub ecx, edx
push ecx
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.100a5970
mov eax, dword [ebx + 0x1c]
cmp eax, 0x10
jb 0x100fa834
mov ecx, dword [ebx + 8]
inc eax
cmp eax, 0x1000
jb 0x100fa82b
test cl, 0x1f
je 0x100fa807
call fcn.101baae5
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100fa813
call fcn.101baae5
sub ecx, eax
cmp ecx, 4
jae 0x100fa81f
call fcn.101baae5
cmp ecx, 0x23
jbe 0x100fa829
call fcn.101baae5
mov ecx, eax
push ecx
call fcn.101b452d
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100fe900
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
nop
mov ecx, dword [edi + 4]
dec ecx
shl ebx, cl
add ebx, ebx
nop dword [eax + eax]
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x100fe934
mov ecx, esi
call fcn.100fea80
jmp 0x100fe942
cmp eax, 0x4e0
jb 0x100fe942
mov ecx, esi
call fcn.100fead0
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
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 ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [edi + 8]
ja 0x100fe920
mov eax, dword [ebp - 4]
or ebx, ecx
add eax, dword [edi + 4]
mov dword [ebp - 4], eax
cmp eax, 0x20
jb 0x100fe910
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100fe9a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
dec eax
mov ecx, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
test eax, eax
je 0x100fea4c
nop dword [eax]
mov ecx, dword [edi + 4]
dec ecx
shl esi, cl
add esi, esi
mov dword [ebp - 4], esi
nop dword [eax + eax]
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x100fe9e4
mov ecx, esi
call fcn.100fea80
jmp 0x100fe9f2
cmp eax, 0x4e0
jb 0x100fe9f2
mov ecx, esi
call fcn.100fead0
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
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
cmp eax, dword [edi + 8]
ja 0x100fe9d0
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 4]
dec ecx
shl ebx, cl
or esi, eax
mov ecx, dword [ebp + 8]
add ebx, ebx
or ebx, dword [edi + 8]
lea eax, [ecx - 1]
cmp ebx, eax
jb 0x100fe9c0
xor edx, edx
mov eax, ebx
div ecx
mov ecx, eax
mov ebx, edx
xor edx, edx
mov eax, esi
div dword [ebp + 8]
cmp eax, ecx
mov ecx, dword [ebp + 8]
jb 0x100fea6f
lea eax, [ecx - 1]
cmp ebx, eax
jne 0x100fe9b0
mov eax, esi
xor edx, edx
div ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100fea80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x100fea90
pop esi
ret
Function at 0x100fead0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x100feae0
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x100feb22
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret

Function at 0x10111840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eee29
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push eax
mov dword [edi], vtable.Concurrency::streams::details::streambuf_state_manager_unsigned_char_.0
call fcn.1019c0bb
mov dword [edi + 0x14], 0x101
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], vtable.Concurrency::streams::details::basic_producer_consumer_buffer_unsigned_char_.0
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
lea eax, [edi + 0x38]
mov dword [edi + 0x28], 0
push 2
push eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.1019c9d1
lea esi, [edi + 0x68]
mov byte [ebp - 4], 2
push 8
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101b4ab7
add esp, 0x10
mov dword [esi], eax
test eax, eax
je 0x1011191f
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x7c]
mov byte [ebp - 4], 3
push 8
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101b4ab7
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x1011196c
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
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 0x10116a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2bf6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ecx + 0xc]
mov eax, dword [edi + 0x44]
lea esi, [edi + 0x30]
cmp eax, 8
jb 0x10116a9d
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.100a5620
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10116ab3
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10116ac8
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, edi
call fcn.100d2e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1011c960
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101efee7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov dword [ebp - 0x10], 0
push 0x18
cmp eax, dword [edi + 4]
jne 0x1011c9d0
call fcn.101b4ab7
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
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
call fcn.101b4ab7
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esi + 0x10], 0
sub eax, edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1011ca11
mov ecx, dword [esi]
jmp 0x1011ca13
mov ecx, esi
shr eax, 1
xor ebx, ebx
push eax
mov word [ecx], bx
mov ecx, esi
push edx
call fcn.100a7e70
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x1011ca3c
mov eax, dword [esi]
jmp 0x1011ca3e
mov eax, esi
push 0
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
jne 0x1011ca6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.100fec60
push 0x102823ac
lea eax, [ebp - 0x28]
push eax
call fcn.101b6f99
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x1011ca91
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x1011ca87
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x1011ca9d
mov ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x1011ca9d
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.100ffe40
mov eax, dword [ebp + 8]
mov dword [eax], esi
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