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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40abae
cmp dword [ebp + 0xc], ebx
je 0x40abae
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push str.hao123Juzi.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
test eax, eax
je 0x40abaa
lea eax, [ebp - 0x208]
push eax
push 0x4220a0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop ebx
mov eax, ebx
jmp 0x40abb0
xor eax, eax
pop ebx
leave
ret 8

Function at 0x40abb5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40ac34
cmp dword [ebp + 0xc], esi
je 0x40ac34
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
pop edi
je 0x40ac30
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Uninst.exe
lea eax, [ebp - 0x208]
push str.hao123JuziBrowser
push eax
push str._s_s_s
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
push 1
pop esi
mov eax, esi
jmp 0x40ac36
xor eax, eax
pop esi
leave
ret 8
Function at 0x40b005
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40b08c
cmp dword [ebp + 0xc], esi
je 0x40b08c
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], si
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
push str._uppath:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402abe
add esp, 0x10
test eax, eax
pop edi
je 0x40b088
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b088
lea eax, [ebp - 0x208]
push eax
push 0x4220a0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop esi
mov eax, esi
jmp 0x40b08e
xor eax, eax
pop esi
leave
ret 8

Function at 0x40b181
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push 1
lea eax, [ebp - 4]
pop esi
push eax
push str._nadmin:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402b6c
add esp, 0xc
test eax, eax
je 0x40b1ab
xor esi, esi
mov eax, esi
pop esi
leave
ret

Function at 0x40b1b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push esi
push 0x40b1e0
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x40b1d4
push 1
pop esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret
Function at 0x40bb52
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x40
lea eax, [esi + 0x10]
push eax
call fcn.0040cdc1
lea eax, [ebp - 4]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [esi + 0x90]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov ebx, SysReAllocString
push str.Softwarehao123JuziBrowser
push ebx
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x7e
call edi
lea eax, [ebp - 4]
add esi, 0x110
push eax
lea eax, [ebp - 8]
push esi
push eax
push str.umid
push str.Softwarehao123JuziBrowser
push ebx
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x7e
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40cc86
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 0xc], esi
je 0x40cdba
cmp dword [ebp + 0xc], esi
je 0x40cdba
push ebx
push edi
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x8e]
mov word [ebp - 0x90], si
cmp dword [ebp + 0x10], esi
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 1
stosw word es:[edi], ax
pop edi
mov dword [ebp - 4], 0x7e
mov dword [ebp - 8], edi
jne 0x40cd08
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 8]
push eax
push 0x424a2c
push str.Softwarehao123JuziBrowser
push SysReAllocString
call ebx
test eax, eax
jne 0x40cd08
cmp word [ebp - 0x90], si
jne 0x40cd95
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x10], eax
push ecx
push esi
push eax
push 0x40cc10
push esi
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x493e0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40cd83
push 0x80
lea eax, [ebp - 0x90]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0x7e
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 8]
push eax
push 0x424a2c
push str.Softwarehao123JuziBrowser
push SysReAllocString
call ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x90], si
je 0x40cdb3
lea eax, [ebp - 0x90]
push eax
push 0x4220a0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
jmp 0x40cdbc
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x40cdc1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push 1
xor eax, eax
cmp dword [ebp + 8], eax
pop edx
mov dword [ebp - 0xc], edx
je 0x40ceac
cmp dword [ebp + 0xc], eax
je 0x40ceac
push ebx
push esi
push edi
push 0x1f
pop ecx
lea edi, [ebp - 0x8a]
mov word [ebp - 0x8c], ax
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov ebx, 0x4238bc
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 4]
push eax
mov edi, str.Softwarehao123JuziBrowser
push ebx
push edi
push SysReAllocString
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0x7e
call esi
test eax, eax
jne 0x40ce3a
cmp word [ebp - 0x8c], ax
jne 0x40ce89
push 0x80
lea eax, [ebp - 0x8c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x7e
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x40ce83
cmp word [ebp - 0x8c], ax
jne 0x40ce89
and dword [ebp - 0xc], 0
jmp 0x40cea4
lea eax, [ebp - 0x8c]
push eax
push 0x4220a0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
jmp 0x40ceae
mov eax, edx
leave
ret 8
Function at 0x40ceb2
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov ecx, str.Path
push ebx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x58], ecx
mov eax, reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
mov ecx, str.UninstallString
push esi
push edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x64], 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x50], 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], str.SoftwareMicrosoftWindowsCurrentVersionUninstallQQPCMgr
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], str.QQPCMgr.exe
mov byte [ebp - 0x3c], 2
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], str.BaiduAn.exe
mov byte [ebp - 0x28], 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], str.SoftwareMicrosoftWindowsCurrentVersionUninstallKingsoft_Internet_Security
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], str.kismain.exe
mov byte [ebp - 0x14], 8
mov byte [ebp - 1], bl
lea esi, [ebp - 0x70]
mov dword [ebp - 8], 5
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x27e]
mov word [ebp - 0x280], bx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 1
push dword [esi + 4]
push dword [esi]
push dword [esi - 4]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40cfd3
cmp word [ebp - 0x280], bx
je 0x40cfd3
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x40cfbc
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x280]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40cfd3
mov al, byte [esi + 0xc]
or byte [ebp - 1], al
add esi, 0x14
dec dword [ebp - 8]
jne 0x40cf4c
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40cfe7
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x46
pop ecx
xor eax, eax
lea edi, [ebp - 0x13c]
mov dword [ebp - 0x140], 0x11c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x140]
push eax
call esi
test eax, eax
jne 0x40d037
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x114
push eax
call esi
test eax, eax
je 0x40d0d0
mov eax, dword [ebp - 0x130]
xor ecx, ecx
sub eax, ecx
je 0x40d0d0
dec eax
je 0x40d0d0
dec eax
jne 0x40d0d0
cmp dword [ebp - 0x13c], 6
jne 0x40d07b
mov eax, dword [ebp - 0x138]
cmp eax, 2
je 0x40d06a
cmp eax, 3
jne 0x40d06e
mov al, 3
jmp 0x40d0d2
cmp eax, 1
je 0x40d077
cmp eax, ecx
jne 0x40d0d0
mov al, 2
jmp 0x40d0d2
cmp dword [ebp - 0x13c], 5
jne 0x40d0d0
cmp dword [ebp - 0x138], 2
jne 0x40d0c5
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x40d0d0
cmp byte [ebp - 0x26], 1
jne 0x40d0d0
cmp word [ebp - 0x24], 9
jne 0x40d0d0
mov al, 1
jmp 0x40d0d2
cmp dword [ebp - 0x138], 1
mov al, 1
je 0x40d0d2
mov al, 4
pop edi
pop esi
leave
ret

