joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416f90
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0043f200
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x804]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x804]
push str.QuickSeeQuickSee.lnk
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret

Function at 0x417020
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0043f200
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x804]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x804]
push str.QuickSee_
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret

Function at 0x4170b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0043f200
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x804]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x517ae4
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1004]
push eax
call fcn.00428940
push 0x800
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.004d3ba0
add esp, 0x10
lea eax, [ebp - 0x1804]
push 1
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x1804]
push 0x517ae4
push eax
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x2004]
push eax
call fcn.00428940
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
Function at 0x418d10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b826
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0043f200
mov eax, dword [0x554418]
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
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x418efa
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1018], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
push 0x20019
push str.SOFTWARELudashi
push SysReAllocString
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 1
call fcn.0040d040
test eax, eax
jne 0x418e6c
push 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004d3ba0
mov edi, dword [ebp - 0x1028]
lea eax, [ebp - 0x1014]
add esp, 0xc
mov dword [ebp - 0x1014], 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x101c]
push eax
push 0
push str.url_pid
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418e5d
mov eax, dword [ebp - 0x101c]
cmp eax, 1
je 0x418e06
cmp eax, 2
jne 0x418e5d
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x418e23
test al, 1
jne 0x418e5d
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
je 0x418e2c
jmp 0x418e5d
xor eax, eax
mov word [ebp - 0x1010], ax
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418e35
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1018]
call fcn.004117d0
mov esi, dword [ebp - 0x1018]
test edi, edi
je 0x418e72
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x418e72
mov edi, dword [ebp - 0x1028]
mov ecx, str.none
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418ea6
test dx, dx
je 0x418ea2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418ea6
add eax, 4
add ecx, 4
test dx, dx
jne 0x418e80
xor eax, eax
jmp 0x418eab
sbb eax, eax
or eax, 1
xor ebx, ebx
test eax, eax
setne bl
test edi, edi
je 0x418ebd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418edc
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406290
int3
Function at 0x4197f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1260
call fcn.0043f200
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call edi
push str.guardhp.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4198a4
lea eax, [ebp - 0x20c]
push eax
call edi
push str.Utilsguardhp.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4198a4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x1260], 0x44
lea eax, [ebp - 0x1260]
movlpd qword [ebp - 0x125c], xmm0
push eax
movlpd qword [ebp - 0x1254], xmm0
movlpd qword [ebp - 0x124c], xmm0
movlpd qword [ebp - 0x1244], xmm0
movlpd qword [ebp - 0x123c], xmm0
movlpd qword [ebp - 0x1234], xmm0
movlpd qword [ebp - 0x122c], xmm0
movlpd qword [ebp - 0x1224], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 4
mov dword [ebp - 0x1234], 1
push 0x1000
mov word [ebp - 0x1230], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x120c]
push 0
push eax
movups xmmword [ebp - 0x121c], xmm0
call fcn.004d3ba0
add esp, 0xc
test esi, esi
je 0x419956
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x120c]
push str.__s___s
push eax
call fcn.00417ed0
add esp, 0x10
jmp 0x41996c
push 0
lea eax, [ebp - 0x120c]
push str.__s_
push eax
call fcn.00417ed0
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0x1260]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x4199b1
push dword [ebp - 0x1218]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x121c]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
Function at 0x41ab90
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bb02
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x554418]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x41abec
mov dword [esi], 0x518304
mov dword [esi + 0x10], 0x51830c
mov dword [esi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
push 0
lea edi, [esi + 0x18]
mov ecx, esi
push edi
call fcn.0041a890
lea edx, [esi + 0x10]
mov dword [ebp + 0xc], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp + 0xc], edi
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0043edf1
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41ac7c
push 1
mov byte [ebp - 4], 5
call fcn.0043a61d
add esp, 4
mov dword [ebx + 4], eax
jmp 0x41ac7e
xor ebx, ebx
lea eax, [edi + 4]
mov dword [edi + 0x34], ebx
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov ecx, ebx
mov eax, dword [edi + 0x20]
not ecx
and ecx, 1
shl ecx, 2
mov edx, ecx
mov dword [eax], 0
or edx, 2
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
and al, 2
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, ebx
mov dword [edi + 0x38], 0
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [edi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41d3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x55a8f0]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x41d58d
push 0x516a34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x55a8f0], eax
test eax, eax
jne 0x41d58d
push eax
push 0x104
lea ecx, [ebp - 0x230]
call fcn.00405020
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
test ecx, ecx
jne 0x41d48c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004055f0
jmp 0x41d572
mov eax, dword [ebp - 0x220]
cmp ecx, eax
ja 0x41d4b8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], ecx
cmovae eax, dword [ebp - 0x230]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x41d4c8
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x230]
call fcn.00409770
movups xmm0, xmmword [ebp - 0x230]
xor eax, eax
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.004055f0
cmp dword [ebp - 0x238], 0
jbe 0x41d572
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x516a34
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x55a8f0], eax
lea ecx, [ebp - 0x248]
call fcn.004055f0
mov eax, dword [0x55a8f0]
test eax, eax
jne 0x41d58d
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
Function at 0x41fdd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x55a90c]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x41ff8d
push 0x516a34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x55a90c], eax
test eax, eax
jne 0x41ff8d
push eax
push 0x104
lea ecx, [ebp - 0x230]
call fcn.00405020
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
test ecx, ecx
jne 0x41fe8c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004055f0
jmp 0x41ff72
mov eax, dword [ebp - 0x220]
cmp ecx, eax
ja 0x41feb8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], ecx
cmovae eax, dword [ebp - 0x230]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x41fec8
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x230]
call fcn.00409770
movups xmm0, xmmword [ebp - 0x230]
xor eax, eax
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.004055f0
cmp dword [ebp - 0x238], 0
jbe 0x41ff72
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x516a34
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x55a90c], eax
lea ecx, [ebp - 0x248]
call fcn.004055f0
mov eax, dword [0x55a90c]
test eax, eax
jne 0x41ff8d
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
Function at 0x421970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c3b1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x554418]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0x55c716
push 0x100010
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], 0x100000
call fcn.0043f236
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x421a8e
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push 0x201
push 0
push str.SOFTWAREQuickSee
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421a85
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], edi
push eax
push 0
push str.lua_push
push edi
mov dword [ebp - 0x20], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421a7a
cmp dword [ebp - 0x14], 3
jne 0x421a7a
mov eax, dword [ebp - 0x10]
mov ecx, ebx
mov byte [eax + ebx], 0
lea edx, [ecx + 1]
mov eax, dword [ebp - 0x10]
mov byte [eax + ebx + 1], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421a68
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.00409aa0
test edi, edi
je 0x421a85
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0043f1f1
add esp, 4
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 0x422110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x548910
push 0x4d4040
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x554418]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
xor edi, edi
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], esi
je 0x422176
push 0x517690
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x422198
push str.Wow64DisableWow64FsRedirection
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x1c], eax
push str.Wow64RevertWow64FsRedirection
push edi
call esi
mov esi, eax
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4221aa
lea ecx, [ebp - 0x2c]
push ecx
call eax
mov ebx, eax
mov dword [ebp - 0x24], ebx
push 0x3c
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.004d3ba0
add esp, 0xc
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0xd240
call fcn.00424350
neg eax
sbb eax, eax
and eax, str.runas
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 1
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x42221b
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
call fcn.00422247
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x423030
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x548768
push 0x4d4040
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x554418]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [ecx], edi
lea eax, [ebp - 0x28]
push eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x4230aa
cmp dword [ebp - 0x28], edi
je 0x4230aa
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4230e2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x4231c4
lea eax, [ebp - 0x28]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4231c4
cmp dword [ebp - 0x28], 0
je 0x4231c4
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 2
push dword [ebp - 0x28]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call ebx
test eax, eax
jne 0x4231c4
cmp dword [ebp - 0x2c], eax
jbe 0x4231c4
call esi
cmp eax, 0x7a
jne 0x4231c4
push dword [ebp - 0x2c]
call fcn.004dc3c0
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x4231c4
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x2c]
push edi
push 2
push dword [ebp - 0x28]
call ebx
test eax, eax
je 0x4231c4
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jne 0x4231c4
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4231c4
cmp dword [ebp - 0x30], 0
je 0x4231c4
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x4231c4
lea ebx, [edi + esi*8]
push dword [ebp - 0x30]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4231ad
inc esi
jmp 0x423190
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
mov eax, dword [ebx + 8]
shr eax, 2
and eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.004231f1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret 8
Function at 0x423c90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x55ad80]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x423e4d
push 0x516a34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x55ad80], eax
test eax, eax
jne 0x423e4d
push eax
push 0x104
lea ecx, [ebp - 0x230]
call fcn.00405020
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
test ecx, ecx
jne 0x423d4c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004055f0
jmp 0x423e32
mov eax, dword [ebp - 0x220]
cmp ecx, eax
ja 0x423d78
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], ecx
cmovae eax, dword [ebp - 0x230]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x423d88
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x230]
call fcn.00409770
movups xmm0, xmmword [ebp - 0x230]
xor eax, eax
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.004055f0
cmp dword [ebp - 0x238], 0
jbe 0x423e32
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x516a34
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x55ad80], eax
lea ecx, [ebp - 0x248]
call fcn.004055f0
mov eax, dword [0x55ad80]
test eax, eax
jne 0x423e4d
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret