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

Disassembly:
push 0x184
mov eax, 0x10036188
call fcn.10035531
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 0x4d
xor ebx, ebx
lea ecx, [ebp - 0x130]
push eax
mov dword [ebp - 0x190], ebx
mov byte [ebp - 0x16f], bl
call fcn.10002845
mov dword [ebp - 4], ebx
test edi, edi
jne 0x10005452
lea eax, [ebp - 0x130]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.1000236d
jmp 0x10005546
movaps xmm0, xmmword [str.0uH_YBQDY__n]
mov edx, ebx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x151d5d15
mov dword [ebp - 0x178], 0x78151054
mov dword [ebp - 0x174], 0x7d150a
mov cl, byte [ebp - 0x18c]
xor byte [ebp + edx - 0x18b], cl
inc edx
cmp edx, 0x1a
jb 0x10005480
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x171], bl
push eax
lea ecx, [ebp - 0x148]
call fcn.10002845
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x118], edi
push eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
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
lea ecx, [ebp - 0x110]
call fcn.1000282d
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x130]
call fcn.100027be
lea eax, [ebp - 0x130]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.1000236d
push ebx
push 1
lea ecx, [ebp - 0x148]
call fcn.100026f1
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.100026f1
mov eax, esi
call fcn.100354db
ret

Function at 0x1000798b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10045014]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [esp + 0x10], 0x128
push esi
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x100079df
cmp dword [esp + 0x18], ebx
je 0x100079e5
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100079cd
jmp 0x100079e8
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10034435
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov dword [0x10045044], ecx
inc edx
mov esi, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10045044], ecx
inc edx
cmp edx, esi
jl 0x10007aba
mov dword [0x10045040], esi
pop esi
pop ebp
ret 8
Function at 0x10007b50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x10007b98
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
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 0x10007b60
jmp 0x10007ba5
cmp dword [esi], 0x4e0
jb 0x10007ba5
call fcn.10007bdf
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

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

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x10007bef
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x10007c2f
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebx
ret
Function at 0x1000853f
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, 0x40
movaps xmm0, xmmword [0x1003f820]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x1003f7b0]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [0x1003ed90]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000856c
push ebx
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], bl
push eax
push ebx
push 0x1004704c
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10008650
push 0x10047048
push ebx
push ebx
push 0x8004
push dword [0x1004704c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10008650
movaps xmm0, xmmword [0x1003fa80]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x722a7c7b
movaps xmm0, xmmword [0x1003f480]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x782e685a
movaps xmm0, xmmword [0x1003f550]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x3b6a604f
mov word [ebp - 4], 0x67
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x100085f5
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], bl
push eax
push dword [0x10047048]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10008650
push 0x10047044
push 0x800000
push dword [0x10047048]
push 0x6801
push dword [0x1004704c]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10008650
push ebx
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 [0x10047040], eax
call fcn.10033080
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10033550
mov ebx, 0x1000847e
push ebx
push 0x1004703c
call fcn.10032d80
call fcn.100330e0
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100086bb
mov dword [0x1004703c], 0x60f6e0
call fcn.10033080
call esi
push eax
call fcn.10033550
push ebx
push 0x1004703c
call fcn.100328f0
call fcn.100330e0
call fcn.10033080
call esi
push eax
call fcn.10033550
mov ebx, 0x100084a0
push ebx
push 0x10047038
call fcn.10032d80
call fcn.100330e0
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10008715
mov dword [0x10047038], 0x60eab0
call fcn.10033080
call esi
push eax
call fcn.10033550
push ebx
push 0x10047038
call fcn.100328f0
call fcn.100330e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ae31
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1003fc50]
push ebx
mov ebx, dword [0x100470a0]
push esi
mov dword [ebp - 0x20], ecx
xor ecx, ecx
push edi
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0xf
jb 0x1000ae5e
sub esp, 0x18
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10002845
lea ecx, [ebp - 0x1c]
call fcn.1002db6a
add esp, 0x18
xor edi, edi
test ebx, ebx
jle 0x1000aec4
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000ae9c
sub esi, ecx
mov eax, edi
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x20]
xor byte [ecx + edi], al
inc edi
cmp edi, ebx
jl 0x1000ae8e
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.100026f1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10034435
mov esp, ebp
pop ebp
ret
Function at 0x1000b1b3
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x100365b5
call fcn.10035531
mov esi, ecx
test esi, esi
je 0x1000b332
xor ebx, ebx
lea edi, [ebp - 0x30]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x30], vtable.ByteBuffer.0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0x20
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.10004cc8
mov dword [ebp - 0x30], vtable.Packet.0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], ebx
jle 0x1000b284
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x4c]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.10004c43
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], vtable.Packet.0
call fcn.10004de7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000b6ec
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], vtable.ByteBuffer.0
call fcn.10004d7f
mov eax, dword [esi + 4]
test eax, eax
jle 0x1000b284
dec eax
lea ecx, [ebp - 0x30]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.10004de7
cmp byte [0x10047068], 0
jne 0x1000b31b
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov edi, dword [ebp - 0x1c]
movaps xmm0, xmmword [0x1003f4a0]
sub edi, eax
mov dword [ebp - 0x50], eax
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x54], bl
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0xf
jb 0x1000b2ac
sub esp, 0x18
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10002845
lea ecx, [ebp - 0x48]
call fcn.1002db6a
add esp, 0x18
test edi, edi
jle 0x1000b30f
cmp dword [ebp - 0x34], 0x10
lea esi, [ebp - 0x48]
cmovae esi, dword [ebp - 0x48]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000b2e7
sub esi, ecx
mov eax, ebx
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x50]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jl 0x1000b2d9
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.100026f1
lea ecx, [ebp - 0x30]
call fcn.1000b0d0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10004d7f
call fcn.100354db
ret
Function at 0x1000b5d0
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x100365f2
call fcn.10035531
cmp byte [0x10047013], 0
je 0x1000b6dd
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x100470a8]
sbb edx, dword [0x100470ac]
mov dword [ebp - 0x5c], edx
jne 0x1000b60b
cmp eax, 0xbb8
jb 0x1000b6dd
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
movaps xmm0, xmmword [0x1003ee30]
mov dword [0x100470ac], edx
xor edx, edx
mov dword [0x100470a8], eax
movups xmmword [ebp - 0x58], xmm0
mov cl, byte [ebp - 0x58]
xor byte [ebp + edx - 0x57], cl
inc edx
cmp edx, 0xe
jb 0x1000b629
sub esp, 0x18
mov byte [ebp - 0x49], 0
lea eax, [ebp - 0x57]
mov ecx, esp
push eax
call fcn.10002845
lea ecx, [ebp - 0x48]
call fcn.1002db6a
add esp, 0x18
and dword [ebp - 4], 0
lea edi, [ebp - 0x30]
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0xa1
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x30]
call fcn.10004c43
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], vtable.Packet.0
call fcn.10004de7
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa2
call fcn.10004de7
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.10004bea
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub edx, ecx
call fcn.1000a0eb
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10004d7f
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.100026f1
call fcn.100354db
ret
Function at 0x1000ba33
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov edi, dword [0x10046ff8]
call fcn.10003f82
mov dword [edi], eax
mov ecx, esi
lea eax, [edi + 8]
push eax
call fcn.10004033
lea eax, [edi + 0x20]
xor ebx, ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10004033
mov esi, eax
mov ecx, esi
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x38], al
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x39], al
call fcn.100040e6
mov ecx, esi
mov word [edi + 0x3e], ax
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x3a], al
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x3b], al
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x3c], al
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x68], al
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x69], al
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x6a], al
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x6b], al
call fcn.1000410c
mov ecx, esi
mov byte [edi + 0x6c], al
call fcn.10003f82
mov ecx, esi
mov dword [edi + 0x4c], eax
call fcn.10003f82
mov ecx, dword [0x10047000]
mov dword [edi + 0x50], eax
mov byte [0x10047013], 1
test ecx, ecx
je 0x1000bb0a
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x1000bb0a
call fcn.10010a55
mov eax, dword [0x10046ffc]
test eax, eax
je 0x1000bb35
cmp byte [eax], bl
jne 0x1000bb35
push ebx
push ebx
push eax
push 0x1000cd6a
push ebx
push ebx
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000bb35
mov ecx, eax
call fcn.1000ca27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000c6b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1003f4c0]
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], 0x262a2067
push esi
mov esi, ecx
mov byte [ebp - 0x20], bl
movups xmmword [ebp - 0x34], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x13
jb 0x1000c6dd
lea eax, [ebp - 0x33]
mov byte [ebp - 0x20], bl
push eax
mov edx, 0x100463e0
lea ecx, [ebp - 0x1c]
call fcn.100090f0
mov eax, dword [esi + 0x1fc]
pop ecx
test eax, eax
je 0x1000c710
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x8010
cmovae eax, dword [ebp - 0x1c]
push ebx
push ebx
push 1
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1fc], eax
test eax, eax
je 0x1000c74a
mov dword [esi + 0x14], eax
cmp byte [esi + 0x200], bl
je 0x1000c74a
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.100026f1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10034435
mov esp, ebp
pop ebp
ret
Function at 0x1000c8a0
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, 0x2f4
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x2f4], 0x140c2a78
push esi
mov cl, 0x78
mov dword [ebp - 0x2f0], 0x1c191734
mov dword [ebp - 0x2ec], 0x110a0c2b
mov eax, ebx
mov word [ebp - 0x2e8], 0x1f16
mov byte [ebp - 0x2e6], bl
xor byte [ebp + eax - 0x2f3], cl
inc eax
cmp eax, 0xd
jae 0x1000c8fd
mov cl, byte [ebp - 0x2f4]
jmp 0x1000c8e8
mov byte [ebp - 0x2e6], bl
mov cl, 0x49
mov dword [ebp - 0x2e4], 0x2d3d2749
mov eax, ebx
mov dword [ebp - 0x2e0], 0x2d672525
mov word [ebp - 0x2dc], 0x2525
mov byte [ebp - 0x2da], bl
xor byte [ebp + eax - 0x2e3], cl
inc eax
cmp eax, 9
jae 0x1000c93f
mov cl, byte [ebp - 0x2e4]
jmp 0x1000c92a
lea eax, [ebp - 0x2f3]
mov byte [ebp - 0x2da], bl
push eax
lea eax, [ebp - 0x2e3]
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 0x1000c971
xor eax, eax
jmp 0x1000ca17
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000c96a
push 0x2cc
lea eax, [ebp - 0x2d8]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1000c96a
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1000c96a
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1000c96a
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x100019a1
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1000c96a
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10034435
mov esp, ebp
pop ebp
ret
Function at 0x1000ca27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], 0x3130967
mov esi, ecx
mov dword [ebp - 8], 0x3490b0b
push edi
mov cl, 0x67
mov word [ebp - 4], 0xb0b
mov byte [ebp - 2], bl
mov eax, ebx
xor byte [ebp + eax - 0xb], cl
inc eax
cmp eax, 9
jae 0x1000ca5e
mov cl, byte [ebp - 0xc]
jmp 0x1000ca4f
lea eax, [ebp - 0xb]
mov byte [ebp - 2], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
jne 0x1000ca75
xor al, al
jmp 0x1000caca
movaps xmm0, xmmword [0x1003fb20]
mov ecx, ebx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x69734f75
mov dword [ebp - 0x10], 0x7f7a7e
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x16
jb 0x1000ca90
lea eax, [ebp - 0x23]
mov byte [ebp - 0xd], bl
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000ca71
test esi, esi
jne 0x1000cabd
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push ebx
push ebx
push 0x11
push esi
call edi
neg eax
sbb al, al
inc al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000cad1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
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 0x1000cb0b
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000cb0f
cmp edx, esi
jne 0x1000caf4
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 0x1000cb2f
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000cb33
cmp edx, esi
jne 0x1000cb18
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 0x1000cb53
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000cb57
cmp edx, esi
jne 0x1000cb3c
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cbe3
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
call fcn.1000798b
xor ebx, ebx
test eax, eax
je 0x1000cc2b
push esi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
mov dword [ebp - 8], eax
test eax, eax
je 0x1000cc31
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
jmp 0x1000cc2d
mov eax, ebx
test eax, eax
jne 0x1000cc39
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
movaps xmm0, xmmword [str._nTrESUMEtHREAD]
mov ecx, ebx
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x1000cc46
mov byte [ebp - 0x19], bl
mov cl, 0x53
mov dword [ebp - 0x14], 0x37273d53
mov eax, ebx
mov dword [ebp - 0x10], 0x377d3f3f
mov word [ebp - 0xc], 0x3f3f
mov byte [ebp - 0xa], bl
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 9
jae 0x1000cc80
mov cl, byte [ebp - 0x14]
jmp 0x1000cc71
lea eax, [ebp - 0x27]
mov byte [ebp - 0xa], bl
push eax
lea eax, [ebp - 0x13]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x116e058
mov dword [ebp - 0x18], eax
call fcn.1000a011
push eax
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1000ccdc
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push esi
call dword [ebp - 0x18]
test eax, eax
js 0x1000cc31
cmp dword [ebp - 8], 0
ja 0x1000cc31
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10034435
mov esp, ebp
pop ebp
ret

Function at 0x1000ccec
Capabilities:
Resume thread

Disassembly:
push 0xc
push 0x100413f8
call fcn.10035290
mov esi, dword [0x100470c0]
test esi, esi
jne 0x1000cd07
or eax, 0xffffffff
jmp 0x1000cd64
and dword [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1000cd27
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
inc eax
jmp 0x1000cd64
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x1000cd3e
mov dword [ebp - 4], 0xfffffffe
push 2
pop eax
jmp 0x1000cd64
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
test eax, eax
jns 0x1000cd5b
mov dword [ebp - 4], 0xfffffffe
push 3
jmp 0x1000cd3b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.100352d6
ret