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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454856
mov eax, dword fs:[0]
push eax
sub esp, 0x664
mov eax, dword [0x47f060]
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
xor bl, bl
call sub.MSVCR110.dll_memset
add esp, 0xc
call fcn.0042da20
test al, al
lea eax, [ebp - 0x218]
je 0x40f0f6
push str.iSafeRKScanShell64.dll
jmp 0x40f0fb
push str.iSafeRKScanShell.dll
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x40f29a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x628]
push str.System32_regsvr32.exe
push eax
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
je 0x40f29a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x670]
call fcn.00406d00
push eax
mov edx, str._s__u__
lea ecx, [ebp - 0x658]
mov dword [ebp - 4], 0
call fcn.00411770
push 0x45ef18
mov edx, eax
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 1
call fcn.00411660
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 8
cmp dword [ebp - 0x644], 8
jb 0x40f1ed
push dword [ebp - 0x658]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x65c], 8
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], 0
mov word [ebp - 0x658], ax
jb 0x40f21e
push dword [ebp - 0x670]
call esi
add esp, 4
cmp dword [ebp - 0x62c], 8
mov eax, dword [0x482720]
lea edi, [ebp - 0x640]
cmovae edi, dword [ebp - 0x640]
test al, 1
jne 0x40f250
or eax, 1
push 0x45aeb0
mov dword [0x482720], eax
call fcn.004521b7
add esp, 4
push 0
push 1
push edi
lea eax, [ebp - 0x420]
push eax
call fcn.00443c20
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x640]
cmovae ecx, dword [ebp - 0x640]
push ecx
push str.UnRegisterRKScanShellDLL__cmdline___s_
mov bl, al
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
cmp dword [ebp - 0x62c], 8
jb 0x40f29a
push dword [ebp - 0x640]
call esi
add esp, 4
mov al, bl
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.00452076
mov esp, ebp
pop ebp
ret
Function at 0x40f710
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45489e
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
push str.RemoveSilentModelComponent
call edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x48277c]
add esp, 0x10
test eax, eax
jne 0x40f7a6
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40f798
mov ecx, eax
call fcn.004122b0
jmp 0x40f79a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x48277c], eax
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x40f7b3
mov eax, dword [eax]
push str.proxyUpdate.exe
push eax
lea eax, [ebp - 0x218]
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 0x40f7f6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
lea eax, [ebp - 0x218]
push eax
push str.RemoveSilentModelComponent__DeleteFile:_path___s__ret___d_
call edi
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x48277c]
add esp, 0xc
test eax, eax
jne 0x40f84c
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x40f845
mov ecx, eax
call fcn.004122b0
jmp 0x40f847
xor eax, eax
mov dword [0x48277c], eax
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x40f859
mov eax, dword [eax]
push str.skin2proxyUpdate
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f89c
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push eax
lea eax, [ebp - 0x420]
push eax
push str.RemoveSilentModelComponent__RemoveDirectory:_path___s__ret___d_
call edi
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x40f8c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4548e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x47f060]
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.0042d4a0
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 0x40f9fd
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.00406c00
mov byte [ebp - 4], 1
cmp word [ebp - 0x28], 0
jne 0x40f989
xor ecx, ecx
jmp 0x40f99f
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f990
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405270
cmp dword [ebp - 0x2c], 8
mov eax, dword [0x482720]
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 0x40f9e0
or eax, 1
push 0x45aeb0
mov dword [0x482720], eax
call fcn.004521b7
add esp, 4
push 0
push 0
push esi
push edi
call fcn.00443c20
cmp dword [ebp - 0x2c], 8
jb 0x40f9fd
push dword [ebp - 0x40]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x40fa0f
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.00452076
mov esp, ebp
pop ebp
ret
Function at 0x40fa30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x47f060]
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 0x40fa79
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 0x40fae9
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x40fac5
xor ecx, ecx
push ecx
lea eax, [ebp - 0x20c]
push eax
jmp 0x40faf4
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fad0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
jmp 0x40faf4
xor eax, eax
push eax
mov word [esi], ax
push 0x45ec1c
mov ecx, esi
call fcn.00406c00
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00452076
mov esp, ebp
pop ebp
ret

