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

Disassembly:
push 0x16c
mov eax, 0x1003e629
call fcn.1003d701
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x178], esi
lea eax, [ebp - 0x157]
mov dword [ebp - 0x158], 1
xor ebx, ebx
mov word [ebp - 0x158], 0x19
push eax
mov byte [ebp - 0x157], bl
call fcn.10003da4
mov dword [ebp - 4], ebx
mov dword [ebp - 0x158], 1
test edi, edi
je 0x10008a48
movaps xmm0, xmmword [0x1004d8e0]
mov ecx, ebx
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x164], 0x757d3d75
mov dword [ebp - 0x160], 0x18757034
mov dword [ebp - 0x15c], 0x1d756a
mov al, byte [ebp - 0x174]
xor byte [ebp + ecx - 0x173], al
inc ecx
cmp ecx, 0x1a
jb 0x10008999
lea eax, [ebp - 0x173]
mov byte [ebp - 0x159], bl
push eax
lea ecx, [ebp - 0x130]
call fcn.10003da4
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x154]
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 - 0x11c], 0xf
lea ecx, [ebp - 0x154]
push ecx
lea eax, [ebp - 0x130]
cmova eax, dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
lea ecx, [ebp - 0x110]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008a25
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.10003b0f
lea ecx, [ebp - 0x130]
call fcn.10003ba2
mov eax, esi
call fcn.1003d6bf
ret

Function at 0x1000ab50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10054040]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x10], 0x128
push ebx
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x1000aba4
cmp dword [esp + 0x18], edi
je 0x1000abc6
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000ab92
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c324
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
je 0x1000abaf
push eax
call esi
jmp 0x1000abaf

Function at 0x1000acae
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 [0x100540ec], 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 + 0x100540ec], ecx
inc edx
cmp edx, esi
jb 0x1000acc3
mov dword [0x100540e8], esi
pop esi
pop ebp
ret 8
Function at 0x1000ace9
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 0x1000ad31
lea edx, [esi + 8]
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 0x1000acf9
jmp 0x1000ad3e
cmp dword [esi], 0x4e0
jb 0x1000ad3e
call fcn.1000ad78
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 0x1000ad78
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x9c4]
mov esi, 0xe3
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
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 + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1000ad91
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
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 0x1000addb
mov esi, dword [ebp - 4]
pop edi
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
and dword [esi], 0
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
leave
ret
Function at 0x1000b74e
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
movaps xmm0, xmmword [0x1004d290]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x1004d1b0]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [str.J_ty_F__ML__t_]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000b77b
push ebx
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], bl
push eax
push ebx
push 0x100578c4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000b85f
push 0x100578c0
push ebx
push ebx
push 0x8004
push dword [0x100578c4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000b85f
movaps xmm0, xmmword [0x1004cd90]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x3f673136
movaps xmm0, xmmword [0x1004d5b0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x35632517
movaps xmm0, xmmword [0x1004d860]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x76272d02
mov word [ebp - 4], 0x2a
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000b804
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], bl
push eax
push dword [0x100578c0]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000b85f
push 0x100578bc
push 0x800000
push dword [0x100578c0]
push 0x6801
push dword [0x100578c4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000b85f
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 [0x100578b8], eax
call fcn.1003af30
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003b410
mov ebx, 0x1000b693
push ebx
push 0x100578b4
call fcn.1003ac40
call fcn.1003af90
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000b8ca
mov dword [0x100578b4], 0x60f6e0
call fcn.1003af30
call esi
push eax
call fcn.1003b410
push ebx
push 0x100578b4
call fcn.1003a7b0
call fcn.1003af90
call fcn.1003af30
call esi
push eax
call fcn.1003b410
mov ebx, 0x1000b6b5
push ebx
push 0x100578b0
call fcn.1003ac40
call fcn.1003af90
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000b924
mov dword [0x100578b0], 0x60eab0
call fcn.1003af30
call esi
push eax
call fcn.1003b410
push ebx
push 0x100578b0
call fcn.1003a7b0
call fcn.1003af90
pop esi
pop ebx
leave
ret
Function at 0x1000ef94
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1004cf90]
mov eax, dword [0x1005794c]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], eax
push edi
mov edi, dword [0x10057948]
mov ecx, ebx
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x24], bl
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0xf
jb 0x1000efc7
sub esp, 0x18
mov byte [ebp - 0x24], bl
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10003da4
lea ecx, [ebp - 0x1c]
call fcn.10031b9f
add esp, 0x18
test edi, edi
jle 0x1000f02a
cmp dword [ebp - 8], 0xf
lea esi, [ebp - 0x1c]
cmova esi, dword [ebp - 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000f002
sub esi, ecx
mov eax, ebx
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x1c]
cmova ecx, dword [ebp - 0x1c]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x20]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jl 0x1000eff4
lea ecx, [ebp - 0x1c]
call fcn.10003ba2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c324
leave
ret
Function at 0x1000f430
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x1003ea7e
call fcn.1003d701
mov esi, ecx
test esi, esi
je 0x1000f5a2
xor ebx, ebx
lea edi, [ebp - 0x34]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x34], vtable.ByteBuffer.0
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x20
call fcn.100081c5
mov dword [ebp - 0x34], vtable.Packet.0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [esi + 4], ebx
jle 0x1000f4f8
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x50]
push dword [esi + 4]
mov al, byte [eax]
mov byte [ebp - 0x14], al
call fcn.10008232
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], vtable.Packet.0
call fcn.10008386
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x34]
call fcn.1000ef5b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], vtable.ByteBuffer.0
call fcn.100082a9
mov eax, dword [esi + 4]
test eax, eax
jle 0x1000f4f8
dec eax
lea ecx, [ebp - 0x34]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.10008386
cmp byte [0x100578dd], 0
jne 0x1000f58b
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edi, dword [ebp - 0x20]
movaps xmm0, xmmword [0x1004d2d0]
sub edi, eax
mov dword [ebp - 0x18], 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 0x1000f520
sub esp, 0x18
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10003da4
lea ecx, [ebp - 0x4c]
call fcn.10031b9f
add esp, 0x18
test edi, edi
jle 0x1000f583
cmp dword [ebp - 0x38], 0xf
lea esi, [ebp - 0x4c]
cmova esi, dword [ebp - 0x4c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000f55b
sub esi, ecx
mov eax, ebx
cmp dword [ebp - 0x38], 0xf
lea ecx, [ebp - 0x4c]
cmova ecx, dword [ebp - 0x4c]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x18]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jl 0x1000f54d
lea ecx, [ebp - 0x4c]
call fcn.10003ba2
lea ecx, [ebp - 0x34]
call fcn.1000f333
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.100082a9
call fcn.1003d6bf
ret
Function at 0x1000f834
Capabilities:
Encode data using xor

Disassembly:
push 0x58
mov eax, 0x1003eac2
call fcn.1003d701
cmp byte [0x100578dc], 0
je 0x1000f95c
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x10057958]
sbb edx, dword [0x1005795c]
mov dword [ebp - 0x50], edx
jne 0x1000f86f
cmp eax, 0xbb8
jb 0x1000f95c
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
movaps xmm0, xmmword [str.N_n__]
xor ecx, ecx
mov dword [0x10057958], eax
mov dword [0x1005795c], edx
movups xmmword [ebp - 0x64], xmm0
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0xe
jb 0x1000f88d
sub esp, 0x18
mov byte [ebp - 0x55], 0
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10003da4
lea ecx, [ebp - 0x48]
call fcn.10031b9f
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.10008232
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.10008386
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x14], 0xa2
call fcn.10008386
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmova eax, dword [ebp - 0x48]
push eax
call fcn.10008170
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
cmp ecx, 0x4000
ja 0x1000f945
mov ecx, dword ds:[0x10042be4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [0x10042be0]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.100082a9
lea ecx, [ebp - 0x48]
call fcn.10003ba2
call fcn.1003d6bf
ret
Function at 0x1000fd1a
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 [0x10057860]
call fcn.10007410
mov dword [edi], eax
lea eax, [edi + 8]
push eax
call fcn.100074d5
lea eax, [edi + 0x20]
xor ebx, ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100074d5
mov ecx, eax
call fcn.10007582
mov byte [edi + 0x38], al
call fcn.10007582
mov byte [edi + 0x39], al
call fcn.10007560
mov word [edi + 0x3e], ax
call fcn.10007582
mov byte [edi + 0x3a], al
call fcn.10007582
mov byte [edi + 0x3b], al
call fcn.10007582
mov byte [edi + 0x3c], al
call fcn.10007582
mov byte [edi + 0x68], al
call fcn.10007582
mov byte [edi + 0x69], al
call fcn.10007582
mov byte [edi + 0x6a], al
call fcn.10007582
mov byte [edi + 0x6b], al
call fcn.10007582
mov byte [edi + 0x6c], al
call fcn.10007410
mov dword [edi + 0x4c], eax
call fcn.10007410
mov ecx, dword [0x10057868]
mov dword [edi + 0x50], eax
mov byte [0x100578dc], 1
test ecx, ecx
je 0x1000fdd5
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x1000fdd5
call fcn.10014d2d
mov eax, dword [0x10057864]
test eax, eax
je 0x1000fe00
cmp byte [eax], bl
jne 0x1000fe00
push ebx
push ebx
push eax
push 0x100111a3
push ebx
push ebx
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000fe00
mov ecx, eax
call fcn.10010e8e
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10010b1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1004d500]
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], 0x6a666c2b
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 0x10010b4c
lea eax, [ebp - 0x33]
mov byte [ebp - 0x20], bl
push eax
mov edx, 0x10055488
lea ecx, [ebp - 0x1c]
call fcn.1000c3b9
mov eax, dword [esi + 0x1fc]
pop ecx
test eax, eax
je 0x10010b7f
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
push 0x8010
cmova 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 0x10010bb9
mov dword [esi + 0x14], eax
cmp byte [esi + 0x200], bl
je 0x10010bb9
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea ecx, [ebp - 0x1c]
call fcn.10003ba2
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c324
leave
ret
Function at 0x10010d08
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, 0x2f4
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x2f4], 0x746c4a18
push esi
mov cl, 0x18
mov dword [ebp - 0x2f0], 0x7c797754
mov dword [ebp - 0x2ec], 0x716a6c4b
mov eax, ebx
mov word [ebp - 0x2e8], 0x7f76
mov byte [ebp - 0x2e6], bl
xor byte [ebp + eax - 0x2f3], cl
inc eax
cmp eax, 0xd
jae 0x10010d65
mov cl, byte [ebp - 0x2f4]
jmp 0x10010d50
mov byte [ebp - 0x2e6], bl
mov cl, 5
mov dword [ebp - 0x2e4], 0x61716b05
mov eax, ebx
mov dword [ebp - 0x2e0], 0x612b6969
mov word [ebp - 0x2dc], 0x6969
mov byte [ebp - 0x2da], bl
xor byte [ebp + eax - 0x2e3], cl
inc eax
cmp eax, 9
jae 0x10010da7
mov cl, byte [ebp - 0x2e4]
jmp 0x10010d92
lea eax, [ebp - 0x2e3]
mov byte [ebp - 0x2da], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2f3]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
je 0x10010e7e
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 0x10010e7e
push 0x2c8
lea eax, [ebp - 0x2d4]
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 0x10010e7e
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10010e7e
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10010e7e
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x100019e9
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x10010e7e
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
jmp 0x10010e80
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c324
leave
ret
Function at 0x10010e8e
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], 0x4140e60
mov esi, ecx
mov dword [ebp - 8], 0x44e0c0c
push edi
mov cl, 0x60
mov word [ebp - 4], 0xc0c
mov byte [ebp - 2], bl
mov eax, ebx
xor byte [ebp + eax - 0xb], cl
inc eax
cmp eax, 9
jae 0x10010ec5
mov cl, byte [ebp - 0xc]
jmp 0x10010eb6
lea eax, [ebp - 0xb]
mov byte [ebp - 2], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
je 0x10010f2f
movaps xmm0, xmmword [0x1004d090]
mov ecx, ebx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x273d013b
mov dword [ebp - 0x10], 0x313430
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x16
jb 0x10010ef3
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 0x10010f2f
test esi, esi
jne 0x10010f20
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
jmp 0x10010f31
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10010f36
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 0x10010f70
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10010f74
cmp edx, esi
jne 0x10010f59
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 0x10010f94
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10010f98
cmp edx, esi
jne 0x10010f7d
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 0x10010fb8
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10010fbc
cmp edx, esi
jne 0x10010fa1
popfd
popal
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10011046
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.1000ab50
test eax, eax
jne 0x10011067
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
movaps xmm0, xmmword [str._g_LZDLA_LHM]
push ebx
push esi
xor ebx, ebx
push edi
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x10011079
mov byte [ebp - 0x15], bl
mov cl, 0x17
mov dword [ebp - 0x14], 0x73637917
mov eax, ebx
mov dword [ebp - 0x10], 0x73397b7b
mov word [ebp - 0xc], 0x7b7b
mov byte [ebp - 0xa], bl
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 9
jae 0x100110b3
mov cl, byte [ebp - 0x14]
jmp 0x100110a4
lea eax, [ebp - 0x13]
mov byte [ebp - 0xa], bl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x23]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x116e058
mov edi, eax
call fcn.1000d2b7
push eax
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1001110c
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push esi
call edi
test eax, eax
js 0x1001105f
cmp dword [ebp - 8], ebx
ja 0x1001105f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c324
leave
ret

Function at 0x1001111b
Capabilities:
Resume thread

Disassembly:
push 0xc
push 0x1004fd58
call fcn.1003d270
mov esi, dword [0x10057954]
test esi, esi
jne 0x10011136
or eax, 0xffffffff
jmp 0x10011193
and dword [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10011156
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
inc eax
jmp 0x10011193
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x1001116d
mov dword [ebp - 4], 0xfffffffe
push 2
pop eax
jmp 0x10011193
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
test eax, eax
jns 0x1001118a
mov dword [ebp - 4], 0xfffffffe
push 3
jmp 0x1001116a
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret