joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a96d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013b549
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1019d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x60
call fcn.101037ad
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.10005020
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.10005020
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.10005020
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.10005020
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
mov dword [edi + 0x24], esi
mov eax, edi
movups xmmword [edi + 0xc], xmm0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100af080
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142cf9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1019d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [edi + 0x24]
call fcn.100834b0
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x30]
mov dword [edi], vtable.RC::RCMiniUISimpleWindow.0
mov dword [edi + 0x24], vtable.RC::RCMiniUISimpleWindow.1.0
mov dword [eax + 0x14], 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 4
Function at 0x100b5a90
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10143301
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1019d008]
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 - 0x1c], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [ebp - 0x10], esi
push 8
mov dword [ebp - 0x14], esi
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.101037ad
push eax
push 8
mov dword [esi], eax
call fcn.100048b0
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
push 8
mov dword [ebp - 0x10], esi
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.101037ad
push eax
push 8
mov dword [esi], eax
call fcn.100048b0
add esp, 0x18
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 6
lea esi, [edi + 0x40]
mov dword [edi + 0x34], 0
mov word [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov byte [ebp - 4], 7
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 8
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 9
push 4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 0xa
movaps xmm0, xmmword [0x1016d830]
movups xmmword [edi + 0xa0], xmm0
mov dword [edi + 0xb0], 0
xorps xmm0, xmm0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov byte [edi + 0xc0], 0
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x30], ecx
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
Function at 0x100be950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1019d008]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100be998
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100be998
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne al
test al, al
je 0x100be998
mov al, 1
jmp 0x100be99a
xor al, al
test al, al
je 0x100beb25
mov esi, edi
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100bea1f
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x100be9a4
mov eax, edi
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x100bea11
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100be9c0
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0xc]
push eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x3c]
mov dword [ecx + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100bea4c
mov eax, dword [esi]
push 5
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100bea4c
push dword [esi + 0x24]
push 1
jmp 0x100bea3e
test eax, eax
je 0x100be9d3
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x100be9d5
mov eax, dword [esp + 0xc]
push 0
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100bea4c
push 0
push 0
push 0xc9c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x9c]
sub ecx, dword [edi + 0x94]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
movaps xmm0, xmmword [esp + 0x14]
push eax
movaps xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
add eax, dword [edi + 0x90]
add ecx, dword [edi + 0x94]
mov edi, dword [edi + 0x88]
test edi, edi
jne 0x100beaa0
mov esi, dword [esp + 0x30]
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
lea edx, [eax + ecx]
mov eax, edx
mov dword [esp + 0x2c], edx
sub eax, ecx
add dword [esp + 0x34], eax
mov eax, edi
sub eax, esi
add dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x100beb25
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100beb25
mov edi, dword [edi + 0x28]
push 0x10
call fcn.101037ad
add esp, 4
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_CopyRect]
push esi
push 0
push 0xc9b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.10103789
mov esp, ebp
pop ebp
ret
Function at 0x100c7950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131748
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1019d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 8], 0
je 0x100c7ae8
call fcn.100c7630
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100c7a7c
push dword [edi + 0x9c]
call fcn.100c8430
mov ecx, eax
call fcn.100c8380
test eax, eax
je 0x100c79c0
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffffc
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x18], eax
call fcn.100c8430
mov esi, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], esi
lea ecx, [esi + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000b700
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov esi, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100c7a25
cmp dword [eax + 0x10], edx
jae 0x100c7a1b
mov eax, dword [eax + 8]
jmp 0x100c7a1f
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100c7a11
cmp esi, ecx
je 0x100c7a2e
cmp edx, dword [esi + 0x10]
jae 0x100c7a57
lea eax, [ebp - 0x18]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.1005fe40
mov ecx, dword [ebp - 0x20]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.1008ce10
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x14], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000b730
push 0x100c81c0
push 0xfffffffffffffffc
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi + 0x90]
xor esi, esi
test eax, eax
je 0x100c7aac
nop dword [eax + eax]
cmp byte [eax + 0x81], 0
jne 0x100c7ada
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100c7a90
xor ecx, ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100c7aed
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x100c7aed
push 0xb
push 0
push 0
push 0
push 0
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x100c7aed
test eax, eax
je 0x100c7aa3
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x100c7aa5
call fcn.100c8060
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.10103789
mov esp, ebp
pop ebp
ret 8
Function at 0x100d3180
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10145b81
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1019d008]
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 edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
call fcn.10005020
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x100d31e2
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10004fe0
jmp 0x100d3230
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100d3225
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x100d321f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
call fcn.10005260
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10004c10
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10004fe0
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004ab0
mov eax, edi
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.10103789
mov esp, ebp
pop ebp
ret
Function at 0x100d5090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146007
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1019d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
push dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x20]
push eax
push 0x1019dcd0
call fcn.100af7b0
add esp, 0xc
movzx eax, ax
mov ecx, edi
push edi
push eax
push 0
push 0x80
push 0x82000000
push 0
push 0
push dword [ebp + 8]
call fcn.100d5270
mov dword [edi + 4], eax
test eax, eax
je 0x100d525a
push 0x74
call fcn.101037ad
mov esi, eax
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 0
push 0x74
push 0
push esi
call fcn.10105570
add esp, 0x10
mov dword [esi + 4], 0
call fcn.100e2280
lea eax, [esi + 8]
mov dword [ebp + 8], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 5
xor eax, eax
movups xmm0, xmmword [0x10154994]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x10154994]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xfefefefe
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [0x10154994]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x10154994]
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x50], vtable.RC::IERenderClientSiteDelegate.0
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov word [esi + 0x68], ax
mov byte [esi + 0x6a], al
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.RC::IERenderView.2.0
mov dword [esi + 0x24], vtable.RC::IERenderView.0
mov dword [esi + 0x50], vtable.RC::IERenderView.1.0
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
push 0
push 0
push esi
push 0x100e4190
push 0
mov dword [edi + 0x28], esi
push 0
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1c
mov dword [esi + 0x5c], eax
call fcn.101037ad
mov ecx, eax
add esp, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx], vtable.RC::IEExternal.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov byte [ebp - 4], 7
mov dword [ecx + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x64], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100e3550
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
cmp dword [esp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x100e360a
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100e369a
push esi
mov dword [ebx + 0x58], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100e369a
push dword [ebx + 4]
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100e369a
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x46000000
cmp eax, ecx
je 0x100e35c2
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebx + 0x58]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push 0
push dword [ebx + 0x58]
call esi
push eax
push 0
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0x57
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push ebp
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push dword [ebx + 0x58]
call esi
push 0
push edi
mov ebp, eax
call esi
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, eax
push 0
push ebp
push esi
call edi
test eax, eax
je 0x100e364a
nop
push 0
push ebp
push esi
call edi
test eax, eax
jne 0x100e3640
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x80000000
pop ebp
cmp eax, ecx
je 0x100e367f
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push 0
push 0
push 0x7d00
push 0x7d00
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x100ed870
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x100ed87b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100ed890
Function at 0x100fe680
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1019d008]
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 0x100fe77a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100fe773
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100fe759
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100fe759
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100fe759
mov edx, dword [esi]
test edx, edx
jne 0x100fe722
push 0x200
push edx
push dword [0x101a2a74]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100fe773
jmp 0x100fe74d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100fe74d
shl eax, 3
push eax
push edx
push 0
push dword [0x101a2a74]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100fe773
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 0x100fe6e1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100fe7bf
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100fe7bf
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 0x100fe7b9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.100fe510
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100fe786
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10103789
mov esp, ebp
pop ebp
ret

Function at 0x100fe7d0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x100fe81e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x100fe80e
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 0x100fe805
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 0x100fe7e2
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x101a2a74]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x100fe820
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x101a3f70]
mov al, byte [esi + 0x14]
mov edi, dword [esi]
and al, 1
je 0x100fe83c
sub edi, 5
movzx eax, al
lea ebx, [eax*2 + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100fe864
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
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 0x100fe87f
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100fe8b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x101a3f78]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x100fe98d
mov eax, dword [0x101a3f70]
add eax, 0x14
test byte [eax], 2
je 0x100fe8ea
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x100fe8d5
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x100fe98d
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100fe680
mov ecx, dword [0x101a3f78]
add esp, 4
cmp esi, ecx
jae 0x100fe93b
imul edi, esi, 0x2c
mov eax, dword [0x101a3f70]
test byte [edi + eax + 0x14], 2
jne 0x100fe930
mov ecx, esi
call fcn.100fe820
mov ebx, eax
test ebx, ebx
jne 0x100fe938
mov ecx, dword [0x101a3f78]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x100fe911
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100fe98c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x100fe97d
mov ebx, eax
jmp 0x100fe950
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100fe971
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100fe950
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x101a2a74]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret