joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e34b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x42e392
xor al, al
jmp 0x42e3a2
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00414670
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00465694
mov esp, ebp
pop ebp
ret

Function at 0x42e70d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42e768
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42e759
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x42e755
cmp esi, ecx
jae 0x42e759
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x42e743
cmp esi, ecx
jb 0x42e75d
xor eax, eax
jmp 0x42e767
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42efd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f161b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], 0
call fcn.004345c0
call fcn.00434090
mov edx, eax
lea ecx, [ebp - 0x224]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], edx
push eax
call fcn.00430020
add esp, 4
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0
push edx
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x42f0c4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42f0b1
cmp word [ebp - 0x218], 0
jne 0x42f08a
xor ecx, ecx
jmp 0x42f0a2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f093
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00415df0
push dword [ebp - 0x21c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, 1
jmp 0x42f0c6
xor esi, esi
mov ecx, dword [ebp - 0x224]
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.00465694
mov esp, ebp
pop ebp
ret 8
Function at 0x42fe10
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f17b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x42fe46
mov eax, dword [esi]
jmp 0x42fe48
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ff27
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004159f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x1a
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.tmp_123abc456def789hij.tmp
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00415df0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0042e1fc
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42fec5
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00418d80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x42fef2
xor esi, esi
jmp 0x42ff10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x42ff25
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00418d80
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.00465694
mov esp, ebp
pop ebp
ret 4

Function at 0x432570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4325e1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4325af
cmp eax, 2
jne 0x4325cb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4325db
test ecx, ecx
je 0x4325d6
test cl, 1
jne 0x4325cb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4325db
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4325f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebx], eax
cmp dword [ecx + 0x14], 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jb 0x432620
mov ecx, dword [ecx]
push 0x20019
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0xc]
call fcn.00417860
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x432669
cmp dword [esi + 0x14], 8
jb 0x432640
mov esi, dword [esi]
lea eax, [ebp + 8]
mov dword [ebp + 8], 4
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432669
cmp dword [ebp + 0xc], 4
jne 0x432669
lea esi, [eax + 1]
jmp 0x43266b
xor esi, esi
test edi, edi
je 0x432676
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x54006c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
cmp eax, ecx
je 0x4326cf
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004159f0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x4326f0
mov edi, dword [edi]
push dword [ebp + 0x28]
lea ecx, [ebp - 0x30]
push edi
push ebx
call fcn.00417860
mov ebx, dword [ebp - 0x30]
test eax, eax
jne 0x4327c0
cmp dword [esi + 0x14], 8
jb 0x432712
mov eax, dword [esi]
jmp 0x432714
mov eax, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4327c0
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x432744
cmp eax, 2
jne 0x4327c0
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
push ecx
inc eax
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00433a10
cmp dword [esi + 0x14], 8
jb 0x432782
mov esi, dword [esi]
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
push edi
push esi
lea ecx, [ebp - 0x30]
call fcn.00432570
test eax, eax
je 0x43279b
xor esi, esi
jmp 0x4327a9
mov ecx, dword [ebp - 0x24]
push edi
call fcn.00414670
mov esi, 1
test edi, edi
je 0x4327c2
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
sub eax, edi
sar eax, 1
push eax
push edi
call fcn.00418d80
jmp 0x4327c2
xor esi, esi
test ebx, ebx
je 0x4327cd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x20]
cmp ecx, 8
jb 0x4327e2
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00418d80
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
Function at 0x432800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1d28
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x54006c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x43284e
mov ecx, dword [ecx]
push 0x20019
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.00417860
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x4328d8
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x432877
mov eax, dword [edi]
jmp 0x432879
mov eax, edi
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4328d8
cmp dword [ebp - 0x18], 3
jne 0x4328d8
mov esi, dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.00433aa0
cmp dword [edi + 0x14], 8
jb 0x4328b5
mov edi, dword [edi]
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4328d8
cmp dword [ebp - 0x18], 3
jne 0x4328d8
lea esi, [eax + 1]
jmp 0x4328da
xor esi, esi
test ebx, ebx
je 0x4328e5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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

Function at 0x432900
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x14], 8
push esi
push edi
mov esi, edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jb 0x432927
mov ecx, dword [ecx]
sub esp, 8
push 0x20006
sub esp, 8
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.004170d0
mov edi, dword [ebp - 0x10]
test eax, eax
jne 0x43296e
cmp dword [esi + 0x14], 8
jb 0x43294d
mov esi, dword [esi]
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43296e
lea esi, [eax + 1]
jmp 0x432970
xor esi, esi
test edi, edi
je 0x43297b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x14], 8
mov eax, dword [ebp + 0x20]
push esi
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jb 0x4329b9
mov ecx, dword [ecx]
push edi
sub esp, 8
push dword [ebp + 0x24]
sub esp, 8
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.004170d0
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x432a1f
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x4329e7
mov esi, dword [esi]
test edx, edx
je 0x432a1f
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4329f1
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebx
test eax, eax
jne 0x432a1f
lea esi, [eax + 1]
jmp 0x432a21
xor esi, esi
test edi, edi
je 0x432a2c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1c]
pop edi
cmp ecx, 8
jb 0x432a42
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00418d80
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x432a50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x14], 8
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jb 0x432a77
mov ecx, dword [ecx]
sub esp, 8
push 0x20006
sub esp, 8
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
call fcn.004170d0
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x432abe
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [esi + 0x14], 8
jb 0x432aa7
mov esi, dword [esi]
push eax
push ecx
push 3
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x432abe
lea esi, [eax + 1]
jmp 0x432ac0
xor esi, esi
test edi, edi
je 0x432acb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433820
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1e70
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x80000001
push eax
mov ecx, 0x10
call fcn.00432ae0
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x433885
mov esi, dword [esi]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [esi], ax
jne 0x4338a2
xor ecx, ecx
jmp 0x4338b6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4338a7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00415df0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x14], 7
cmovae edx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x4338ec
xor ecx, ecx
jmp 0x433900
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4338f1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00415df0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x20006
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x5c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.00417860
test eax, eax
je 0x433951
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x43394d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x43398a
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x40]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43397a
test esi, esi
je 0x43394d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x43398a
test esi, esi
je 0x433985
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43399f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x4339c8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00418d80
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x4339f1
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00418d80
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.00465694
mov esp, ebp
pop ebp
ret
Function at 0x433e60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x433e9a
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret
push ebx
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004c7830
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x433eff
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
push dword [edi + 0x10]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00418d00
push eax
call fcn.004d04c8
add esp, 0xc
test eax, eax
je 0x433f19
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x433ed3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.00465694
mov esp, ebp
pop ebp
ret

Function at 0x433f40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1eab
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x54006c]
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 - 0x24c], esi
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x433fd1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x434066
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004c7830
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x434045
push dword [ebx + 0x10]
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00418d00
push eax
call fcn.004d04c8
add esp, 0xc
test eax, eax
jne 0x434033
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x248]
call fcn.00434800
lea eax, [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x434003
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x248]
mov dword [esi], eax
mov eax, dword [ebp - 0x244]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x240]
mov dword [esi + 8], eax
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.00465694
mov esp, ebp
pop ebp
ret
Function at 0x4343b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4343ea
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret
push ebx
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004c7830
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x434439
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp edi, dword [ebp - 0x228]
je 0x434453
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x434423
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.00465694
mov esp, ebp
pop ebp
ret

Function at 0x434480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
mov dword [ebp - 0x238], 0
push 2
mov ebx, edx
mov dword [ebp - 0x234], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43450c
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
xor ecx, ecx
mov word [esi], ax
cmp word [0], ax
je 0x4344ef
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4344e0
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.00415df0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004c7830
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x43455a
nop
cmp ebx, dword [ebp - 0x228]
je 0x434580
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x434540
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x52cac0
mov ecx, esi
call fcn.004146c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465694
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
jmp 0x434566
Function at 0x4345c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x54006c]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [0x5474ec]
test eax, eax
jne 0x4346a4
lea eax, [esp]
mov dword [esp + 4], 0x10
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43462d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x43469f
mov dword [0x5474ec], 1
mov eax, 1
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00465694
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x434696
mov eax, dword [esp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], 1
push eax
push 0x10
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ntohl
push eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x434696
mov dword [0x5474ec], 1
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x5474ec]
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00465694
mov esp, ebp
pop ebp
ret