Function at 0x410150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x2021f
push 0
push 0
push 0
push str.SoftwareiSafe
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Language
push dword [ebp - 0x14]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, dword [ebp - 0x10]
sete bl
test eax, eax
je 0x4101d0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4101de
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x4101f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x47f060]
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 0x410246
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x41024e
mov edi, dword [edi]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410253
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 0x410293
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4102a1
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.00452076
mov esp, ebp
pop ebp
ret
Function at 0x411260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.InjectiISafeMon64
mov esi, ecx
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
call fcn.0042da20
test al, al
je 0x4112fc
push str.iSafeTHlp64.exe
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.0042d4a0
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 0x4112ea
cmp dword [ebp - 8], 8
mov eax, dword [0x482720]
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
test al, 1
jne 0x4112db
or eax, 1
push 0x45aeb0
mov dword [0x482720], eax
call fcn.004521b7
add esp, 4
push 0
push 0
push str._inject
push esi
call fcn.00443c20
cmp dword [ebp - 8], 8
jb 0x4112fc
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x413c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45574b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x47f060]
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 0x413e25
cmp dword [esi + 0x14], 8
jb 0x413c43
mov eax, dword [esi]
jmp 0x413c45
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413e25
mov eax, dword [0x483120]
test al, 1
jne 0x413c87
or eax, 1
push ecx
mov ecx, 0x483090
mov dword [0x483120], eax
call fcn.004139f0
mov ecx, 0x483090
call fcn.00414be0
push 0x45aed0
call fcn.004521b7
add esp, 4
push 0
push 0x45ec1c
mov ecx, 0x483090
call fcn.00406c00
push dword [0x483100]
push dword [0x4830fc]
call fcn.00414b50
push dword [0x48310c]
mov eax, dword [0x4830fc]
push dword [0x483108]
mov dword [0x483100], eax
call fcn.00414b50
mov eax, dword [0x483108]
mov dword [0x48310c], eax
cmp dword [esi + 0x14], 8
jb 0x413cd6
mov esi, dword [esi]
mov eax, dword [0x483120]
test al, 1
jne 0x413d09
or eax, 1
push ecx
mov ecx, 0x483090
mov dword [0x483120], eax
call fcn.004139f0
mov ecx, 0x483090
call fcn.00414be0
push 0x45aed0
call fcn.004521b7
add esp, 4
cmp word [esi], 0
jne 0x413d13
xor ecx, ecx
jmp 0x413d2f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x413d20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413d20
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, 0x483090
call fcn.00406c00
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.0042cdc0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push str.install.inst
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x483120]
test al, 1
jne 0x413dc5
or eax, 1
push ecx
mov ecx, 0x483090
mov dword [0x483120], eax
call fcn.004139f0
mov ecx, 0x483090
call fcn.00414be0
push 0x45aed0
call fcn.004521b7
add esp, 4
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x483090
call fcn.00414e70
test al, al
jne 0x413de7
push str.CInstaller::BackUpIgnoreFiles__ReadConfigFile:_return_false_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
jmp 0x413e0a
mov esi, dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
push str.CInstaller::BackUpIgnoreFiles__BackUpIgnoreFiles:_begin_
call esi
add esp, 4
call fcn.00414ad0
mov ecx, eax
call fcn.00416d40
push str.CInstaller::BackUpIgnoreFiles__BackUpIgnoreFiles:_end_
call esi
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x413e25
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.00452076
mov esp, ebp
pop ebp
ret 4
Function at 0x417410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, ecx
push str.ignore
lea ecx, [ebp - 0x1c]
call fcn.00411480
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 0x4174bc
mov eax, dword [0x4826e0]
test al, 1
jne 0x417467
or eax, 1
push 0x45ae80
mov dword [0x4826e0], eax
call fcn.004521b7
add esp, 4
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
call fcn.004441f0
mov bl, al
test bl, bl
je 0x417499
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 0x4174be
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 0x4174be
mov bl, 1
cmp dword [ebp - 8], 8
jb 0x4174d0
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.00452076
mov esp, ebp
pop ebp
ret

Function at 0x418000
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 0x418019
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 0x418054
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x418050
lea ebx, [ebx]
cmp esi, edx
jae 0x418054
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x418040
cmp esi, edx
jb 0x41805b
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 0x418d90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455ddc
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
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, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call dword [sym.imp.MSVCR110.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x418e24
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x424]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_void_]
push str.bugreport.exe
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push str._s_s
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ouilibx.dll_public:_int___cdecl_OUI::COString::Format_wchar_t_const__]
push 0x44
lea eax, [ebp - 0x470]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0x1c
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x470]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x424]
call dword [sym.imp.ouilibx.dll_public:_wchar_t_const____thiscall_OUI::COString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x418edd
push 0xffffffffffffffff
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x419ba0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x4831cc]
push esi
mov esi, dword [ebp + 8]
test al, 1
jne 0x419be0
or eax, 1
push ecx
mov dword [0x4831cc], eax
call fcn.0041a320
call fcn.0041a530
push 0x45afc0
call fcn.004521b7
add esp, 4
mov ecx, 0x483160
call fcn.0041bf20
mov eax, dword [0x4831cc]
test al, 1
jne 0x419c13
or eax, 1
push ecx
mov dword [0x4831cc], eax
call fcn.0041a320
call fcn.0041a530
push 0x45afc0
call fcn.004521b7
add esp, 4
cmp word [esi], 0
jne 0x419c1d
xor ecx, ecx
jmp 0x419c31
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419c22
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, 0x483160
call fcn.00406c00
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x462aac
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x4831cc]
test al, 1
jne 0x419c97
or eax, 1
push ecx
mov dword [0x4831cc], eax
call fcn.0041a320
call fcn.0041a530
push 0x45afc0
call fcn.004521b7
add esp, 4
lea eax, [ebp - 0x214]
push eax
mov ecx, 0x483160
call fcn.0041abe0
test al, al
je 0x419d79
mov eax, dword [0x4831cc]
test al, 1
jne 0x419cd9
or eax, 1
push ecx
mov dword [0x4831cc], eax
call fcn.0041a320
call fcn.0041a530
push 0x45afc0
call fcn.004521b7
add esp, 4
mov ecx, 0x483160
call fcn.0041b380
mov eax, dword [0x4831cc]
test al, 1
jne 0x419d0c
or eax, 1
push ecx
mov dword [0x4831cc], eax
call fcn.0041a320
call fcn.0041a530
push 0x45afc0
call fcn.004521b7
add esp, 4
mov ecx, 0x483160
call fcn.0041b660
mov eax, dword [0x4831cc]
test al, 1
jne 0x419d3f
or eax, 1
push ecx
mov dword [0x4831cc], eax
call fcn.0041a320
call fcn.0041a530
push 0x45afc0
call fcn.004521b7
add esp, 4
mov ecx, 0x483160
call fcn.0041b860
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419d79
mov eax, dword [0x4826e0]
test al, 1
jne 0x419d72
or eax, 1
push 0x45ae80
mov dword [0x4826e0], eax
call fcn.004521b7
add esp, 4
mov ecx, esi
call fcn.004441f0
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00452076
mov esp, ebp
pop ebp
ret 4
Function at 0x41bfb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x47f060]
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 0x41c000
sub ecx, edx
sar ecx, 1
jne 0x41c023
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452076
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.0041a400
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 0x41c09b
test dx, dx
je 0x41c097
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41c09b
add eax, 4
add ecx, 4
test dx, dx
jne 0x41c075
xor eax, eax
jmp 0x41c0a0
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 4]
test eax, eax
sete al
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret 4