joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10054e70
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9a8b
mov eax, dword fs:[0]
push eax
mov eax, 0x1238
call fcn.100b0040
mov eax, dword [0x10101404]
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, dword [ebp + 8]
mov ebx, ecx
mov edi, dword [ebx]
mov dword [ebp - 0x1244], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x123c], ebx
cmp edi, eax
je 0x10054edb
mov ecx, eax
sub ecx, eax
sar ecx, 2
lea esi, [ecx*4]
push esi
push eax
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
add esi, edi
mov dword [ebx + 4], esi
lea ecx, [ebp - 0x1240]
push ecx
push 0x1000
lea edx, [ebp - 0x1218]
push edx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x1005500f
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x1220], 7
mov dword [ebp - 0x1224], ecx
mov word [ebp - 0x1234], ax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x1240]
shr eax, 2
cmp eax, ecx
jle 0x10054fd2
lea ebx, [ebp - 0x1218]
mov dword [ebp - 0x1238], eax
mov ecx, dword [ebx]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10054fc3
push 0x104
lea edx, [ebp - 0x218]
push edx
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10054fbc
xor ecx, ecx
mov word [ebp + eax*2 - 0x218], cx
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10054f77
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x1234]
call fcn.10003360
mov edx, dword [ebp - 0x1244]
lea ecx, [ebp - 0x1234]
call fcn.10043e30
cmp eax, 0xffffffff
je 0x10054fbc
mov esi, dword [ebp - 0x123c]
mov ecx, ebx
call fcn.1000b770
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec dword [ebp - 0x1238]
jne 0x10054f37
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1220], 8
jb 0x10054ff2
mov eax, dword [ebp - 0x1234]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1220], 7
mov dword [ebp - 0x1224], 0
mov word [ebp - 0x1234], cx
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.100af1c6
mov esp, ebp
pop ebp
ret
Function at 0x10055d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 2]
mov ebx, eax
mov dword [ebp - 8], 0
mov byte [ebp - 1], 1
call fcn.10055e20
test al, al
jne 0x10055d5e
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 2], 0
je 0x10055d55
cmp dword [ebx + 0x10], 0
mov dword [ebp - 8], 0
je 0x10055d55
mov esi, 8
cmp dword [ebx + 0x14], esi
jb 0x10055d7d
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
push 1
push 0
push ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10055d55
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x10055d55
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], esi
jb 0x10055da6
mov eax, dword [eax]
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edi, [ebx + 0x24]
push edi
push 0
push 0
push 0
push eax
push ecx
call esi
cmp eax, 0xea
je 0x10055dc8
test eax, eax
jne 0x10055e02
mov ecx, dword [edi]
add ecx, 5
push ecx
push 1
call dword [sym.imp.MSVCR100.dll_calloc]
add esp, 8
mov dword [ebx + 0x20], eax
test eax, eax
je 0x10055dfe
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x10055deb
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
push edi
push eax
add ebx, 0x1c
push ebx
push 0
push ecx
push edx
call esi
test eax, eax
je 0x10055e02
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb al, al
pop edi
not al
and al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10055e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x10], 0
mov dword [ebp - 4], 0
je 0x10055e61
cmp dword [eax + 0x14], 8
jb 0x10055e39
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 1
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10055e58
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x10055e67
mov byte [edi], 0
mov al, 1
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x10055e71
mov eax, dword [esi]
jmp 0x10055e73
mov eax, esi
push 0
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebp - 4]
sete dl
push eax
mov byte [edi], dl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10055e61
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x100638e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b89ab
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10101404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, edx
push 1
call fcn.10062cb0
add esp, 4
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 4]
mov dword [ebx], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 8], edx
mov word [ebx + 0x30], 0
xor edx, edx
mov dword [ebp - 4], edx
lea eax, [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp eax, edx
je 0x1006399c
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov byte [ebp - 4], 2
mov ecx, dword [edi + 4]
mov esi, dword [eax + 4]
mov dword [edi + 4], esi
mov dword [eax + 4], ecx
mov dword [edi], edx
mov byte [ebp - 4], 3
mov dword [eax + 0x1c], 7
mov dword [eax + 0x18], edx
cmp dword [eax + 0x1c], 8
jb 0x1006397d
mov ecx, dword [eax + 8]
jmp 0x10063980
lea ecx, [eax + 8]
xor edx, edx
mov word [ecx], dx
add edi, 8
lea esi, [eax + 8]
call fcn.100111a0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x10066cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7bae
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10101404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
push eax
call fcn.100674c0
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi], vtable.boost::thread_exception.0
mov dword [ebp - 4], 1
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [ebp - 4], 2
lea eax, [esi + 0x30]
mov dword [eax], vtable.boost::exception.0
mov dword [ebp + 8], eax
mov dword [eax + 4], ecx
mov byte [ebp - 4], 3
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
or ecx, 0xffffffff
mov dword [eax + 0x10], ecx
mov byte [ebp - 4], 4
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [eax], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [ebp - 4], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1006d340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7931
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10101404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 1
call fcn.10062cb0
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
mov eax, dword [edi + 4]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 4]
mov dword [esi + 8], edx
xor ebx, ebx
mov word [esi + 0x30], bx
mov dword [ebp - 4], ebx
lea eax, [esi + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1006d3b0
push eax
mov edi, dword [ebp + 8]
call fcn.1006daf0
mov byte [ebp - 4], bl
mov dword [ebp - 4], 0xffffffff
mov 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
Function at 0x1007a830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b2702
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x10101404]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, edx
lea eax, [esp + 0xc]
push eax
call fcn.10079790
mov dword [esp + 0x38], 0
mov edi, eax
call fcn.1007a8c0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1007a8aa
test al, 1
jne 0x1007a8a2
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x1007a8a2
lea ecx, [esp + 0x14]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0xc], 0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100824b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, edx
je 0x100824e5
push esi
push edi
mov esi, eax
mov edi, eax
shl esi, 6
shr edi, 2
add esi, edi
movzx edi, word [ecx]
lea esi, [esi + edi - 0x61c88647]
add ecx, 2
xor eax, esi
mov dword [ebp + 8], ecx
cmp ecx, edx
jne 0x100824c1
pop edi
pop esi
pop ebp
ret
Function at 0x10097880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b77d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10101404]
xor eax, esp
mov dword [esp + 0x30], eax
push edi
mov eax, dword [0x10101404]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push esi
mov eax, ebx
call fcn.100981d0
mov edi, dword [esp + 0xc]
cmp edi, dword [esi + 4]
jne 0x10097989
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x48], 1
push 0xffffffffffffffff
xor ecx, ecx
push edi
mov word [esp + 0x20], cx
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
call fcn.10002e80
mov byte [esp + 0x48], 2
lea edx, [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0x34], edi
mov byte [esp + 0x48], 3
mov dword [esp + 0x34], edi
mov dword [esp + 0xc], edi
mov byte [esp + 0x48], 6
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
push edi
call fcn.1009ad80
mov ecx, dword [esi + 8]
mov edx, 0x7fffffe
sub edx, ecx
cmp edx, 1
jae 0x1009794e
push str.list_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
inc ecx
mov dword [esi + 8], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push ecx
lea eax, [ecx + 8]
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.100994a0
mov edi, dword [esp + 0x10]
mov byte [esp + 0x48], 1
lea edx, [esp + 0x18]
push edx
call fcn.10097c90
mov dword [esp + 0x48], 0xffffffff
lea eax, [edi + 0x24]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret

Function at 0x1009baa0
Capabilities:
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, dword [ebx + 0x10]
mov eax, 0xcccccccd
mul edi
shr edx, 3
xor ecx, ecx
inc edx
mov esi, 0x811c9dc5
test edi, edi
je 0x1009bade
jmp 0x1009bac0
cmp dword [ebx + 0x14], 8
jb 0x1009baca
mov eax, dword [ebx]
jmp 0x1009bacc
mov eax, ebx
movzx eax, word [eax + ecx*2]
imul esi, esi, 0x1000193
add ecx, edx
xor esi, eax
cmp ecx, edi
jb 0x1009bac0
pop edi
mov eax, esi
pop esi
ret
Function at 0x100abae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b0299
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10101404]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
lea eax, [ecx - 0x28]
mov dword [esp + 0x28], 0x100da7d0
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.100ab070
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_alloc__.2.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_alloc__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_alloc__.0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
push 0x100e037c
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + eax + 0x2c], 0
mov dword [esp + 0x44], 0xffffffff
call sub.MSVCR100.dll__CxxThrowException
int3
sub ecx, dword [ecx - 4]
jmp 0x100abae0

Function at 0x100abb80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b0299
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10101404]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
lea eax, [ecx - 0x28]
mov dword [esp + 0x28], 0x100da7d0
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.100ab110
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_exception__.2.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_exception__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::bad_exception__.0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
push 0x100e0434
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + eax + 0x2c], 0
mov dword [esp + 0x44], 0xffffffff
call sub.MSVCR100.dll__CxxThrowException
int3
sub ecx, dword [ecx - 4]
jmp 0x100abb80
Function at 0x100ac540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b04d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10101404]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov dword [esp + 0x28], ebx
mov byte [ecx], bl
call fcn.10002970
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x100ac5f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b0510
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10101404]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.10002970
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x100ac685
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x100acb70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x100b0668
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10101404]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [section..data]
cmp eax, 0xffffffff
jne 0x100acba5
xor ebx, ebx
jmp 0x100acbae
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x100acbf1
mov edi, edi
cmp dword [ebx + 0x18], 0
jne 0x100acc37
cmp dword [ebx + 0xc], 0
jne 0x100acc40
push 0x100aa750
push 0x101064c8
call fcn.100aaa00
mov eax, dword [section..data]
add esp, 8
cmp eax, 0xffffffff
je 0x100acbf1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test ebx, ebx
je 0x100acc23
lea edx, [ebx + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100acc23
mov edx, dword [ebx]
mov eax, dword [edx]
push 0
mov ecx, ebx
call eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [ebx + 0xc], 0
je 0x100acc88
lea ecx, [ecx]
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100acc72
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x100acc40
mov ebp, dword [ebx + 0x14]
mov esi, dword [ebp]
cmp esi, ebp
je 0x100acbc0
cmp byte [esi + 0x1d], 0
mov edi, esi
jne 0x100accd8
mov eax, dword [esi + 8]
cmp byte [eax + 0x1d], 0
jne 0x100accbd
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
jne 0x100accd8
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
je 0x100accb1
jmp 0x100accd8
mov eax, dword [esi + 4]
cmp byte [eax + 0x1d], 0
jne 0x100accd6
cmp esi, dword [eax + 8]
jne 0x100accd6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x100accc6
mov esi, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x100accee
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100accee
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebx + 0x10]
call fcn.10065400
cmp esi, ebp
jne 0x100acc96
jmp 0x100acbc0
Function at 0x100acda0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x20]
push ecx
push 4
push eax
push 0x100acd10
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x100acdca
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x100acdee
cmp eax, 0xffffffff
je 0x100acdee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x100af1c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10101404]
jne 0x100af1d0
repz ret
jmp fcn.100afa76
Function at 0x6d8c33a0
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6da20954]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6d8c3570
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.6d91fe70
jmp fcn.6d8c33a0