joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47f110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045b2e0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045b360
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045b360
lea ecx, [esi + 0xc]
call fcn.004703ce
lea ecx, [esi + 0x10]
call fcn.004703ce
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045dba0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045dba0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045dba0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00470443
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00470443
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x45c3d8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47f338
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x45c3e8
call fcn.0045c900
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x45c4cb
cmp byte [edi], 0
je 0x45c4cb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x45c40d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0045b100
test eax, eax
jne 0x45c42d
push 0x56b570
lea ecx, [esi + 0x38]
call fcn.00470580
jmp 0x45c4cb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0045b150
test eax, eax
jne 0x45c45c
mov ecx, esi
call fcn.0045b250
push edi
add esi, 0x38
push 0x56b54c
push esi
call fcn.0046e247
add esp, 0xc
jmp 0x45c4cb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0045d190
test eax, eax
je 0x45c4c4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0045c5a0
test eax, eax
jne 0x45c4e0
push edi
lea eax, [esi + 0x38]
push 0x56b528
push eax
call fcn.0046e247
add esp, 0xc
mov ecx, esi
call fcn.0045c900
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x45c588
mov ecx, dword [0x56b83c]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0046e247
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0045b200
test eax, eax
jne 0x45c54a
push 0x56b50c
lea ecx, [esi + 0x38]
call fcn.00470580
jmp 0x45c55a
push 0xfa
mov ecx, esi
call fcn.0045d190
test eax, eax
jne 0x45c577
mov ecx, esi
call fcn.0045c900
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00470443
jmp 0x45c4cb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00470443
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x472811
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x472849
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047089e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00470876
jmp 0x472855
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x473f03
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x473f45
call fcn.00479abe
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x473f45
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473f3c
xor eax, eax
jmp 0x473f4d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473f53
pop edi
pop esi
pop ebx
ret 4

Function at 0x479fee
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47a01c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47a03a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479f54
jmp 0x47a03a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47a03a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479f54
test edi, edi
mov eax, edi
jne 0x47a024
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40014364
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x40]
mov dword [esp + 0x10], edi
test eax, eax
je 0x40014392
mov eax, dword [eax + 0x78]
test eax, eax
je 0x40014392
mov esi, dword [edi + 0x3c]
add esi, eax
push 0x28
push esi
call fcn.400142aa
movzx ebp, al
neg ebp
sbb ebp, ebp
and ebp, esi
jmp 0x40014394
xor ebp, ebp
mov eax, dword [edi + 0x40]
test eax, eax
je 0x400143b1
add eax, 0x78
je 0x400143b1
mov eax, dword [esp + 0x20]
push eax
call fcn.40014337
add esp, 4
test al, al

Function at 0x4001d952
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [esi + 8], 0
jne 0x4001d97c
cmp dword [0x4048b1d8], 0
je 0x4001d97c
mov eax, dword [0x4048b218]
mov eax, dword [eax + 0x5c]
push eax
mov eax, ebx
call fcn.4001f9cc
cmp eax, 0x7d00
sete cl
mov byte [esi + 8], cl
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4001dc70
mov eax, dword [eax + 0x80]
test eax, eax
je 0x4001dc70
mov esi, dword [ebx + 0x3c]
add esi, eax
push 0x14
push esi
call 0x4001739e
test al, al
je 0x4001dc70
test esi, esi
je 0x4001dc70
cmp dword [esi + 0x10], 0
je 0x4001dc70
mov ebx, esi
mov dword [esp + 0x18], ebx

Function at 0x4001db0a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [esi + edi*4]
push 4
push eax
mov dword [esp + 0x3c], eax
call fcn.4001daf6
Function at 0x100056e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100c34c0]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov eax, dword [0x100c34c0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
jne 0x1000572c
mov eax, 0xfffffffd
jmp 0x10005854
push 4
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
push 0x100ad744
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
call fcn.10012a10
mov dword [esp + 0x70], 0
cmp byte [ebp + 0x10], 0
je 0x1000578a
call fcn.1002b7b0
test eax, eax
je 0x1000578a
push 5
push str.runas
lea ecx, [esp + 0x50]
call fcn.10012a10
push 0x38
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1007c850
add esp, 0xc
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
cmp dword [esi + 0x14], 8
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
jb 0x100057cd
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
mov dword [esp + 0x1c], esi
jb 0x100057d9
mov edi, dword [edi]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x493e0
push dword [esp + 0x48]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, 1
mov eax, 0xfffffffc
test esi, esi
cmove edi, eax
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x1000583b
push dword [esp + 0x48]
call fcn.10076e4c
add esp, 4
xor eax, eax
mov word [esp + 0x48], ax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10076e3d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10012800
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009bfd8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x100c34c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1000f4f0
push 4
call fcn.100775ce
add esp, 4
test eax, eax
je 0x1001283f
mov dword [eax], vtable.CBusLV2Mgr.0
jmp 0x10012841
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x10]
call fcn.100126b0
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10012878
push eax
call fcn.10076e4c
add esp, 4
mov dword [ebp - 0x10], 0
test bl, bl
jne 0x10012891
mov eax, 0xfffffff5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push dword [0x100c7728]
push 0x10012fb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov ecx, 0xb
mov edx, 0xfffffff4
cmove ecx, edx
mov dword [0x100c772c], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10015a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [0x100c6854], 0xc
cmp eax, 0x100c5714
je 0x10015a89
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x100c5714
call fcn.10011ff0
mov eax, dword [ebp + 0x14]
mov dword [0x100c49a8], 2
cmp eax, 0x100c572c
je 0x10015aac
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x100c572c
call fcn.10011ff0
mov eax, dword [ebp + 0x18]
cmp eax, 0x100c5744
je 0x10015ac5
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x100c5744
call fcn.10011ff0
push 0
push 0
push esi
push 0x10018c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x10018890
push 0x36ee80
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
pop ebp
ret 0x14
Function at 0x100167f0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009bf60
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100c34c0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x100c34c0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.10018ff0
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.10017430
mov ebx, eax
mov dword [esp + 0x88], 0
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.100173c0
mov edi, eax
mov byte [esp + 0x88], 1
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.10017350
mov esi, eax
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
call fcn.100172e0
mov byte [esp + 0x88], 3
push ebx
push edi
push esi
push eax
call fcn.1000e790
mov byte [esp + 0x88], 2
cmp dword [esp + 0x5c], 0x10
jb 0x100168b4
push dword [esp + 0x48]
call fcn.10076e4c
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100168e4
push dword [esp + 0x18]
call fcn.10076e4c
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x88], 0
cmp dword [esp + 0x44], 0x10
jb 0x10016914
push dword [esp + 0x30]
call fcn.10076e4c
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x74], 0x10
jb 0x10016947
push dword [esp + 0x60]
call fcn.10076e4c
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10076e3d
mov esp, ebp
pop ebp
ret
Function at 0x100223d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x100c34c0]
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, edx
mov esi, ecx
mov dword [ebp - 0x464], 0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 1
push eax
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10022480
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
mov ecx, esi
call fcn.10011d10
jmp 0x1002256a
lea eax, [ebp - 0x460]
push eax
push edi
mov dword [ebp - 0x460], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10022542
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.1007c850
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x10022507
cmp ebx, dword [ebp - 0x458]
je 0x100224ec
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100224d0
jmp 0x10022507
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10078a4b
add esp, 0xc
cmp word [ebp - 0x218], 0
jne 0x10022515
xor ecx, ecx
jmp 0x1002252f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022520
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10012a10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
mov ecx, esi
call fcn.10011d10
mov dword [ebp - 0x464], 1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x21c], 8
jb 0x1002258f
push dword [ebp - 0x230]
call fcn.10076e4c
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
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.10076e3d
mov esp, ebp
pop ebp
ret
Function at 0x100225d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d13b
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x100c34c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x46c], ebx
mov eax, ecx
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x484], ebx
xor esi, esi
mov dword [ebp - 0x474], esi
cmp dword [eax + 0x10], esi
je 0x10022663
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x478], edi
cmp edi, 0xffffffff
je 0x10022663
mov dword [ebp - 0x468], 0x22c
lea eax, [ebp - 0x468]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x10022676
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100226bb
mov ebx, dword [ebp - 0x46c]
lea eax, [ebp - 0x468]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x100226b2
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x470]
call fcn.10010b60
push eax
call fcn.10078359
add esp, 8
test eax, eax
jne 0x10022676
cmp dword [ebx + 0x10], eax
jne 0x100226d7
mov esi, dword [ebp - 0x460]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 0x14]
xor ecx, ebp
call fcn.10076e3d
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x460]
mov ecx, 0x410
call fcn.10021da0
add esp, 4
mov ebx, eax
mov dword [ebp - 0x480], ebx
test ebx, ebx
je 0x10022670
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push eax
lea eax, [ebp - 0x21e]
push eax
call fcn.1007c850
add esp, 8
lea eax, [ebp - 0x220]
push eax
mov ecx, ebx
call fcn.100222e0
add esp, 8
test eax, eax
mov ebx, dword [ebp - 0x46c]
je 0x10022676
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.100109a0
mov byte [ebp - 4], 1
push 0
push ebx
mov ecx, eax
call fcn.10010b70
cmp eax, 0xffffffff
sete bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10010a70
test bl, bl
je 0x10022783
mov dword [ebp - 4], 0xffffffff
jmp 0x10022670
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x460]
mov dword [ebp - 0x474], esi
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10022670
Function at 0x100234d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d24d
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x100c34c0]
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 - 0x444], 0
mov edi, dword [edx]
mov dword [ebp - 0x454], esi
test edi, edi
jne 0x1002351e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.1007c850
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.1007c850
add esp, 0x18
xor eax, eax
push 0x10
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push str.SeDebugPrivilege
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x44c], 0x104
mov dword [ebp - 0x448], 0x104
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.10012a10
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.10023110
mov byte [ebp - 4], 0
cmp dword [ebp - 0x424], 8
jb 0x100235ef
push dword [ebp - 0x438]
call fcn.10076e4c
add esp, 4
xor eax, eax
push edi
mov ecx, 0x400
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.10021da0
mov edi, eax
add esp, 4
test edi, edi
je 0x100236e6
call fcn.10021aa0
test eax, eax
je 0x100236e6
lea ecx, [ebp - 0x440]
push ecx
push 8
push edi
call eax
test eax, eax
je 0x100236e6
call fcn.10021ba0
mov ebx, eax
test ebx, ebx
je 0x100236e6
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
push 0
push 1
push dword [ebp - 0x440]
call ebx
test eax, eax
jne 0x1002367b
call fcn.10021eb0
cmp eax, 0x7a
jne 0x100236e6
push dword [ebp - 0x43c]
call fcn.100784c5
mov edi, eax
add esp, 4
test edi, edi
je 0x100236e6
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
push edi
push 1
push dword [ebp - 0x440]
call ebx
test eax, eax
je 0x100236dd
call fcn.10021ca0
test eax, eax
je 0x100236dd
lea ecx, [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push dword [edi]
push 0
call eax
push edi
call fcn.10078321
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x218], ax
jne 0x10023706
xor ecx, ecx
jmp 0x1002371f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023710
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10012a10
mov dword [ebp - 4], 0
mov dword [ebp - 0x444], 1
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.10076e3d
mov esp, ebp
pop ebp
ret
Function at 0x10023960
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d0b5
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x100c34c0]
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 eax, edx
mov esi, ecx
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x464], 0
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x454], ebx
mov dword [ebp - 4], 1
test eax, eax
jne 0x100239cf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x460], eax
test eax, eax
jne 0x10023a01
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
jmp 0x10023b6f
push 0x424
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.1007c850
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x460]
mov dword [ebp - 0x450], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x10023a5d
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x10023b51
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x10023b43
mov esi, dword [ebp - 0x460]
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x10023a90
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x230], ax
je 0x10023ad3
lea eax, [ebp - 0x230]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10023ac4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x28]
call fcn.10012a10
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x45c]
call fcn.10023d80
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x10023b0b
push dword [ebp - 0x28]
call fcn.10076e4c
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x450]
push eax
push esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call edi
test eax, eax
jne 0x10023a90
mov ebx, dword [ebp - 0x458]
mov edi, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x468]
mov eax, dword [ebp - 0x454]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x464], 1
mov byte [ebp - 4], 0
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.10076e3d
mov esp, ebp
pop ebp
ret