joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001fc70
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 0x100ab760
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x100d6084]
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 [0x100db41d], 0
je 0x1001fe65
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x100db4a0]
sbb edx, dword [0x100db4a4]
mov dword [ebp - 0x5c], edx
jne 0x1001fcdf
cmp eax, 0xbb8
jb 0x1001fe65
call esi
movaps xmm0, xmmword [str.O_v._]
xor ecx, ecx
mov dword [0x100db4a0], eax
mov dword [0x100db4a4], 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 0x1001fd00
sub esp, 0x18
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10002940
lea ecx, [ebp - 0x48]
call fcn.10069070
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.10012720
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 0x1001fdca
lea esi, [eax + 1]
cmp edi, esi
jae 0x1001fdbd
push esi
lea ecx, [ebp - 0x20]
call fcn.10012660
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 0x1001fdfc
lea esi, [eax + 1]
cmp edx, esi
jae 0x1001fdf2
push esi
lea ecx, [ebp - 0x20]
call fcn.10012660
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.10021b10
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 0x1001fe41
mov eax, dword [0x100db428]
mov dword [ebp - 0x5c], eax
mov ecx, dword ds:[0x100bfda4]
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.10012820
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1001fe65
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.10002720
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.1006e1c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10020060
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100d6084]
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 0x100200cb
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x10020233
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], fcn.10020260
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 0x10020151
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x10020140
mov eax, dword [esi]
jmp 0x10020142
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 1
jmp 0x10020226
mov eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x38], eax
call fcn.1006e7c4
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10020176
push dword [ebp - 0x38]
push 0
push ebx
call fcn.10086ac0
add esp, 0xc
jmp 0x10020178
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 0x100201d4
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 0x100201b9
mov eax, dword [esi]
jmp 0x100201bb
mov eax, esi
mov byte [eax], 0
test ebx, ebx
je 0x100201cb
push ebx
call fcn.1006e56a
add esp, 4
mov dword [ebp - 4], 3
jmp 0x10020226
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x1002020c
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 0x100201f5
mov eax, dword [esi]
jmp 0x100201f7
mov eax, esi
push ebx
mov byte [eax], 0
call fcn.1006e56a
add esp, 4
mov dword [ebp - 4], 4
jmp 0x10020226
add eax, ebx
mov ecx, esi
push eax
call fcn.10002940
push ebx
call fcn.1006e56a
add esp, 4
mov dword [ebp - 4], 5
test edi, edi
je 0x10020233
push edi
call fcn.10020260
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.1006e1c5
mov esp, ebp
pop ebp
ret
Function at 0x100251c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov eax, dword [0x100c6e14]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
mov esi, ecx
mov ax, word [0x100c6e18]
push 3
movups xmmword [ebp - 0x34], xmm0
push 0
movups xmm0, xmmword [0x100c6dfc]
mov word [ebp - 8], ax
mov eax, 0x30
push 0
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x34]
movups xmmword [ebp - 0x24], xmm0
push 0xc0000000
movq xmm0, qword [0x100c6e0c]
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10025290
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x10025259
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x100252a6
inc ax
mov word [ebp - 0xa], ax
jmp 0x1002526f
cmp eax, 0xe7
jne 0x100252a6
push 0x2710
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
je 0x100252a6
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x10025240
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret
Function at 0x10027200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, ecx
mov ebx, 1
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
add eax, 0x10
mov dword [ebp + 0xc], eax
push 0x5851f42d
xor eax, eax
mov ecx, esi
push 0x4c957f2d
shr ecx, 0x1e
xor eax, esi
xor ecx, edi
push eax
push ecx
call fcn.1006efe0
mov edi, eax
mov esi, edx
mov eax, ebx
cdq
add edi, eax
mov eax, dword [ebp + 0xc]
adc esi, edx
inc ebx
mov dword [eax], edi
mov dword [eax + 4], esi
add eax, 8
mov dword [ebp + 0xc], eax
cmp ebx, 0x138
jl 0x10027223
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [eax], 0x138
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1002b200
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 [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x5b
mov dword [ebp - 0x2f4], 0x372f095b
mov dword [ebp - 0x2f0], 0x3f3a3417
xor eax, eax
mov dword [ebp - 0x2ec], 0x32292f08
mov word [ebp - 0x2e8], 0x3c35
mov byte [ebp - 0x2e6], 0
xor byte [ebp + eax - 0x2f3], cl
inc eax
cmp eax, 0xd
jae 0x1002b25a
mov cl, byte [ebp - 0x2f4]
jmp 0x1002b245
push ebx
mov byte [ebp - 0x2e4], 0x47
mov al, 0x29
xor al, byte [ebp - 0x2e4]
mov bl, 0x2b
mov ah, bl
mov byte [ebp - 0x2e3], al
mov al, byte [ebp - 0x2e4]
mov dl, 0x23
mov bh, ah
mov byte [ebp - 0x2d5], ah
xor bl, al
mov byte [ebp - 0x2da], 0
xor ah, al
mov byte [ebp - 0x2e6], 0
xor bh, al
mov byte [ebp - 0x2df], ah
mov dh, dl
mov byte [ebp - 0x2e0], bl
xor dl, al
mov byte [ebp - 0x2dc], bh
xor dh, al
mov byte [ebp - 0x2e1], dl
mov cl, 0x33
mov byte [ebp - 0x2dd], dh
xor cl, al
mov byte [ebp - 0x2da], 0
mov ch, 0x69
mov byte [ebp - 0x2e2], cl
xor ch, al
mov al, byte [ebp - 0x2d5]
xor al, byte [ebp - 0x2e4]
mov byte [ebp - 0x2db], al
lea eax, [ebp - 0x2f3]
push esi
push eax
lea eax, [ebp - 0x2e3]
mov byte [ebp - 0x2de], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], 0
lea esi, [eax + 0x430]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x2cc
lea eax, [ebp - 0x2d4]
push 0
push eax
call fcn.10086ac0
add esp, 0xc
push 0
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2d4], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x224], 0x10002080
push eax
push esi
mov dword [ebp - 0x2d4], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret
Function at 0x1002b3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x100c8f50]
xor eax, eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x18], 0x4e546852
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0x585d59
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x1002b3d6
mov byte [ebp - 0x10], 0x69
mov al, 7
xor al, byte [ebp - 0x10]
mov bl, 5
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0xd
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, 0x1d
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 6], 0
mov ch, 0x47
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 0x1002b45f
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 0x1002b47e
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 0x1002b490
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 0x1002b4ce
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1002b4d2
cmp edx, esi
jne 0x1002b4b7
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 0x1002b4f2
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1002b4f6
cmp edx, esi
jne 0x1002b4db
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 0x1002b516
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1002b51a
cmp edx, esi
jne 0x1002b4ff
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002bee0
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov byte [ebp - 0x18], 0x6b
mov al, 5
xor al, byte [ebp - 0x18]
mov bl, 7
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0xf
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, 0x1f
mov byte [ebp - 0x10], bh
xor cl, al
mov ch, 0x45
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 [0x100c85a0]
mov edx, eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x1a1f04
xor ecx, ecx
pop ebx
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x12
jb 0x1002bf66
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x19], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
mov edx, 0x1002b970
mov ecx, eax
call fcn.10069140
add esp, 4
mov dword [0x100df508], 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.1006e1c5
mov esp, ebp
pop ebp
ret
Function at 0x1002d5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x100d6084]
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 [0x100df528], eax
test edx, edx
je 0x1002d69f
cmp dword [ebp + 0xc], 1
jne 0x1002d69f
mov eax, dword [esi + 4]
test eax, eax
je 0x1002d68b
cmp edx, eax
jne 0x1002d68b
cmp byte [0x100db45b], 0
sete al
xor ecx, ecx
mov byte [0x100db45b], al
test al, al
je 0x1002d646
movaps xmm0, xmmword [0x100c8fa0]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x56
nop
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x1002d630
mov byte [ebp - 0x23], 0
lea eax, [ebp - 0x33]
jmp 0x1002d669
movaps xmm0, xmmword [0x100c8260]
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 0x1002d655
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10002940
mov dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
mov ecx, dword [esi]
call fcn.1001c1c0
lea ecx, [ebp - 0x4c]
call fcn.100022f0
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 0x1002d8c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac218
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100d6084]
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.1002cbc0
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.1002cb20
mov ecx, 0xd78d54
call fcn.1001c4d0
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 0x1002d9e8
mov edx, 0x1002ebb0
mov ecx, 0x4de1e6
call fcn.1001fbf0
mov eax, dword [esi]
test eax, eax
je 0x1002da54
push 4
push eax
call ebx
test eax, eax
jne 0x1002da54
mov ecx, esi
call fcn.1002da90
cmp dword [0x100df538], 0
jne 0x1002da41
mov edi, dword [esi]
test edi, edi
je 0x1002da29
push 4
push edi
call ebx
test eax, eax
jne 0x1002da29
push 4
lea eax, [edi + 0x64]
push eax
call ebx
test eax, eax
jne 0x1002da29
mov edi, dword [edi]
add edi, 0x64
jmp 0x1002da2b
xor edi, edi
mov eax, dword [edi]
push 4
push eax
mov dword [0x100df538], eax
call ebx
test eax, eax
jne 0x1002da41
mov dword [edi], 0x1002ebe0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002da70
mov ecx, dword [ebp - 0x14]
sub ecx, eax
sar ecx, 2
push ecx
push eax
jmp 0x1002da6b
mov ecx, dword [ebp - 0x1c]
mov dword [esi], 0
test ecx, ecx
je 0x1002da70
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.10014100
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.1006e1c5
mov esp, ebp
pop ebp
ret
Function at 0x10032380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac108
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100d6084]
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.1002cbc0
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.1002cb20
mov ecx, 0xd78d54
call fcn.1001c4d0
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 0x100324b2
mov eax, dword [ebp - 0x1c]
mov dword [esi], 0
test eax, eax
je 0x10032534
mov ecx, dword [ebp - 0x14]
sub ecx, eax
sar ecx, 2
push ecx
push eax
jmp 0x1003252f
mov ecx, esi
call fcn.10032550
call fcn.1006ce10
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1006d2e0
push 0x100327c0
push 0x100df584
call fcn.1006cb20
call fcn.1006ce70
push 4
push 0x62ed60
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003251e
mov dword [0x100df584], 0x62ed60
call fcn.1006ce10
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1006d2e0
push 0x100327c0
push 0x100df584
call fcn.1006c690
call fcn.1006ce70
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10032534
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.10014100
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.1006e1c5
mov esp, ebp
pop ebp
ret