joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d5c5
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x214], eax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 0x218], esi
call fcn.00466c70
add esp, 0xc
cmp ebx, edi
je 0x43d6b3
cmp word [ebx], di
je 0x43d6b3
lea eax, [ebp - 0x210]
push eax
push 0x10008
push edi
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x43d6b8
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x210]
mov dword [ebp - 0x21c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0x103
je 0x43d696
cmp esi, edi
jne 0x43d6a5
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.0043d5c5
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x43d63c
jmp 0x43d6a5
push ebx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43d6b8
mov esi, 0x3f2
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466576
leave
ret

Function at 0x43d822
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x48640a
call fcn.00468a6e
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
push 0x2001f
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push dword [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0042483e
test eax, eax
je 0x43d863
lea ecx, [ebp - 0x18]
call fcn.00424823
mov eax, esi
call fcn.00468b46
ret
push dword [ebp + 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 0x10]
xor ecx, ecx
push dword [ebp + 0xc]
cmp eax, esi
push dword [ebp + 8]
sete cl
push str.Registry_delete_value_failed
push ecx
call fcn.0043d506
add esp, 0x14
mov esi, eax
jmp 0x43d853
Function at 0x43e2c6
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 0x41c], eax
call fcn.0043d532
test eax, eax
je 0x43e3ee
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00466c70
xor eax, eax
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00466c70
add esp, 0x18
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push 0x493e70
push eax
call fcn.0046b7e9
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0046b81a
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e3ed
mov edi, dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
push ebx
mov esi, SysStringLen
push esi
call edi
lea eax, [ebp - 0x20c]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x43e3ed
and dword [ebp - 0x418], eax
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e3dd
push dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
push dword [ebp - 0x418]
call fcn.0043e27a
pop ecx
pop ecx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
call edi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00466576
leave
ret
Function at 0x43e3fc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x63c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x640], eax
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x628], ax
xor edi, edi
lea eax, [ebp - 0x626]
push edi
push eax
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push edi
push eax
mov dword [ebp - 0x630], edi
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00466c70
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x24
lea eax, [ebp - 0x62c]
push eax
push 1
push edi
push edi
mov ebx, SysStringLen
push ebx
mov dword [ebp - 0x638], 0x104
call esi
test eax, eax
je 0x43e4b6
lea eax, [ebp - 0x62c]
push eax
push 1
push edi
push edi
push ebx
call esi
test eax, eax
jne 0x43e5ab
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x41c]
push eax
push edi
jmp 0x43e58b
inc dword [ebp - 0x630]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0046b81a
lea eax, [ebp - 0x210]
push 0x48c634
push eax
call fcn.0046b81a
push dword [ebp - 0x63c]
lea eax, [ebp - 0x210]
push eax
call fcn.0046b7e9
add esp, 0x18
lea eax, [ebp - 0x634]
push eax
push 0xf003f
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
call esi
test eax, eax
je 0x43e543
lea eax, [ebp - 0x634]
push eax
push 0xf003f
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
call esi
test eax, eax
jne 0x43e569
mov ecx, dword [ebp - 0x640]
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x634]
call fcn.0043e27a
pop ecx
pop ecx
push dword [ebp - 0x634]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x630]
mov dword [ebp - 0x638], 0x104
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43e4ce
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466576
leave
ret
Function at 0x43e5ba
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x65c
mov eax, 0x4865d1
call fcn.00468ad7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x668], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x664], eax
xor eax, eax
mov edi, 0x208
xor esi, esi
push edi
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push esi
push eax
mov dword [ebp - 0x65c], esi
call fcn.00466c70
xor eax, eax
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.00466c70
add esp, 0x18
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList_
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x654], 0x104
call fcn.00424491
cmp dword [ebp - 0x63c], 8
mov eax, dword [ebp - 0x650]
mov dword [ebp - 4], esi
jae 0x43e64b
lea eax, [ebp - 0x650]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x658]
push ecx
push 8
push esi
push eax
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call edi
test eax, eax
je 0x43e693
cmp dword [ebp - 0x63c], 8
mov eax, dword [ebp - 0x650]
jae 0x43e67d
lea eax, [ebp - 0x650]
lea ecx, [ebp - 0x658]
push ecx
push 8
push esi
push eax
push ebx
call edi
test eax, eax
jne 0x43e7dc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x428]
push eax
push esi
jmp 0x43e7bc
inc dword [ebp - 0x65c]
cmp dword [ebp - 0x63c], 8
mov eax, dword [ebp - 0x650]
jae 0x43e6c6
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0046b81a
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0046b7e9
xor eax, eax
push 0x208
mov word [ebp - 0x634], ax
lea eax, [ebp - 0x632]
push esi
push eax
call fcn.00466c70
add esp, 0x1c
lea eax, [ebp - 0x660]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x21c]
push eax
push ebx
call edi
test eax, eax
je 0x43e73e
lea eax, [ebp - 0x660]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x21c]
push eax
push ebx
call edi
test eax, eax
jne 0x43e7dc
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x634]
push eax
push esi
push esi
push str.ProfileImagePath
push dword [ebp - 0x660]
mov dword [ebp - 0x654], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e78e
push dword [ebp - 0x664]
lea eax, [ebp - 0x428]
push dword [ebp - 0x668]
lea ecx, [ebp - 0x634]
push eax
call fcn.0043e2c6
add esp, 0xc
push dword [ebp - 0x660]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x65c]
mov dword [ebp - 0x654], 0x104
push dword [ebp - 0x658]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43e6ab
push dword [ebp - 0x658]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 1
lea ecx, [ebp - 0x650]
call fcn.0041f501
call fcn.00468b5a
ret
Function at 0x43e9c7
Capabilities:
Read .ini file