Function at 0x40d14c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
and word [ebp - 0x294], 0
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x292]
rep stosd dword es:[edi], eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 4]
push eax
push 0x424a2c
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push SysReAllocString
mov dword [ebp - 8], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40d235
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d235
and word [ebp - 0x88], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x86]
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00401120
add esp, 0xc
test eax, eax
je 0x40d235
mov esi, dword [sym.imp.MSVCRT.dll_wcschr]
lea eax, [ebp - 0x88]
push 0x2e
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x40d235
add eax, 2
push 0x2e
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x40d235
and word [eax], 0
lea eax, [ebp - 0x88]
push eax
push 0x4220a0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop eax
jmp 0x40d237
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x40e129
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x68]
cmp eax, edi
jne 0x40e13b
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e151
mov ecx, esi
call fcn.0040e22b
test eax, eax
je 0x40e17d
mov ecx, esi
call fcn.0040e3b5
test eax, eax
je 0x40e194
mov ecx, esi
call fcn.0040ec34
cmp dword [esi + 0x28], edi
je 0x40e16f
mov ecx, esi
call fcn.0040fb69
push 3
mov ecx, esi
call fcn.0041159d
push 1
pop edi
jmp 0x40e1a9
push 1
mov ecx, esi
call fcn.0041159d
call fcn.0040b50b
mov dword [eax + 0xc], 0x68
jmp 0x40e19d
push 2
mov ecx, esi
call fcn.0041159d
call fcn.004104e1
mov ecx, eax
call fcn.00410671
mov eax, edi
pop edi
pop esi
ret
Function at 0x40e22b
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x694
and word [ebp - 0x694], 0
push ebx
push esi
mov dword [ebp - 8], ecx
mov ebx, 0x81
push edi
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x692]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x694]
mov esi, 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40e3b0
and word [ebp - 0x284], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x282]
rep stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x40e2dc
and word [ebp - 0x7c], ax
push 0x18
pop ecx
lea edi, [ebp - 0x7a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x7c]
push 0x32
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x40e2fc
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x694]
push str.JuziBrowser
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x284]
push eax
call fcn.004014a3
test eax, eax
pop ecx
je 0x40e3ad
and word [ebp - 0x48c], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x48a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
push eax
push str._sdhres.tmp
lea eax, [ebp - 0x48c]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x84
lea eax, [ebp - 0x48c]
push 0x423e9c
push eax
call fcn.0040297d
add esp, 0x1c
test eax, eax
je 0x40e3ad
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.00402d46
pop ecx
test eax, eax
pop ecx
je 0x40e3ad
lea eax, [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x284]
push eax
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x64]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ec34
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
call fcn.0040fe06
mov eax, dword [esi + 0x14]
push 4
test eax, eax
pop edi
je 0x40ecef
cmp eax, edi
je 0x40ecef
lea eax, [ebp - 0x18]
and dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov esi, str.Softwarehao123JuziBrowser
push str.firstrun
mov ebx, SysReAllocString
push esi
push ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x40eca8
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push edi
push eax
push edi
push str.firstrun
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 8]
and dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push str.favimport
push esi
push ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x40edd9
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push edi
push eax
push edi
push str.favimport
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x40edd9
lea eax, [ebp - 0x10]
push edi
push eax
push edi
mov esi, str.Softwarehao123JuziBrowser
push str.firstrun
mov ebx, SysReAllocString
push esi
push ebx
mov dword [ebp - 0x10], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
and word [ebp - 0x224], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x224]
push 0x103
push eax
call fcn.0040382a
pop ecx
test eax, eax
pop ecx
je 0x40ed95
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
lea eax, [ebp - 0x224]
push eax
push 1
push str.lastdefbrowser
push esi
push ebx
call edi
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [ebp - 0x224]
push eax
push 1
push str.lastdefbrowser
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
jmp 0x40ed9b
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 8]
xor eax, eax
push 4
cmp dword [ecx + 0x14], eax
sete al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push str.favimport
push esi
push ebx
call edi
call fcn.0040a0c6
mov eax, dword [eax + 0xc]
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 4
push str.sltinst
push esi
push ebx
call edi
push 4
pop edi
call fcn.0040b50b
mov ecx, eax
call fcn.0040bbc8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push edi
push eax
push edi
push str.lastinsttype
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f021
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [ebp + 8]
xor edx, edx
cmp esi, edx
je 0x40f090
cmp word [esi], dx
je 0x40f090
cmp dword [ecx + 0x10], 8
jge 0x40f090
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], dx
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push 0x28
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
push eax
lea eax, [ebp - 0x208]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0x10
neg eax
sbb eax, eax
pop edi
inc eax
jmp 0x40f093
push 1
pop eax
pop esi
leave
ret 4

Function at 0x40f404
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
cmp ecx, esi
je 0x40f481
cmp word [ecx], si
je 0x40f481
push edi
xor eax, eax
lea edi, [ebp - 0x22]
mov word [ebp - 0x24], si
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 3
lea eax, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 8], esi
stosd dword es:[edi], eax
lea edi, [ebp - 4]
add esp, 0xc
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
pop edi
je 0x40f47d
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x14
pop ecx
call fcn.0041c0b0
cmp eax, dword [ebp + 0xc]
jbe 0x40f47d
push 1
pop esi
mov eax, esi
jmp 0x40f483
xor eax, eax
pop esi
leave
ret 8
Function at 0x40f488
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x594
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 4], ecx
cmp eax, ebx
je 0x40f61c
cmp word [eax], bx
je 0x40f61c
cmp dword [ecx + 0x10], 8
jl 0x40f61c
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x38a]
mov word [ebp - 0x38c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x38c]
push 0x24
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x102]
mov word [ebp - 0x104], bx
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebp - 0x38c]
push eax
push str._c:Program_Files
lea eax, [ebp - 0x104]
push 0x3f
push eax
call esi
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x182]
mov word [ebp - 0x184], bx
push 0x1f
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebp - 0x38c]
push eax
push str._c:Program_Files__x86_
lea eax, [ebp - 0x184]
push 0x3f
push eax
call esi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x592]
mov word [ebp - 0x594], bx
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x594]
push 0x28
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x82]
mov word [ebp - 0x84], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x594]
push eax
push 0x4220a0
lea eax, [ebp - 0x84]
push 0x3f
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x38c]
push edi
push eax
mov ecx, esi
call fcn.0040f623
test eax, eax
jne 0x40f613
lea eax, [ebp - 0x104]
push edi
push eax
mov ecx, esi
call fcn.0040f623
test eax, eax
jne 0x40f613
lea eax, [ebp - 0x184]
push edi
push eax
mov ecx, esi
call fcn.0040f623
test eax, eax
jne 0x40f613
lea eax, [ebp - 0x84]
push edi
push eax
mov ecx, esi
call fcn.0040f623
test eax, eax
je 0x40f616
lea eax, [ebp - 0x594]
push edi
push eax
mov ecx, esi
call fcn.0040f623
test eax, eax
jne 0x40f616
push 1
pop ebx
pop edi
mov eax, ebx
pop esi
jmp 0x40f61e
xor eax, eax
pop ebx
leave
ret 4