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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430563
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x44c060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], eax
sub esp, 8
lea eax, [ecx + 0x1c]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00408890
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.00409250
mov ecx, dword [eax]
add esp, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, 0
test byte [ecx + 0xc], 6
cmovne ecx, eax
test ecx, ecx
je 0x408178
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call esi
test eax, eax
je 0x40814f
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00409020
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xd4]
call fcn.00409250
mov ecx, dword [eax]
add esp, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, 0
test byte [ecx + 0xc], 6
cmovne ecx, eax
test ecx, ecx
jne 0x408132
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xc4]
call fcn.00408970
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
mov eax, dword [sym.imp.MSVCP110.dll_const_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::vftable]
mov dword [ebp + ecx - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
cmp dword [ebp - 0x18], 8
jb 0x4081ed
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042e0d6
mov esp, ebp
pop ebp
ret 4
Function at 0x409ca0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430732
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x44c060]
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, dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_void_]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call esi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
jne 0x409d0d
cmp dword [ebp - 0x1c], 3
jne 0x409dd3
push dword [edi + 4]
mov esi, dword [reloc.ouilibx.dll___4COString_OUI__QAEAAV01_PB_W_Z]
lea ecx, [ebp - 0x14]
call esi
push dword [edi + 8]
lea ecx, [ebp - 0x18]
call esi
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::IsEmpty_void_const]
lea ecx, [ebp - 0x14]
call esi
test eax, eax
jne 0x409dd3
lea ecx, [ebp - 0x18]
call esi
test eax, eax
jne 0x409dd3
mov esi, dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::CompareNoCase_wchar_t_const__const]
push 0x437668
lea ecx, [ebp - 0x14]
call esi
test eax, eax
jne 0x409d65
mov dword [0x44f3d8], eax
jmp 0x409d97
push 0x437a54
lea ecx, [ebp - 0x14]
call esi
test eax, eax
jne 0x409d7f
mov dword [0x44f3d8], 1
jmp 0x409d97
push 0x437a58
lea ecx, [ebp - 0x14]
call esi
test eax, eax
jne 0x409dd3
mov dword [0x44f3d8], 2
lea ecx, [ebp - 0x18]
call dword [sym.imp.ouilibx.dll_public:_wchar_t_const____thiscall_OUI::COString::operator_wchar_t_const__void_const]
mov edx, eax
cmp word [edx], 0
jne 0x409dac
xor ecx, ecx
jmp 0x409dc0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409db1
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x44db20
call fcn.00403d00
mov edi, 1
jmp 0x409dd5
xor edi, edi
mov byte [ebp - 4], 0
mov esi, dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, edi
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.0042e0d6
mov esp, ebp
pop ebp
ret
Function at 0x416510
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x44c060]
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
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x44f390]
add esp, 0x18
test al, 1
jne 0x41657a
or eax, 1
push 0x434490
mov dword [0x44f390], eax
call fcn.0042e223
add esp, 4
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.00423650
push str.preference.ini
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41660c
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x41660c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416621
xor ecx, ecx
jmp 0x41663c
lea eax, [ebp - 0x61c]
push eax
push 0
push str.IsAskedUpade
push str.ScanEngine
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, eax
xor eax, eax
cmp ecx, 1
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.0042e0d6
mov esp, ebp
pop ebp
ret
Function at 0x416660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x44c060]
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
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x44f390]
add esp, 0x18
test al, 1
jne 0x4166ca
or eax, 1
push 0x434490
mov dword [0x44f390], eax
call fcn.0042e223
add esp, 4
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.00423650
push str.preference.ini
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41675c
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x41675c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
lea ecx, [ebp - 0x620]
push str.IsAskedUpade
push str.ScanEngine
call fcn.00426750
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0042e0d6
mov esp, ebp
pop ebp
ret 4
Function at 0x416790
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x44c060]
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
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x44f390]
add esp, 0x18
test al, 1
jne 0x4167fa
or eax, 1
push 0x434490
mov dword [0x44f390], eax
call fcn.0042e223
add esp, 4
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.00423650
push str.preference.ini
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41688c
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x41688c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4168c9
lea eax, [ebp - 0x61c]
push eax
push 0
push str.UpadeRef
push str.ScanEngine
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x4168c9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e0d6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0042e0d6
mov esp, ebp
pop ebp
ret
Function at 0x4168e0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x44c060]
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
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x44f390]
add esp, 0x18
test al, 1
jne 0x41694a
or eax, 1
push 0x434490
mov dword [0x44f390], eax
call fcn.0042e223
add esp, 4
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.00423650
push str.preference.ini
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4169dc
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4169dc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416a06
lea eax, [ebp - 0x61c]
push eax
push 0
push str.UpadeRef
push str.ScanEngine
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
push eax
push str.UpadeRef
push str.ScanEngine
lea ecx, [ebp - 0x620]
call fcn.00426750
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0042e0d6
mov esp, ebp
pop ebp
ret
Function at 0x416a30
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x44c060]
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
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x44f390]
add esp, 0x18
test al, 1
jne 0x416a9a
or eax, 1
push 0x434490
mov dword [0x44f390], eax
call fcn.0042e223
add esp, 4
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.00423650
push str.preference.ini
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416b2c
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x416b2c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416b71
lea eax, [ebp - 0x61c]
push eax
push 0
push str.UpadeRef
push str.ScanEngine
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x416b71
dec eax
push eax
push str.UpadeRef
push str.ScanEngine
lea ecx, [ebp - 0x620]
call fcn.00426750
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0042e0d6
mov esp, ebp
pop ebp
ret

Function at 0x417450
Capabilities:
Shutdown system

Disassembly:
mov eax, dword [0x450104]
push esi
mov esi, ecx
test al, 1
jne 0x417471
or eax, 1
push 0x434550
mov dword [0x450104], eax
call fcn.0042e223
add esp, 4
sub esp, 8
call fcn.00425460
test al, al
je 0x4174c1
mov eax, dword [0x450104]
test al, 1
jne 0x41749b
or eax, 1
push 0x434550
mov dword [0x450104], eax
call fcn.0042e223
add esp, 4
sub esp, 8
call fcn.00425460
test al, al
je 0x4174ba
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
test al, al
jne 0x4174cf
push str.RestartComputer_False.
jmp 0x4174c6
push str.GetShutdownPrivilege_False.
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
mov ecx, dword [esi + 0x48c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x220]
mov eax, 1
pop esi
ret
Function at 0x41dfd0
Capabilities:
Create directory

Disassembly:
push 0x208
xor eax, eax
push 0x44f408
push eax
mov dword [0x44f81c], 0
mov word [0x44f408], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x44f408
call dword [sym.imp.MSVCR110.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x41e00d
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, 0x44f408
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e015
push esi
push edi
mov edi, dword [sym.imp.MSVCR110.dll_wcscat_s]
sub ecx, edx
sar ecx, 1
mov esi, 0x208
mov eax, esi
sub eax, ecx
push 0x43e498
push eax
lea eax, [ecx*2 + 0x44f408]
push eax
call edi
add esp, 0xc
push 0
push 0x44f408
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, 0x44f408
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e060
sub ecx, edx
sar ecx, 1
mov eax, esi
sub eax, ecx
push 0x436f78
push eax
lea eax, [ecx*2 + 0x44f408]
push eax
call edi
mov ecx, 0x44f408
add esp, 0xc
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e090
sub ecx, edx
sar ecx, 1
push 0x437d3c
sub esi, ecx
lea eax, [ecx*2 + 0x44f408]
push esi
push eax
call edi
add esp, 0xc
push 0x41ddd0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
pop edi
mov dword [0x44f404], eax
mov dword [0x44f818], 1
mov al, 1
pop esi
ret

Function at 0x41e0e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
test edi, edi
je 0x41e186
test edx, edx
je 0x41e186
push ebx
mov ebx, dword [edi + 0x3c]
add ebx, edi
je 0x41e10b
lea eax, [ebx + 0x78]
test eax, eax
jne 0x41e113
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
add eax, edi
push esi
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
add ecx, edi
add esi, edi
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 4], esi
xor esi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x41e16a
lea esp, [esp]
movsx eax, word [ecx + esi*2]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push edx
mov eax, dword [eax + esi*4]
add eax, edi
push eax
call dword [sym.imp.MSVCR110.dll__stricmp]
add esp, 8
test eax, eax
je 0x41e173
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
inc esi
cmp esi, dword [ebp - 8]
jb 0x41e140
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
pop esi
mov eax, dword [ecx + eax*4]
add eax, dword [ebx + 0x34]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41e7e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44c060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.SoftwareiSafe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 1
xor bl, bl
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e84b
push edi
push esi
lea eax, [ebp - 8]
push eax
push 0
push str.path
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41e859
push eax
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.0042e0d6
mov esp, ebp
pop ebp
ret
Function at 0x420410
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432d86
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x44c060]
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]
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4205ba
push 8
push str._select_
lea ecx, [ebp - 0x24c]
call fcn.00403d00
push 1
push 0x438148
lea ecx, [ebp - 0x24c]
call fcn.0040b130
cmp word [esi], 0
jne 0x42049c
xor ecx, ecx
jmp 0x4204b0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4204a1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x24c]
call fcn.0040b130
push 1
push 0x438148
lea ecx, [ebp - 0x24c]
call fcn.0040b130
push 0
push 0x24
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x21c], ax
jne 0x42050c
xor ecx, ecx
jmp 0x420524
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420515
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00403d00
push 9
push str.explorer
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.0040b130
cmp dword [ebp - 0x238], 8
push 1
lea ecx, [ebp - 0x24c]
cmovae ecx, dword [ebp - 0x24c]
cmp dword [ebp - 0x220], 8
push 0
push ecx
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x220], 8
jb 0x42059d
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp dword [ebp - 0x238], 8
jb 0x4205d2
push dword [ebp - 0x24c]
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.0042e0d6
mov esp, ebp
pop ebp
ret 4
Function at 0x423650
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43301e
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x44c060]
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]
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
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x42371d
mov eax, dword [0x44f3c4]
test al, 1
jne 0x4236e0
or eax, 1
mov dword [0x44f3c4], eax
mov dword [ebp - 4], 0
call fcn.00423740
push 0x4344b0
call fcn.0042e223
add esp, 4
cmp dword [0x44f3c0], 8
mov eax, 0x44f3ac
cmovae eax, dword [0x44f3ac]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423719
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42371d
mov al, 1
jmp 0x42371f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e0d6
mov esp, ebp
pop ebp
ret 0xc