Disassembly:
push 0x10
mov eax, 0x48666c
call fcn.00468a6e
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 8]
push 0x4c1160
mov dword [ebp - 4], esi
call fcn.004237f4
mov dword [ebp - 4], esi
mov esi, 0x1000
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
mov dword [ebp - 0x14], 1
mov edi, esi
neg ecx
or ecx, eax
push ecx
call fcn.00468ca0
mov dword [esp], 0x2000
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.00466c70
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add esp, 0xc
push eax
push esi
push dword [ebp - 0x10]
push ecx
push edx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call ebx
cmp eax, 0xffe
jne 0x43eaad
push dword [ebp - 0x10]
call fcn.00468bd4
add edi, esi
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468ca0
lea ecx, [edi + edi]
push ecx
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.00466c70
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov ecx, dword [ecx]
add esp, 0x14
push eax
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
push ecx
push dword [ebp - 0x1c]
push edx
call ebx
lea ecx, [edi - 2]
cmp eax, ecx
je 0x43ea51
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
call fcn.00417f8c
push dword [ebp - 0x10]
call fcn.0041f075
mov eax, dword [ebp + 8]
pop ecx
call fcn.00468b46
ret 0x10

Function at 0x43f584
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4c1c35], 0
jne 0x43f5f4
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
mov byte [0x4c1c35], 1
mov dword [ebp - 0x120], 0x11c
call fcn.00466c70
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x43f5ed
cmp dword [ebp - 0x118], 1
mov byte [0x4c1c34], 1
je 0x43f5f4
mov byte [0x4c1c34], 0
mov ecx, dword [ebp - 4]
mov al, byte [0x4c1c34]
xor ecx, ebp
call fcn.00466576
leave
ret
Function at 0x4428f9
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 0x640
mov eax, 0x486a55
call fcn.00468ad7
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x628], ax
xor ebx, ebx
lea eax, [ebp - 0x626]
push ebx
push eax
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.00466c70
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00466c70
add esp, 0x24
push ebx
push 0x1c
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x1a
call fcn.004460e3
lea eax, [ebp - 0x420]
push eax
call fcn.00419af7
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046b81a
lea eax, [ebp - 0x218]
push str._tempuninstall.ini
push eax
call fcn.0046b7e9
add esp, 0x20
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4429cc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
push str.localappdata
mov edi, str.install
push edi
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
push str.appdatapath
push edi
call esi
lea eax, [ebp - 0x648]
push eax
call fcn.00454a49
push dword [eax]
lea eax, [ebp - 0x644]
push eax
mov dword [ebp - 4], ebx
call fcn.004244c2
mov ecx, dword [ebp - 0x648]
or dword [ebp - 4], 0xffffffff
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00417891
cmp dword [ebp - 0x630], 8
mov eax, dword [ebp - 0x644]
jae 0x442a4a
lea eax, [ebp - 0x644]
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.newcurinstallpath
push edi
call esi
push ebx
push 1
lea ecx, [ebp - 0x644]
call fcn.0041f501
lea eax, [ebp - 0x648]
push eax
call fcn.00454aec
pop ecx
lea ecx, [ebp - 0x218]
push ecx
push dword [eax]
push str.startmenudir
push edi
call esi
mov ecx, dword [ebp - 0x648]
add ecx, 0xfffffff0
call fcn.00417891
lea eax, [ebp - 0x648]
push eax
call fcn.00454df1
pop ecx
lea ecx, [ebp - 0x218]
push ecx
push dword [eax]
push str.waitclearlist
push edi
call esi
mov ecx, dword [ebp - 0x648]
add ecx, 0xfffffff0
call fcn.00417891
lea eax, [ebp - 0x64c]
push eax
call fcn.00454b8f
pop ecx
lea ecx, [ebp - 0x218]
push ecx
push dword [eax]
push str.languages
push edi
call esi
mov ecx, dword [ebp - 0x64c]
add ecx, 0xfffffff0
call fcn.00417891
call fcn.00468b5a
ret
Function at 0x44413a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 8], esi
cmp dword [ebp + 8], esi
jne 0x444175
mov eax, dword [0x4c1944]
cmp eax, esi
je 0x444160
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
jmp 0x444163
mov dword [ebp + 8], esi
cmp dword [ebp + 8], esi
jne 0x444175
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x44419e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], eax
je 0x44419e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44419e
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 8], 1
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
mov dword [edi + 0x2fc], esi
call fcn.00443db6
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, esi
jne 0x4441cc
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4442b0
push ebx
call fcn.0042d984
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], esi
jne 0x4441e6
push dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.0042d6c0
cmp dword [edi + 0x2f8], esi
je 0x444252
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [ebp - 4], eax
je 0x44423a
push 1
push dword [ebp - 4]
push eax
call ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x444252
push esi
push eax
push dword [ebp + 0xc]
call ebx
mov ecx, edi
call fcn.00441d36
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [edi + 4]
mov dword [edi + 0x2fc], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 8], esi
je 0x44429b
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp + 8], esi
je 0x44429b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 4]
jne 0x44429b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [ebp - 0x10]
call fcn.0042d984
pop ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4452b2
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x18], edi
je 0x4452ed
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4452ed
push esi
push str.KFunction::RunApp_File__ws_not_exist.
push 0x4c1dc0
call fcn.00448b55
xor eax, eax
add esp, 0xc
inc eax
jmp 0x445388
push ebx
push 0x38
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.00466c70
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xa
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x445355
cmp dword [ebp + 0x10], edi
je 0x44534c
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 1
jmp 0x445376
push ebx
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::RunApp_ShellExecuteEx_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push 0x4c1dc0
call fcn.00448b55
add esp, 0x1c
pop ebx
cmp dword [ebp - 8], edi
je 0x445385
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x4453e8
Capabilities:
Acquire debug privileges

Disassembly:
push 0x2c
push 0x4b5520
call fcn.0046bc50
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x44546d
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x44546d
xor edi, edi
inc edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x44546d
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.00445484
mov eax, dword [ebp - 0x34]
call fcn.0046bc98
ret
Function at 0x445527
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x44556e
xor eax, eax
jmp 0x44558f
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x445583
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00466576
leave
ret

Function at 0x44559c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4bfcf0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4c1d14], 0
jne 0x445600
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.00466c70
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov dword [0x4c1d14], 1
sbb eax, eax
inc eax
mov dword [0x4c1d10], eax
jmp 0x445605
mov eax, dword [0x4c1d10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466576
leave
ret

Function at 0x445611
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push edi
push 1
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
push dword [ebp - 4]
call fcn.00468ca0
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
push ebx
push 1
push dword [ebp + 8]
call esi
test eax, eax
je 0x4456c5
mov eax, dword [ebx]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x4456c5
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x4456c5
lea eax, [ebp - 4]
push eax
push edi
push edi
push 1
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call esi
push dword [ebp - 4]
call fcn.00468ca0
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push 1
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4456c5
mov esi, dword [ebx]
cmp esi, edi
je 0x4456c5
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x4456c5
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00468bd4
push ebx
call fcn.00468bd4
pop ecx
mov eax, esi
jmp 0x4456cd
push ebx
call fcn.00468bd4
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret