joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101181d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b294d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp edx, esi
je 0x1011838a
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x24], ecx
mov edi, edx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x14
push eax
sete bl
mov dword [ebp - 0x30], edi
call fcn.10170096
mov edx, dword [ebp - 0x18]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x101182c2
mov eax, dword [ebp - 0x28]
cmp edi, esi
jne 0x10118284
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x1011837b
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edi
jmp 0x1011837b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x101182d4
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x101182d7
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x1011837b
nop dword [eax]
nop word [eax + eax]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x20]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x14
push eax
sete bl
mov dword [ebp - 0x30], edi
call fcn.10170096
mov eax, dword [ebp - 0x18]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x1011835f
cmp edi, esi
je 0x10118376
mov eax, dword [ebp - 0x1c]
jmp 0x10118335
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x1011837b
mov edx, dword [ebp - 0x18]
jmp 0x101182f0
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10128350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b625d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10210050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10276734]
jne 0x10128401
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor esi, esi
mov al, byte [esi + 0x102b2b50]
push esi
mov byte [esi + 0x102b2c50], al
call edi
test ax, ax
setne cl
mov byte [esi + 0x102b2b50], cl
test ax, ax
je 0x101283f8
cmp esi, 0x7b
jae 0x101283f8
cmp byte [esi + 0x102b2c50], 0
jne 0x101283f8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
mov edx, str.key_press__i
lea ecx, [ebp - 0x34]
call fcn.10056110
add esp, 4
mov dword [ebp - 4], 0
mov ecx, 0x1027af90
push eax
call fcn.10052b20
inc dword [eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100403e0
inc esi
cmp esi, 0x100
jl 0x10128390
cmp dword [0x102b2b4c], 0
jne 0x1012841c
push 0
push str.Valve001
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x102b2b4c], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1c]
push eax
push dword [0x102b2b4c]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
movss xmm2, dword [0x1024cc74]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm2, xmm0
movss xmm0, dword [0x1024cc78]
subss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x1024cc70], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [0x1024cc6c], xmm2
movss dword [0x1024cc74], xmm0
movss dword [0x1024cc78], xmm1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016fd3e
mov esp, ebp
pop ebp
ret
Function at 0x1012ce50
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7b1e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [ebp + 8]
mov edx, eax
lea ebx, [eax + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1012ced0
sub eax, ebx
mov ecx, esi
push eax
push edx
call fcn.1003ffa0
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1012f100
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7f2e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10210050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1016fd4c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x10]
call fcn.100537d0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x20]
push ecx
call fcn.100537d0
mov byte [ebp - 4], 4
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae ecx, dword [ebp + 8]
call fcn.10064490
mov dword [esi + 8], eax
test edi, edi
je 0x1012f1d0
mov eax, dword [edi + 0x34]
lea ecx, [edi + 0x30]
mov dword [ebp - 0x14], esi
cmp eax, dword [edi + 0x38]
je 0x1012f1c6
mov dword [eax], esi
add dword [edi + 0x34], 4
jmp 0x1012f1d0
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.10061970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100403e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016fd3e
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10132960
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b8196
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 2
lea ecx, [edi + 0x30]
call fcn.10048600
mov byte [ebp - 4], 1
push ecx
lea ecx, [edi + 0x20]
call fcn.100554b0
movzx eax, byte [edi + 0x20]
lea ecx, [edi + 0x28]
push eax
call fcn.10054c20
mov byte [ebp - 4], 0
push ecx
lea ecx, [edi + 0x10]
call fcn.100554b0
movzx eax, byte [edi + 0x10]
lea ecx, [edi + 0x18]
push eax
call fcn.10054c20
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov eax, dword [edi]
push dword [eax + 4]
push edi
call fcn.10134850
push 0x18
push dword [edi]
call fcn.10170096
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10132ec0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b83d6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1016fd4c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [ebp - 4], 1
lea ecx, [esi + 0x10]
call fcn.100537d0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x20]
push ecx
call fcn.100537d0
mov byte [ebp - 4], 3
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10142370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ba919
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10210050]
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 ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
mov byte [ebp - 4], 1
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0xf
mov byte [ebx + 0x34], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
push 1
push 0x101d4ee0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], str.PaintKit_Default
mov dword [ebp - 0x14], 0x11
call fcn.1003ffa0
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx + 0x10]
je 0x1014249e
mov dword [ebp - 0x38], esi
lea ecx, [esi + 4]
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
lea eax, [ebp - 0x30]
push eax
call fcn.10040120
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov byte [ebp - 4], 4
add dword [ebx + 0xc], 0x24
jmp 0x101424ab
lea eax, [ebp - 0x34]
push eax
push esi
lea ecx, [ebx + 8]
call fcn.101459d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.100403e0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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.1016fd3e
mov esp, ebp
pop ebp
ret
Function at 0x10145b80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101baed6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
movups xmm0, xmmword [esi + 0x1c]
movups xmmword [edi + 0x1c], xmm0
movq xmm0, qword [esi + 0x2c]
movq qword [edi + 0x2c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov byte [ebp - 4], 1
mov dword [edi + 0x34], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
movups xmm0, xmmword [esi + 0x34]
movups xmmword [edi + 0x34], xmm0
movq xmm0, qword [esi + 0x44]
movq qword [edi + 0x44], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0xf
mov byte [esi + 0x34], 0
mov byte [ebp - 4], 2
movzx eax, byte [esi + 0x4c]
mov byte [edi + 0x4c], al
movzx eax, byte [esi + 0x4d]
mov byte [edi + 0x4d], al
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1014b780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bbcc0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
push 0x20
push 0x18f0
mov dword [edi + 4], 0
call fcn.1017025e
mov dword [edi + 4], eax
mov dword [ebp - 4], 1
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 0x14]
add ecx, 0x10
mov dword [ebp - 0x18], ecx
push 0x18d0
push 0
mov eax, dword [eax]
lea esi, [ecx + 0x10]
push esi
mov eax, dword [eax]
mov dword [ecx], eax
call fcn.10171fe0
mov dword [ebp - 0x1c], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1016fd4c
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [esi + 0x20], 0
lea eax, [esi + 0xc0]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
movups xmmword [esi + 0x64], xmm0
push 0x1800
movups xmmword [esi + 0x74], xmm0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
movq qword [esi + 0x8c], xmm0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
movups xmmword [esi + 0xa4], xmm0
push 0
mov word [esi + 0xb4], 0
push eax
mov byte [esi + 0xb6], 0
call fcn.10171fe0
add esp, 0x24
mov dword [esi + 0x18c0], 0xffffffff
mov dword [esi + 0x18c4], 0
mov dword [esi + 0x18c8], 0
mov dword [esi + 0x18cc], 0
mov byte [ebp - 4], 1
mov eax, dword [edi + 4]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 4]
mov dword [ecx + 4], edx
mov ecx, dword [edi + 4]
mov dword [ecx + 8], edx
mov ecx, dword [edi + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [edi + 4]
mov byte [ecx + 0xd], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10152a50
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10210050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10152b4a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10152b43
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10152b29
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10152b29
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10152b29
mov edx, dword [esi]
test edx, edx
jne 0x10152af2
push 0x200
push edx
push dword [0x102766c8]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10152b43
jmp 0x10152b1d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10152b1d
shl eax, 3
push eax
push edx
push 0
push dword [0x102766c8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10152b43
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10152ab1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10152b8f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10152b8f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10152b89
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.101528e0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10152b56
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1016fd3e
mov esp, ebp
pop ebp
ret

Function at 0x10152ba0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x10152bec
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10152bdb
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10152bd4
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10152bb1
pop edi
push dword [ebx]
push 0
push dword [0x102766c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x10152bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10210050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x102b3000]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10152c51
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016fd3e
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10152c72
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10152c93
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10152c93
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10152c8d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10152c93
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
and cl, 0xfd
mov al, bl
add al, al
shl bl, 2
or cl, al
xor eax, eax
and cl, 0xfb
or cl, bl
mov byte [esi + 0x14], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1016fd3e
mov esp, ebp
pop ebp
ret
Function at 0x10152cf0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x102b3008]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x10152de1
mov eax, dword [0x102b3000]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x10152d35
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x10152d18
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10152de1
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.10152a50
mov ecx, dword [0x102b3008]
add esp, 4
cmp esi, ecx
jae 0x10152d95
imul edi, esi, 0x2c
mov eax, dword [0x102b3000]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x10152d8a
mov edx, ebx
mov ecx, esi
call fcn.10152bf0
mov dword [ebp - 4], eax
test eax, eax
jne 0x10152d92
mov ecx, dword [0x102b3008]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10152d61
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10152de1
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10152dd2
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10152dc6
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10152da5
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x102766c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret