joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414370
Capabilities:
Check if file exists
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1062c
call fcn.0043e4e0
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x414]
xor esi, esi
push eax
push 0x5530ac
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp dword [0x5530c0], esi
je 0x414442
push ebx
push str.ntdll.dll
mov dword [ebp - 0x10628], esi
xor ebx, ebx
mov dword [ebp - 0x1062c], esi
mov dword [ebp - 0x10624], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41443b
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41440b
lea ecx, [ebp - 0x10624]
push ecx
lea ecx, [ebp - 0x1062c]
push ecx
lea ecx, [ebp - 0x10628]
push ecx
call eax
movzx eax, word [ebp - 0x10624]
lea ebx, [esi + 1]
mov dword [ebp - 0x10624], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x41443b
mov eax, dword [ebp - 0x10628]
cmp eax, 6
jne 0x41442c
cmp dword [ebp - 0x1062c], 4
je 0x414431
jmp 0x41443b
cmp eax, 0xa
jb 0x41443b
mov dword [0x5598ec], 1
mov dword [0x5530c0], esi
pop ebx
cmp dword [0x5598ec], esi
je 0x414456
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov eax, str.SOFTWAREClassesCLSID_sInprocServer32
jmp 0x414460
mov edi, SysReAllocString
mov eax, str.CLSID_sInprocServer32
lea ecx, [ebp - 0x414]
push ecx
push eax
lea eax, [ebp - 0x620]
push 0x104
push eax
call fcn.00414d60
add esp, 0x10
call fcn.004145a0
movzx eax, al
lea ecx, [ebp - 0x1062c]
neg eax
mov dword [ebp - 0x1062c], esi
push ecx
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x620]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41458a
mov edi, dword [ebp - 0x1062c]
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004d2e90
add esp, 0xc
mov dword [ebp - 0x10628], 0x208
lea eax, [ebp - 0x10628]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x10624]
push eax
push 0
push 0x51598c
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41457f
mov eax, dword [ebp - 0x10624]
cmp eax, 1
je 0x414514
cmp eax, 2
jne 0x41457f
mov eax, dword [ebp - 0x10628]
test eax, eax
je 0x414530
test al, 1
jne 0x41457f
shr eax, 1
cmp word [ebp + eax*2 - 0x20e], si
je 0x414539
jmp 0x41457f
xor eax, eax
mov word [ebp - 0x20c], ax
push 0xfffe
lea eax, [ebp - 0x10620]
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x10620]
push 0x7ffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x10620]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
cmovne esi, ecx
test edi, edi
je 0x41458a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0043e3a9
mov esp, ebp
pop ebp
ret
Function at 0x4146a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a55b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d2e90
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]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push 0x516794
push eax
call esi
call fcn.004145a0
test al, al
mov edx, str.QsShell.dll
mov ecx, str.QsShell64.dll
lea eax, [ebp - 0x218]
cmove ecx, edx
push ecx
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414870
mov eax, dword [0x55951c]
test al, 1
jne 0x414789
or eax, 1
mov dword [0x55951c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x5140a0
mov dword [0x559510], 0x515994
mov dword [0x559514], eax
mov byte [0x559518], 0
call fcn.0043e394
mov eax, dword [0x55951c]
add esp, 4
test al, 2
jne 0x4147e5
or eax, 2
mov dword [0x559520], 0x5159ac
mov dword [0x55951c], eax
xor eax, eax
push 0x5140d0
mov dword [0x559524], 0x559510
mov dword [0x559534], 2
mov dword [0x55952c], 0
mov dword [0x559530], 0
mov dword [0x559538], eax
mov dword [0x559528], 0x559520
call fcn.0043e394
add esp, 4
mov eax, dword [0x559520]
mov ecx, 0x559520
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, str._u__s___s_
mov dword [ebp - 4], 0
mov eax, 0x515d04
cmove eax, ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040d5d0
mov esi, dword [ebp - 0x21c]
push 0
push 0
push 0
push 0x1388
push 1
push 0
push esi
push str.regsvr32.exe
push 0
call fcn.00436930
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41486b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e3a9
mov esp, ebp
pop ebp
ret 4
Function at 0x415c60
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a7b9
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x553418]
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 - 0x424], esi
mov dword [ebp - 0x428], esi
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x415dcd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x415dd7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
jne 0x415d3b
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5168a4
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.0040dd40
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x515c90
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415d92
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x5168a4
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 4]
call fcn.0040dd40
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.0043e3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406290
push 0x80004005
call fcn.00406290
int3

Function at 0x415df0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x553418]
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]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], esi
xorps xmm0, xmm0
push dword [ecx]
movups xmmword [ebp - 0x30], xmm0
push 0xf
push eax
push 0x5169ac
push str.ActiveCreatShortcut
push str.Default
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x415ea0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
mov ecx, esi
test eax, 0xffff0000
jne 0x415e7c
movzx eax, ax
push eax
call fcn.0040daf0
jmp 0x415e82
push eax
call fcn.0040dd40
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.0043e3a9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00406290
int3
Function at 0x416420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.0043e4e0
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.QuickSeeImg.exe
push dword [esi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
call esi
push 0x800
lea eax, [ebp - 0xa0c]
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0xa0c]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x120c]
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0xa0c]
push 0x516ad4
push eax
lea eax, [ebp - 0x120c]
push eax
call esi
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x120c]
push eax
push str.__fromdesktop
lea eax, [ebp - 0x20c]
push eax
push 0x515c90
call fcn.00416c20
mov ecx, dword [ebp - 4]
add esp, 0x1c
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
pop esi
call fcn.0043e3a9
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x414]
push str.QuickSeeImg.exe
push dword [esi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
call esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x515c90
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 0x41659e
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x516ad4
push eax
lea eax, [ebp - 0xc14]
push eax
call esi
push 0
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc14]
push eax
push str.__fromstartmenu
lea eax, [ebp - 0x414]
push eax
push 0x515c90
call fcn.00416c20
mov ecx, dword [ebp - 4]
add esp, 0x1c
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
pop esi
call fcn.0043e3a9
mov esp, ebp
pop ebp
ret
Function at 0x416610
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x515c90
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 0x416682
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x516b34
push eax
lea eax, [ebp - 0xc14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004d2e90
add esp, 0xc
lea eax, [ebp - 0x414]
push str.uninst.exe
push dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 1
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc14]
push eax
push 0
lea eax, [ebp - 0x414]
push eax
push 0x516b6c
call fcn.00416c20
mov ecx, dword [ebp - 4]
add esp, 0x1c
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
pop edi
call fcn.0043e3a9
mov esp, ebp
pop ebp
ret
Function at 0x416f90
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0043e4e0
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004d2e90
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.004d2e90
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.0043e3a9
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.0043e4e0
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004d2e90
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.004d2e90
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.0043e3a9
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.0043e4e0
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004d2e90
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.004d2e90
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x516ad4
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.004d2e90
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.004d2e90
add esp, 0xc
lea eax, [ebp - 0x1804]
push 0x516ad4
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.0043e3a9
mov esp, ebp
pop ebp
ret
Function at 0x418d10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ab06
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0043e4e0
mov eax, dword [0x553418]
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.004d2e90
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.0043e3a9
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.0043e4e0
mov eax, dword [0x553418]
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.004d2e90
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.0043e3a9
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.004d2e90
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.0043e3a9
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 0x50ade2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x553418]
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], 0x5172f4
mov dword [esi + 0x10], 0x5172fc
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.0043e0d1
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41ac7c
push 1
mov byte [ebp - 4], 5
call fcn.004398fd
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