joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035a40
Capabilities:
Get thread local storage value

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 0x1006e05d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x10086040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
sub esp, 0x1c
mov dword [ebp - 0x38], eax
mov edi, esp
mov dword [ebp - 0x30], edi
mov eax, dword [ecx + 0x14]
push ecx
mov esi, dword [eax + 0x20]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xc]
call eax
add esp, 4
lea ecx, [ebp - 0x2e]
push ecx
push eax
push edi
call esi
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.100133e0
push dword [ebp - 0x38]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10035ad8
lea eax, [ebp - 0x2c]
push 0x100364b0
push eax
call ecx
add esp, 0xc
jmp 0x10035bb3
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x30], eax
call fcn.10035e90
mov byte [ebp - 4], 1
lea eax, [ebp - 0x31]
push dword [0x100894c8]
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10035b29
mov eax, dword [eax + 4]
test eax, eax
je 0x10035b29
mov esi, dword [eax + 8]
test esi, esi
je 0x10035b29
mov dword [eax + 8], 0
mov al, byte [esi]
cmp al, 0xe
jb 0x10035b20
mov byte [esi + 0x38], al
jmp 0x10035b39
push esi
call fcn.10046862
add esp, 4
push 0x39
call fcn.100463c4
mov esi, eax
add esp, 4
mov byte [esi + 0x38], 0xe
lea eax, [ebp - 0x78]
mov dword [ebp - 0x40], 0
lea ecx, [esi + 4]
push eax
call fcn.10035e90
mov dword [esi], 0x10036590
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], 0
call fcn.10036370
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x10035b8c
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10035b8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10035b8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10035bb3
mov ecx, dword [eax]
push 0
push eax
call ecx
add esp, 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
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.100462d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x10035c10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10035c2a
add ecx, 4
call fcn.10033340
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10035c70
push dword [0x100894c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10035c60
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10035c60
cmp dword [ecx + 8], 0
jne 0x10035c60
mov al, byte [esi + 0x3c]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.10046862
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10035f60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e12d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x10035fa3
lock inc dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xc]
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
call fcn.10035e90
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov ebx, dword [esi]
push dword [0x100894bc]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10035fe5
cmp dword [eax], esi
je 0x100360e1
mov eax, dword [eax + 8]
test eax, eax
jne 0x10035fd6
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
push 0x5c
call fcn.10006550
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x28]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10036830
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.10035e90
push esi
push edi
mov ecx, ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.1000ab40
mov esi, dword [ebp - 0x28]
or edi, 0xffffffff
test esi, esi
je 0x100360aa
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100360aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100360aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x100360cf
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100360cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100360cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x10035fe5
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10036960
add esp, 8
jmp 0x10036081
Function at 0x10036100
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e16d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
test eax, eax
je 0x10036145
lock inc dword [eax + 4]
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x58], eax
mov al, byte [esi + 0x10]
push edi
mov byte [ebp - 0x54], al
call fcn.100346f0
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
lea ebx, [esi + 4]
mov eax, dword [esi]
push dword [0x100894bc]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1003619f
nop dword [eax]
cmp dword [eax], esi
je 0x10036290
mov eax, dword [eax + 8]
test eax, eax
jne 0x10036190
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
push 0x64
call fcn.10006550
add esp, 8
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0x2c]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10036740
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x24], eax
mov al, byte [ebp - 0x54]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov byte [edi + 0x28], al
lea eax, [ebp - 0x50]
push eax
call fcn.100346f0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.1000ab40
lea ecx, [ebp - 0x50]
call fcn.10033340
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x1003627e
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1003627e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1003627e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x1003619f
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10036980
add esp, 8
jmp 0x1003624e
Function at 0x10036370
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x100363ac
mov esi, dword [esi + 0x24]
test esi, esi
je 0x100363a5
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x100363a4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x100363a4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebx
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100363f2
push dword [0x100894c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100363e2
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100363e2
cmp dword [ecx + 8], 0
jne 0x100363e2
mov al, byte [esi + 0x38]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.10046862
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10036400
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x1003643c
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x10036435
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10036434
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10036434
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebx
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10036482
push dword [0x100894c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10036472
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10036472
cmp dword [ecx + 8], 0
jne 0x10036472
mov al, byte [esi + 0x44]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.10046862
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x10037670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d375
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, str.Creating_capture_thread._FromThreadId:
mov ecx, 0x10088268
call fcn.1000e860
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.100237a0
push eax
call fcn.1000eb00
mov al, byte [edi + 0x90]
lea ebx, [edi + 0x90]
add esp, 4
test al, al
jne 0x1003777c
cmp dword [edi + 0x84], 0
lea esi, [edi + 0x80]
je 0x10037719
cmp dword [esi + 4], 0
je 0x1003786c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x10037857
push 0
push dword [esi + 4]
push dword [esi]
call fcn.1004ace2
add esp, 0xc
test eax, eax
jne 0x10037873
mov dword [esi], eax
mov dword [esi + 4], eax
mov al, 1
xchg byte [ebx], al
push 8
call fcn.100463c4
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [eax], 1
mov dword [eax + 4], 0x100373c0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x1002e300
push 0
push 0
call fcn.10053bdf
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1003785e
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 4], 0
jne 0x10037852
mov eax, dword [ebp - 0x14]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov al, byte [edi + 0x91]
lea esi, [edi + 0x91]
test al, al
jne 0x10037832
cmp dword [edi + 0x8c], 0
je 0x100377d4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi + 0x8c], eax
je 0x10037857
push 0
push dword [edi + 0x8c]
push dword [edi + 0x88]
call fcn.1004ace2
add esp, 0xc
test eax, eax
jne 0x10037873
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], eax
mov al, 1
xchg byte [esi], al
push 8
call fcn.100463c4
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [eax], 2
mov dword [eax + 4], 0x100373c0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
push ecx
push 0
push eax
push 0x1002e300
push 0
push 0
call fcn.10053bdf
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x10037844
cmp dword [edi + 0x8c], 0
jne 0x1003787a
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x1c], 0
call fcn.10048443
call fcn.1002cd20
push 5
call fcn.10048443
push 6
mov dword [ebp - 0x14], 0
call fcn.10048443
push 1
call fcn.10048443
push 2
call fcn.10048443
call fcn.1002cd20
int3
Function at 0x1003b6e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a530
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100463c4
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1004956b
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000e0f0
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 0x1003d280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ea8d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x60]
push 0x10071618
push ebx
call fcn.10046859
mov edi, eax
add esp, 8
test edi, edi
je 0x1003d336
push ebx
push 0
push edi
call fcn.1004bd60
add esp, 0xc
mov dword [esi + 0x5c], edi
lea ecx, [esi + 4]
mov al, 1
xchg byte [ecx], al
push 8
call fcn.100463c4
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [eax], esi
mov dword [eax + 4], 0x1003d370
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x1003e220
push 0
push 0
call fcn.10053bdf
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1003d354
cmp dword [esi + 0xc], 0
jne 0x1003d34f
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1002cd20
push 6
mov dword [ebp - 0x14], 0
call fcn.10048443
int3
Function at 0x1003e630
Capabilities:
Enumerate processes

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 0x1006ecf3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a8
mov eax, dword [0x10086040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x284], 0
push edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.100050c0
lea eax, [ebx + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.100050c0
mov dword [ebp - 0x294], 0
push 0x34
mov byte [ebp - 4], 3
call fcn.100463c4
add esp, 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 4
lea esi, [eax + 4]
mov dword [eax], 0x1007c160
mov ecx, esi
lea eax, [ebp - 0x44]
push eax
call fcn.100050c0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi + 0x2c], 0
movups xmmword [esi + 0x18], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x28], xmm0
mov esi, dword [ebp - 0x280]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x294], esi
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push eax
mov byte [ebp - 4], 6
push 2
mov dword [ebp - 0x284], 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x1003e7e6
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x278], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [eax + eax]
test esi, esi
je 0x1003e788
mov eax, dword [esi]
lea ecx, [ebp - 0x278]
push ecx
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test al, al
je 0x1003e7c3
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x1003e7b4
mov ecx, 0x8b
lea esi, [ebp - 0x278]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x288]
mov esi, dword [ebp - 0x280]
add dword [edi + 4], 0x22c
jmp 0x1003e7c3
lea ecx, [ebp - 0x278]
push ecx
push eax
mov ecx, edi
call fcn.10042450
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1003e770
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x1003e800
mov edx, dword [esi]
lea eax, [ebp - 0x2b8]
cmp esi, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x44]
call fcn.1003cc80
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x1003e83e
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e834
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e85e
push ecx
push edx
call fcn.10046823
add esp, 8
mov eax, edi
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.100462d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1004f161
int3
Function at 0x1003e870
Capabilities:
Patch process command line

Disassembly:
sub esp, 0x34
mov eax, dword [0x10086040]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
push edx
mov esi, ecx
push 0
mov dword [esp + 0x1c], esi
push 0x410
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1003ea44
mov eax, dword [0x100894ac]
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
movups xmmword [esp + 0x24], xmm0
test eax, eax
jne 0x1003e8d7
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100894ac], eax
push 0
push 0x18
lea ecx, [esp + 0x2c]
push ecx
push 0
push edi
call eax
test eax, eax
js 0x1003ea3d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1003ea3d
mov ebp, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [esp + 0x10]
push ecx
push 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0
push ecx
add eax, 0x10
push eax
push edi
call ebp
test eax, eax
je 0x1003ea3d
cmp dword [esp + 0x10], 4
jne 0x1003ea3d
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 8
lea ecx, [esp + 0x20]
add eax, 0x40
push ecx
push eax
push edi
call ebp
test eax, eax
je 0x1003ea3d
cmp dword [esp + 0x10], 8
jne 0x1003ea3d
movzx eax, word [esp + 0x1a]
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.10046867
add esp, 4
mov ebx, eax
movzx eax, word [esp + 0x1a]
push eax
push 0
push ebx
call fcn.1004bd60
add esp, 0xc
lea eax, [esp + 0x10]
push eax
movzx eax, word [esp + 0x1c]
push eax
push ebx
push dword [esp + 0x28]
push edi
call ebp
test eax, eax
je 0x1003ea34
movzx eax, word [esp + 0x18]
cmp dword [esp + 0x10], eax
jne 0x1003ea34
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movups xmmword [esp + 0x24], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e9d5
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x2c]
call fcn.10005690
push ebx
call fcn.10046854
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, esi
movups xmm0, xmmword [esp + 0x24]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x10], xmm0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100462d6
add esp, 0x34
ret
push ebx
call fcn.10046854
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x1007adcc
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10005690
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100462d6
add esp, 0x34
ret
Function at 0x1003ea80
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x10086c08]
sub esp, 0x24
push ebx
push esi
push edi
cmp eax, 0xffffffff
jne 0x1003eb17
push 0
push 0
push 2
push 2
push 1
push 0
push 3
push str..pipegpipe
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1003eb12
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1003e530
mov ebx, eax
test ebx, ebx
je 0x1003eb0b
mov esi, dword [ebx]
xor edx, edx
test esi, esi
je 0x1003eb02
lea ecx, [ebx + 8]
nop dword [eax + eax]
movq xmm0, qword [ecx + 0x10]
movq qword [esp + 0x20], xmm0
cmp edi, dword [ecx]
je 0x1003eaf9
inc edx
add ecx, 0x1c
cmp edx, esi
jb 0x1003eae0
jmp 0x1003eb02
mov eax, dword [esp + 0x20]
mov dword [0x10086c08], eax
push ebx
call fcn.10053cde
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10086c08]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003eb20
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x10086040]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
mov dword [esp], 0
push eax
xorps xmm0, xmm0
push 0x28
movlpd qword [esp + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1003eb6c
xor al, al
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100462d6
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
mov dword [esp + 4], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1003eba9
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
mov al, 1
xor ecx, esp
call fcn.100462d6
mov esp, ebp
pop ebp
ret
Function at 0x10044330
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f3dc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push dword [esi]
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10044381
xor edi, edi
jmp 0x100443b8
mov eax, dword [esi]
push 0x28
mov esi, dword [eax + edi*4]
call fcn.100463c4
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 4]
mov dword [edi], 0
call fcn.10005340
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x100443e8
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100443de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100443fb
push ecx
push edx
call fcn.10046823
add esp, 8
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
call fcn.1004f161
int3