joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007b20
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.100024d0
call fcn.10001dc0
test al, al
je 0x10007baa
movaps xmm0, xmmword [0x100a5490]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x444a
mov byte [ebp - 2], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10007b50
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.10002610
cmp eax, 0xba2d38a3
jne 0x10007baa
movaps xmm0, xmmword [0x100a49c0]
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 0x10007b80
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10002610
cmp eax, 0x27b35bb1
jne 0x10007baa
call fcn.10002250
test al, al
jne 0x10007c25
push ebx
push esi
push edi
call fcn.10016840
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10007440
push 0
push 0
mov dword [0x100b2008], eax
mov dword [0x100b200c], edx
mov dword [0x100b2010], eax
mov dword [0x100b2014], edx
call esi
mov ebx, eax
test ebx, ebx
je 0x10007c25
push 0
push 0
push 0
push 0x100076d0
push 0
push 0
call esi
mov edi, eax
test edi, edi
je 0x10007c25
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push ebx
call esi
push 0x64
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
push 1
call fcn.1007449d
int3
Function at 0x1000b770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d8c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100ad040]
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 fcn.1006b6da
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 0x1000b806
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 0x1000e2c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d8c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100ad040]
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 fcn.1006b6da
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 0x1000e356
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 0x10010ad0
Capabilities:
Encode data using xor

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 0x1008e132
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x160], esi
mov dword [ebp - 0x180], esi
lea ecx, [ebp - 0x15f]
mov dword [ebp - 0x160], 1
lea edx, [ecx + 1]
xorps xmm0, xmm0
mov word [ebp - 0x160], 0x2b
movups xmmword [esi], xmm0
mov byte [ebp - 0x15f], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010b58
sub ecx, edx
lea eax, [ebp - 0x15f]
push ecx
push eax
mov ecx, esi
call fcn.100051e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x160], 1
test edi, edi
je 0x10010cce
movaps xmm0, xmmword [0x100a5250]
xor ecx, ecx
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x16c], 0x464e0e46
mov dword [ebp - 0x168], 0x2b464307
mov dword [ebp - 0x164], 0x2e4659
nop word [eax + eax]
mov al, byte [ebp - 0x17c]
xor byte [ebp + ecx - 0x17b], al
inc ecx
cmp ecx, 0x1a
jb 0x10010bc0
xorps xmm0, xmm0
mov byte [ebp - 0x161], 0
lea ecx, [ebp - 0x17b]
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x124], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010c01
sub ecx, edx
lea eax, [ebp - 0x17b]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.100051e0
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x120], edi
push eax
mov dword [ebp - 0x11c], 0
call fcn.10074e88
cmp dword [ebp - 0x124], 0xf
lea ecx, [ebp - 0x15c]
push ecx
lea eax, [ebp - 0x138]
cmova eax, dword [ebp - 0x138]
push eax
lea eax, [ebp - 0x118]
push 0x100
push eax
call fcn.10075298
lea ecx, [ebp - 0x118]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010c80
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
mov ecx, esi
call fcn.10004f00
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x10010cce
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010cc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010cee
push ecx
push edx
call fcn.10069bf1
add esp, 8
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.10069b90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006f2c1
int3
Function at 0x10013af0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x100ad040]
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 0x10013b3a
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.10069b90
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
jg 0x10013b4a
jl 0x10013b19
cmp dword [esp + 0x18], 0
jbe 0x10013b19
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
xor esi, esi
call ebx
test eax, eax
jne 0x10013b71
nop dword [eax]
inc esi
cmp esi, 3
ja 0x10013b19
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x10013b60
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.1006abe0
mulsd xmm0, qword [0x100a4700]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
call fcn.1006abe0
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.1006aae0
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.10069b90
mov esp, ebp
pop ebp
ret

Function at 0x10013f60
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 [0x100adb6c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x100adb6c], edx
inc eax
cmp eax, 0x270
jb 0x10013f71
mov dword [0x100adb68], 0x270
pop ebp
ret 8
Function at 0x10013fa0
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 0x10013ffd
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 0x10013fc0
mov eax, dword [esi]
jmp 0x100140db
cmp eax, 0x4e0
jb 0x100140db
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 0x10014016
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 0x10014061
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 0x10014db0
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 [0x100a4f90]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x100a4f20]
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [0x100a4970]
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 0x10014de0
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x100b205c
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10014ecc
push 0x100b2058
push 0
push 0
push 0x8004
push dword [0x100b205c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10014ecc
movaps xmm0, xmmword [0x100a57c0]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x663e686f
movaps xmm0, xmmword [0x100a4fe0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x6c3a7c4e
movaps xmm0, xmmword [str.fikN_xCQZDxlbJ:_K]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x2f7e745b
mov word [ebp - 4], 0x73
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10014e70
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x100b2058]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10014ecc
push 0x100b2054
push 0x800000
push dword [0x100b2058]
push 0x6801
push dword [0x100b205c]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10014ecc
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 [0x100b2050], eax
call fcn.100687e0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10068cb0
push 0x10014c70
push 0x100b204c
call fcn.100684f0
call fcn.10068840
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10014f3a
mov dword [0x100b204c], 0x60f6e0
call fcn.100687e0
call esi
push eax
call fcn.10068cb0
push 0x10014c70
push 0x100b204c
call fcn.10068060
call fcn.10068840
call fcn.100687e0
call esi
push eax
call fcn.10068cb0
push 0x10014ca0
push 0x100b2048
call fcn.100684f0
call fcn.10068840
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10014f97
mov dword [0x100b2048], 0x60eab0
call fcn.100687e0
call esi
push eax
call fcn.10068cb0
push 0x10014ca0
push 0x100b2048
call fcn.10068060
call fcn.10068840
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10016840
Capabilities:
Acquire debug privileges
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x100ad040]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
call esi
test eax, eax
jne 0x10016864
call esi
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001693c
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001693c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x30]
push eax
push str.SeSecurityPrivilege
push 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x44], 4
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1001693c
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1001693c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x30]
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x44], 4
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1001693c
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1001693c
push dword [esp + 0x20]
call esi
push edi
call esi
lea eax, [esp + 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 0x100169d6
movaps xmm0, xmmword [0x100a5220]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x4e
nop dword [eax]
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x10
jb 0x10016970
lea eax, [esp + 0x24]
mov byte [esp + 0x1d], 0
push eax
lea eax, [esp + 0x11]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100169d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0x10
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x34]
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 0x20]
call esi
call fcn.1001be00
mov dword [0x100b20ec], eax
test eax, eax
je 0x100169eb
mov ecx, eax
call fcn.1001bff0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.10069b90
mov esp, ebp
pop ebp
ret
Function at 0x1001bcc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x100ad040]
xor eax, esp
mov dword [esp + 0x34], eax
movaps xmm0, xmmword [0x100a5260]
push esi
mov esi, ecx
mov dword [esp + 0x14], 0x44484205
push edi
movups xmmword [esp + 8], xmm0
mov byte [esp + 0x1c], 0
xor ecx, ecx
mov al, byte [esp + 8]
xor byte [esp + ecx + 9], al
inc ecx
cmp ecx, 0x13
jb 0x1001bcf3
mov edx, dword [0x100aef18]
lea ecx, [esp + 9]
mov byte [esp + 0x1c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bd13
mov eax, 0x7fffffff
sub ecx, edi
sub eax, edx
cmp eax, ecx
jb 0x1001bde9
cmp dword [0x100aef1c], 0xf
mov eax, 0x100aef08
push ecx
cmova eax, dword [0x100aef08]
lea ecx, [esp + 0xd]
push ecx
push edx
push eax
push ecx
push dword [esp + 0x34]
lea ecx, [esp + 0x3c]
call fcn.10010d00
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x1001bd65
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [esp + 0x38], 0xf
lea eax, [esp + 0x24]
push 0x8010
cmova eax, dword [esp + 0x28]
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 0x1001bda6
cmp byte [esi + 0x200], 0
mov dword [esi + 0x14], eax
je 0x1001bda6
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov ecx, dword [esp + 0x38]
cmp ecx, 0xf
jbe 0x1001bdd8
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001bdce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bdee
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.10069b90
mov esp, ebp
pop ebp
ret
call fcn.10005080
call fcn.1006f2c1
int3
Function at 0x1001be00
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
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 [0x100ad040]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x3d
mov dword [ebp - 0x2f8], 0x51496f3d
mov dword [ebp - 0x2f4], 0x595c5271
xor eax, eax
mov dword [ebp - 0x2f0], 0x544f496e
mov word [ebp - 0x2ec], 0x5a53
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1001be5a
mov cl, byte [ebp - 0x2f8]
jmp 0x1001be45
push ebx
mov byte [ebp - 0x2e8], 0x2b
mov al, 0x45
xor al, byte [ebp - 0x2e8]
mov bl, 0x47
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x4f
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, 0x5f
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 5
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
je 0x1001bfd2
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 0x1001bfd2
push 0x2c8
lea eax, [ebp - 0x2d4]
push 0
push eax
call fcn.1006bd80
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 0x1001bfd2
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1001bfd2
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1001bfd2
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001900
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1001bfd2
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10069b90
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10069b90
mov esp, ebp
pop ebp
ret
Function at 0x1001bff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0x23
mov al, 0x4d
xor al, byte [ebp - 0x10]
mov bl, 0x4f
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x47
push esi
mov esi, ecx
mov byte [ebp - 1], ah
mov bh, ah
mov byte [ebp - 6], 0
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
xor bl, al
xor ah, al
mov byte [ebp - 0xd], dl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 0xc], bl
mov cl, 0x57
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 8], bh
mov ch, 0xd
mov byte [ebp - 0xe], cl
xor ch, al
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push edi
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
je 0x1001c0c3
movaps xmm0, xmmword [0x100a4b80]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x8122e14
mov dword [ebp - 0x14], 0x1e1b1f
nop word [eax + eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x1001c080
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1001c0c3
test esi, esi
jne 0x1001c0ae
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push 0
push 0
push 0x11
push esi
call edi
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001c0d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x1001c10e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001c112
cmp edx, esi
jne 0x1001c0f7
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x1001c132
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001c136
cmp edx, esi
jne 0x1001c11b
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x1001c156
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001c15a
cmp edx, esi
jne 0x1001c13f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret