joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443a26
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x467060]
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
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
call fcn.0041ff50
test al, al
lea eax, [ebp - 0x218]
je 0x40c094
push str.iSafeRKScanShell64.dll
jmp 0x40c099
push str.iSafeRKScanShell.dll
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c1f0
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
jne 0x40c0e0
xor ecx, ecx
jmp 0x40c0ff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c0f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405570
lea eax, [ebp - 0x248]
push eax
mov edx, 0x44c204
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0
call fcn.0040d280
push 0x44c200
mov edx, eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00404870
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 8
cmp dword [ebp - 0x24c], 8
jb 0x40c163
push dword [ebp - 0x260]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x40c194
push dword [ebp - 0x248]
call edi
add esp, 4
cmp dword [ebp - 0x21c], 8
mov eax, dword [0x469f0c]
lea esi, [ebp - 0x230]
cmovae esi, dword [ebp - 0x230]
test al, 1
jne 0x40c1c6
or eax, 1
push 0x4486e0
mov dword [0x469f0c], eax
call fcn.00441527
add esp, 4
push ecx
push 0
push 1
push esi
push str.regsvr32.exe
call fcn.00432ee0
cmp dword [ebp - 0x21c], 8
mov bl, al
jb 0x40c1ec
push dword [ebp - 0x230]
call edi
add esp, 4
mov al, bl
jmp 0x40c1f2
xor al, al
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.004413e6
mov esp, ebp
pop ebp
ret
Function at 0x40c210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443a26
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x467060]
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
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
call fcn.0041ff50
test al, al
lea eax, [ebp - 0x218]
je 0x40c274
push str.iSafeRKScanShell64.dll
jmp 0x40c279
push str.iSafeRKScanShell.dll
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c3d0
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
jne 0x40c2c0
xor ecx, ecx
jmp 0x40c2df
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c2d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00405570
lea eax, [ebp - 0x248]
push eax
mov edx, str._s__u__
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0
call fcn.0040d280
push 0x44c200
mov edx, eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00404870
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 8
cmp dword [ebp - 0x24c], 8
jb 0x40c343
push dword [ebp - 0x260]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x40c374
push dword [ebp - 0x248]
call edi
add esp, 4
cmp dword [ebp - 0x21c], 8
mov eax, dword [0x469f0c]
lea esi, [ebp - 0x230]
cmovae esi, dword [ebp - 0x230]
test al, 1
jne 0x40c3a6
or eax, 1
push 0x4486e0
mov dword [0x469f0c], eax
call fcn.00441527
add esp, 4
push ecx
push 0
push 1
push esi
push str.regsvr32.exe
call fcn.00432ee0
cmp dword [ebp - 0x21c], 8
mov bl, al
jb 0x40c3cc
push dword [ebp - 0x230]
call edi
add esp, 4
mov al, bl
jmp 0x40c3d2
xor al, al
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.004413e6
mov esp, ebp
pop ebp
ret
Function at 0x40c3f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443a60
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.RunSoftMgrDLL
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
push str.iSafeTHlp.exe
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.0041fa60
add esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c52e
push 0xa
push 0xb
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push 2
movq qword [ebp - 0x28], xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
call dword [sym.imp.MSVCR110.dll__ultow_s]
add esp, 0x10
xor eax, eax
push 6
push str._task
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00405570
mov byte [ebp - 4], 1
cmp word [ebp - 0x28], 0
jne 0x40c4b9
xor ecx, ecx
jmp 0x40c4cf
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c4c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404020
cmp dword [ebp - 0x2c], 8
mov eax, dword [0x469f0c]
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
lea edi, [ebp - 0x58]
cmovae edi, dword [ebp - 0x58]
test al, 1
jne 0x40c510
or eax, 1
push 0x4486e0
mov dword [0x469f0c], eax
call fcn.00441527
add esp, 4
push ecx
push 0
push 0
push esi
push edi
call fcn.00432ee0
cmp dword [ebp - 0x2c], 8
jb 0x40c52e
push dword [ebp - 0x40]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x40c540
push dword [ebp - 0x58]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret
Function at 0x40c560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x210], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40c5a9
mov edi, dword [edi]
push str.skin2_appimage_new_startmenu_deepclean.ico
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test eax, eax
je 0x40c619
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x40c5f5
xor ecx, ecx
push ecx
lea eax, [ebp - 0x20c]
push eax
jmp 0x40c624
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c600
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
jmp 0x40c624
xor eax, eax
push eax
mov word [esi], ax
push 0x44acac
mov ecx, esi
call fcn.00405570
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004413e6
mov esp, ebp
pop ebp
ret

Function at 0x40cd70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2021f
push 0
push 0
push 0
push str.SoftwareiSafe
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [esi + 0x14], 8
jb 0x40cdc6
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x40cdce
mov edi, dword [edi]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cdd3
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, dword [ebp - 0xc]
sete bl
test eax, eax
je 0x40ce13
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40ce21
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004413e6
mov esp, ebp
pop ebp
ret
Function at 0x40ce40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40ce7c
mov esi, dword [esi]
push str.umplugin.exe
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
je 0x40ced5
mov eax, dword [0x469f0c]
test al, 1
jne 0x40cebf
or eax, 1
push 0x4486e0
mov dword [0x469f0c], eax
call fcn.00441527
add esp, 4
push ecx
push 0
push 0
push str._install__noun
lea eax, [ebp - 0x20c]
push eax
call fcn.00432ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret

Function at 0x40cef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40cf2c
mov esi, dword [esi]
push str.umplugin.exe
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
push str.UninstallPlugin_start:__s
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
je 0x40cfaa
push str.UninstallPlugin_file_exist_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
mov eax, dword [0x469f0c]
add esp, 4
test al, 1
jne 0x40cf94
or eax, 1
push 0x4486e0
mov dword [0x469f0c], eax
call fcn.00441527
add esp, 4
push ecx
push 0
push 1
push str._uninstall
lea eax, [ebp - 0x20c]
push eax
call fcn.00432ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret
Function at 0x40de60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44429b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x40e085
cmp dword [esi + 0x14], 8
jb 0x40dea3
mov eax, dword [esi]
jmp 0x40dea5
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e085
mov eax, dword [0x46a8e0]
test al, 1
jne 0x40dee7
or eax, 1
push ecx
mov ecx, 0x46a850
mov dword [0x46a8e0], eax
call fcn.0040ed40
mov ecx, 0x46a850
call fcn.0040eec0
push 0x4486f0
call fcn.00441527
add esp, 4
push 0
push 0x44acac
mov ecx, 0x46a850
call fcn.00405570
push dword [0x46a8c0]
push dword [0x46a8bc]
call fcn.0040ee30
push dword [0x46a8cc]
mov eax, dword [0x46a8bc]
push dword [0x46a8c8]
mov dword [0x46a8c0], eax
call fcn.0040ee30
mov eax, dword [0x46a8c8]
mov dword [0x46a8cc], eax
cmp dword [esi + 0x14], 8
jb 0x40df36
mov esi, dword [esi]
mov eax, dword [0x46a8e0]
test al, 1
jne 0x40df69
or eax, 1
push ecx
mov ecx, 0x46a850
mov dword [0x46a8e0], eax
call fcn.0040ed40
mov ecx, 0x46a850
call fcn.0040eec0
push 0x4486f0
call fcn.00441527
add esp, 4
cmp word [esi], 0
jne 0x40df73
xor ecx, ecx
jmp 0x40df8f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x40df80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40df80
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, 0x46a850
call fcn.00405570
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0041f3f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push str.um_install.inst
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x46a8e0]
test al, 1
jne 0x40e025
or eax, 1
push ecx
mov ecx, 0x46a850
mov dword [0x46a8e0], eax
call fcn.0040ed40
mov ecx, 0x46a850
call fcn.0040eec0
push 0x4486f0
call fcn.00441527
add esp, 4
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x46a850
call fcn.0040f150
test al, al
jne 0x40e047
push str.CInstaller::BackUpIgnoreFiles__ReadConfigFile:_return_false_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
jmp 0x40e06a
mov esi, dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
push str.CInstaller::BackUpIgnoreFiles__BackUpIgnoreFiles:_begin_
call esi
add esp, 4
call fcn.0040ecc0
mov ecx, eax
call fcn.00410bc0
push str.CInstaller::BackUpIgnoreFiles__BackUpIgnoreFiles:_end_
call esi
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x40e085
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret 4
Function at 0x411220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, ecx
push str.ignore
lea ecx, [ebp - 0x1c]
call fcn.0040d130
add esp, 4
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4112cc
mov eax, dword [0x469f00]
test al, 1
jne 0x411277
or eax, 1
push 0x4486c0
mov dword [0x469f00], eax
call fcn.00441527
add esp, 4
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
call fcn.004332f0
mov bl, al
test bl, bl
je 0x4112a9
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push str.CInstalltools::DeleteIgnoreFiles__DeleteFolder_succeed:_path___s_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
jmp 0x4112ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push eax
push ecx
push str.CInstalltools::DeleteIgnoreFiles__DeleteFolder_failed:_path___s__err___d_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
jmp 0x4112ce
mov bl, 1
cmp dword [ebp - 8], 8
jb 0x4112e0
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004413e6
mov esp, ebp
pop ebp
ret

Function at 0x411e30
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
jne 0x411e49
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x411e84
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x411e80
lea ebx, [ebx]
cmp esi, edx
jae 0x411e84
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x411e70
cmp esi, edx
jb 0x411e8b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x413e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413eb0
sub ecx, edx
sar ecx, 1
jne 0x413ed3
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x414]
push dword [ebp + 8]
call fcn.004125c0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea ecx, [ebp - 0x414]
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413f4b
test dx, dx
je 0x413f47
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413f4b
add eax, 4
add ecx, 4
test dx, dx
jne 0x413f25
xor eax, eax
jmp 0x413f50
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 4]
test eax, eax
sete al
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret 4
Function at 0x417940
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444f6a
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x467060]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [0x467060]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
push 0xf
xor eax, eax
push str.UninstallMaster
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00405570
push str..exe
lea edx, [esp + 0x14]
lea ecx, [esp + 0x84]
mov dword [esp + 0xac], 0
call fcn.00404870
add esp, 4
mov byte [esp + 0xa8], 2
cmp dword [esp + 0x24], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x4179e7
push dword [esp + 0x10]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x94], 8
mov word [esp + 0x10], ax
mov eax, dword [0x469f34]
lea edi, [esp + 0x80]
cmovae edi, dword [esp + 0x80]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
test eax, eax
jne 0x417a54
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0xa8], 3
test eax, eax
je 0x417a45
mov ecx, eax
call fcn.0040dc50
jmp 0x417a47
xor eax, eax
mov byte [esp + 0xa8], 2
mov dword [0x469f34], eax
push edi
lea edx, [eax + 0x78]
lea ecx, [esp + 0x6c]
call fcn.0041fa60
add esp, 4
mov byte [esp + 0xa8], 4
cmp dword [esp + 0x7c], 8
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417b5d
xor eax, eax
push eax
push 0x44acac
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00405570
push 0x38
lea eax, [esp + 0x34]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x7c], 8
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
cmp dword [esp + 0x24], 8
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], str.open
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 0x24], 8
jb 0x417b37
push dword [esp + 0x10]
call esi
add esp, 4
cmp dword [esp + 0x94], 8
lea eax, [esp + 0x80]
cmovae eax, dword [esp + 0x80]
push eax
push str.CInstMainDlg::RunMain__run__s_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
cmp dword [esp + 0x7c], 8
jb 0x417b6d
push dword [esp + 0x68]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x94], 8
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
jb 0x417b9a
push dword [esp + 0x80]
call esi
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.004413e6
mov esp, ebp
pop ebp
ret
Function at 0x41a750
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4453e6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x467060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.ouilibx.dll_public_virtual:_bool___thiscall_OUI::COVDialog::OnInitDialog_void_]
test al, al
jne 0x41a799
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x450238
mov ecx, ebx
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::COUIManager____cdecl_OUI::COUIManager::GetUIManager_void_]
push 0x73
push dword [0x469f1c]
mov dword [eax + 8], ebx
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::COUIManager____cdecl_OUI::COUIManager::GetUIManager_void_]
mov ecx, dword [eax + 8]
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push esi
push 1
push 0x80
mov ecx, ebx
call dword [sym.imp.ouilibx.dll_public:_long_int___thiscall_OUI::COVWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
push 0
push 0x4678b8
push 0x4671a4
push 0
push str.IDC_LOGO_ANIM
mov ecx, ebx
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVDialog::GetDlgItem_wchar_t_const__]
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x41a819
mov edx, dword [eax]
push 0x50
mov ecx, eax
call dword [edx + 0x1d8]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x40], esp
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x40], fcn.0041abb0
mov dword [esp + 0x44], 0
movq xmm0, qword [esp + 0x40]
movq qword [eax], xmm0
mov dword [esp + 0x48], ebx
movq xmm0, qword [esp + 0x48]
movq qword [eax + 8], xmm0
call fcn.0041bf40
mov dword [esp + 0x50], 0
mov eax, dword [0x46a91c]
test al, 1
jne 0x41a89e
or eax, 1
mov dword [0x46a91c], eax
mov byte [esp + 0x50], 1
mov dword [0x46a908], 0
mov dword [0x46a910], 0
call fcn.00436eb0
push 0x448720
call fcn.00441527
add esp, 4
mov byte [esp + 0x50], 0
mov ecx, 0x46a8f0
mov dword [esp + 0x50], 0xffffffff
call fcn.00436f80
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret