joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001760
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0xc], 0
call fcn.100016c0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x10001868
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
jne 0x10001868
movaps xmm0, xmmword [0x10076f10]
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x102e2f29
mov dword [ebp - 0x24], 0x25232f32
mov word [ebp - 0x20], 0x3333
mov byte [ebp - 0x1e], 0
nop
mov cl, byte [ebp - 0x38]
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0x19
jb 0x100017d0
push ebx
mov byte [ebp - 0x1c], 0x11
mov al, 0x7f
xor al, byte [ebp - 0x1c]
mov bl, 0x7d
mov ah, bl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1c]
mov dl, 0x75
mov bh, ah
mov byte [ebp - 0xd], ah
xor bl, al
mov byte [ebp - 0x12], 0
xor ah, al
mov byte [ebp - 0x1e], 0
xor bh, al
mov byte [ebp - 0x17], ah
mov dh, dl
mov byte [ebp - 0x18], bl
xor dl, al
mov byte [ebp - 0x14], bh
xor dh, al
mov byte [ebp - 0x19], dl
mov cl, 0x65
mov byte [ebp - 0x15], dh
xor cl, al
mov byte [ebp - 0x12], 0
mov ch, 0x3f
mov byte [ebp - 0x1a], cl
xor ch, al
mov al, byte [ebp - 0xd]
xor al, byte [ebp - 0x1c]
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x37]
push eax
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x16], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x1000187b
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x1000187b
cmp dword [ebp - 0xc], 0
je 0x1000187b
push 9
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006625f
mov esp, ebp
pop ebp
ret
Function at 0x10001890
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10078d80
push 0x10066230
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x1007e040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001925
xor al, al
jmp 0x100019ae
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001950
xor al, al
jmp 0x100019ae
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x1000199b
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006625f
mov esp, ebp
pop ebp
ret
Function at 0x10002520
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x10081400
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x1000254b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10002556
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10002561
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000256c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10002577
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10002582
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000258d
bts eax, 1
test cl, 2
je 0x10002596
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
xor edx, edx
lea ecx, [edx + 1]
nop dword [eax]
test bl, 1
je 0x1000262f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10002620
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x10081400], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10002540
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002660
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x1006c7a0
push eax
or ebx, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x100026a7
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006625f
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x100026fe
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10081400]
sub edx, 1
jne 0x100026d6
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x100026b0
push dword [ebp - 0x408]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.1006625f
mov esp, ebp
pop ebp
ret 4
Function at 0x10006f10
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.10002520
call fcn.10001e10
test al, al
je 0x10006fb1
movaps xmm0, xmmword [0x10076ae0]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x121c
mov byte [ebp - 2], 0
nop
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10006f40
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.10002660
cmp eax, 0xba2d38a3
jne 0x10006fb1
movaps xmm0, xmmword [0x10076840]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
nop
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10006f70
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10002660
cmp eax, 0x27b35bb1
jne 0x10006fb1
call fcn.100022a0
test al, al
je 0x10006fb1
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10013f60
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x100067e0
push 0
push 0
mov dword [0x10081810], eax
mov dword [0x10081814], edx
mov dword [0x10081818], eax
mov dword [0x1008181c], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10006ad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x10008470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067c98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1007e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::exception_detail::clone_base.0
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 8]
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 4], vtable.boost::thread_resource_error.0
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x10008507
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [edi], vtable.boost::wrapexcept_class_boost::thread_resource_error_.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::thread_resource_error_.1.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::thread_resource_error_.2.0
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 0x1000ab50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067c98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1007e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::exception_detail::clone_base.0
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 8]
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 4], vtable.boost::lock_error.0
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x1000abe7
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [edi], vtable.boost::wrapexcept_class_boost::lock_error_.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::lock_error_.1.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::lock_error_.2.0
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 0x10011130
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1007e040]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x1001117a
mov dword [edi], 0
mov eax, edi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1006625f
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
jg 0x1001118a
jl 0x10011159
cmp dword [esp + 0x18], 0
jbe 0x10011159
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
xor esi, esi
call ebx
test eax, eax
jne 0x100111b1
nop dword [eax]
inc esi
cmp esi, 3
ja 0x10011159
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x100111a0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.100670c0
mulsd xmm0, qword [0x10076750]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
call fcn.100670c0
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.10066fc0
mov ecx, dword [esp + 0x24]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1006625f
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x1007e0ec], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x1007e0ec], edx
inc eax
cmp eax, 0x270
jb 0x10011641
mov dword [0x1007e0e8], 0x270
pop ebp
ret 8
Function at 0x10011670
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x100116cd
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x10011690
mov eax, dword [esi]
jmp 0x100117ab
cmp eax, 0x4e0
jb 0x100117ab
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x100116e6
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x10011731
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
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
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100125e0
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x10081864
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x100126c0
push 0x10081860
push 0
push 0
push 0x8004
push dword [0x10081864]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100126c0
movaps xmm0, xmmword [0x10076d60]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x39613730
movaps xmm0, xmmword [0x10077390]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x33652311
movaps xmm0, xmmword [0x10077860]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x70212b04
mov word [ebp - 4], 0x2c
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10012664
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x10081860]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100126c0
push 0x1008185c
push 0x800000
push dword [0x10081860]
push 0x6801
push dword [0x10081864]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x100126c0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10081858], eax
call fcn.10064e80
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10065350
push 0x100124a0
push 0x10081854
call fcn.10064b90
call fcn.10064ee0
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001272f
mov dword [0x10081854], 0x60f6e0
call fcn.10064e80
call esi
push eax
call fcn.10065350
push 0x100124a0
push 0x10081854
call fcn.10064700
call fcn.10064ee0
call fcn.10064e80
call esi
push eax
call fcn.10065350
push 0x100124d0
push 0x10081850
call fcn.10064b90
call fcn.10064ee0
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001278c
mov dword [0x10081850], 0x60eab0
call fcn.10064e80
call esi
push eax
call fcn.10065350
push 0x100124d0
push 0x10081850
call fcn.10064700
call fcn.10064ee0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10014830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x10081900], eax
mov cl, 2
mov byte [ebp - 0x24], 0x51
mov al, 6
xor al, byte [ebp - 0x24]
mov ah, 0x62
xor cl, byte [ebp - 0x24]
mov bl, 0xe
mov byte [ebp - 0x23], al
mov bh, 0x35
mov byte [ebp - 0x22], cl
mov cl, byte [ebp - 0x24]
mov byte [ebp - 1], 0x3d
xor ah, cl
mov al, byte [ebp - 1]
xor bl, cl
xor al, cl
mov dword [0x10081904], edx
mov byte [ebp - 0x1b], al
mov dl, 0x63
mov byte [ebp - 2], 0x3d
mov ch, dl
mov al, byte [ebp - 2]
mov dh, 0x7f
xor al, cl
mov byte [ebp - 0x1f], ah
mov byte [ebp - 0x1a], al
xor dl, cl
lea eax, [ebp - 0x23]
mov byte [ebp - 0x19], 0
xor ch, cl
mov byte [ebp - 0x21], dl
xor dh, cl
mov byte [ebp - 0x20], bl
xor bh, cl
mov byte [ebp - 0x1e], ch
push eax
mov byte [ebp - 0x1d], dh
mov byte [ebp - 0x1c], bh
mov byte [ebp - 0x19], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x100148d1
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ah, 0x1b
mov byte [ebp - 0x13], 0
mov al, 0x69
mov byte [ebp - 0x18], ah
xor al, ah
mov dword [ebp - 8], 0
mov cl, 0x7e
mov byte [ebp - 0x17], al
mov dl, 0x78
mov dword [ebp - 0xc], 0
mov bl, 0x6d
mov byte [ebp - 0x13], 0
xor cl, ah
xor dl, ah
xor bl, ah
mov byte [ebp - 0x16], cl
lea eax, [ebp - 0x17]
mov byte [ebp - 0x15], dl
push eax
push edi
mov byte [ebp - 0x14], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call fcn.10013c20
cmp al, 0xe9
je 0x100148ba
mov bh, 0x35
mov byte [ebp - 0x10], 0
mov al, 0x62
mov byte [ebp - 0x18], bh
mov ah, 0x50
mov byte [ebp - 0x10], 0
xor al, bh
xor ah, bh
mov byte [ebp - 0x17], al
mov cl, 0x66
mov byte [ebp - 0x13], ah
mov dl, 0x74
lea eax, [ebp - 0x17]
mov ch, 0x56
mov dh, 0x43
mov bl, 0x67
push eax
xor cl, bh
xor dl, bh
xor ch, bh
mov byte [ebp - 0x16], cl
xor dh, bh
mov byte [ebp - 0x15], dl
xor bl, bh
mov byte [ebp - 0x12], ch
push edi
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x11], dh
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10013c20
cmp al, 0xe9
je 0x100148ba
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1006c420
push 0x64
mov edi, edx
mov esi, ecx
call fcn.100666c8
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1001a714
push 0x64
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov byte [ebx], 1
lea eax, [ebx + 0x34]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebx + 0x10], xmm0
movq qword [ebx + 0x20], xmm0
mov dword [ebx + 0x28], 0
push eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 4], 2
mov dword [ebx + 0x30], 0
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 4
mov dword [0x100a3030], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.10019460
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x1007f524
mov dword [0x100a3034], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1001a5e6
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x1007f550]
cmp eax, 0x7fffffff
jne 0x1001a600
dec eax
push 6
mov dword [0x1007f550], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test edi, edi
je 0x1001a615
movups xmm0, xmmword [edi]
movups xmmword [0x100a2f18], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x1001a61f
xorps xmm0, xmm0
movups xmmword [0x100a2f18], xmm0
movq qword [0x100a2f28], xmm0
xorps xmm0, xmm0
push 0x1007f524
movups xmmword [0x100a3138], xmm0
movq qword [0x100a3148], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x100a7154], 0
jne 0x1001a71e
mov dword [0x100a7358], 0x1007f51c
test esi, esi
je 0x1001a689
cmp byte [esi], 0
mov ecx, 0x100a7368
je 0x1001a686
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x1001a686
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x1001a673
mov byte [ecx], 0
mov esi, dword [0x100a3030]
mov al, 1
mov dword [0x100a7154], 0x100a7358
mov dword [0x100a7360], 0x1001ab60
mov dword [0x100a7364], 0x1001ab70
xchg byte [esi], al
push 4
call fcn.1006626d
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x1001af50
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x1001a705
cmp dword [esi + 0x60], 0
je 0x1001a6eb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006625f
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x4c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x100a3030], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006625f
mov esp, ebp
pop ebp
ret