joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41182a
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 0x4119af
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 0x4118db
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 0x4118fb
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 0x4119ac
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 0x429804
push eax
call fcn.00402990
add esp, 0x1c
test eax, eax
je 0x4119ac
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.00402d59
pop ecx
test eax, eax
pop ecx
je 0x4119ac
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 + 0x68]
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 0x412048
Capabilities:
Check if file exists

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 8], ebx
cmp dword [edi + 0x18], ebx
jne 0x4120f4
call fcn.0040cf1f
cmp dword [eax + 8], 3
je 0x4120f4
push esi
mov esi, dword [esp + 0x14]
push esi
push 2
push 0x421750
mov ecx, edi
call fcn.004120fc
mov ecx, dword [esi + 4]
mov edi, 0x420
cmp ecx, ebx
je 0x4120a1
mov eax, dword [esi + 8]
sub eax, ecx
mov ecx, edi
cdq
idiv ecx
test eax, eax
je 0x4120a1
mov dword [esp + 0xc], 1
push ebp
mov dword [esp + 0x18], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4120d8
mov eax, dword [esi + 8]
mov ebp, edi
sub eax, ecx
cdq
idiv ebp
cmp dword [esp + 0x18], eax
jae 0x4120d8
lea eax, [ebx + ecx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4120d3
inc dword [esp + 0x18]
add ebx, edi
jmp 0x4120a6
and dword [esp + 0x10], 0
cmp dword [esp + 0x10], 0
pop ebp
jne 0x4120ed
push dword [esi + 8]
mov ecx, esi
push dword [esi + 4]
call fcn.004139ed
mov eax, dword [esp + 0xc]
pop esi
jmp 0x4120f6
xor eax, eax
pop edi
pop ebx
pop ecx
ret 4
Function at 0x41243a
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.00413614
mov eax, dword [esi + 0x18]
push 4
test eax, eax
pop edi
je 0x4124f5
cmp eax, edi
je 0x4124f5
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 0x4124ae
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 0x4125df
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 0x4125df
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.0040383d
pop ecx
test eax, eax
pop ecx
je 0x41259b
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 0x4125a1
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 8]
xor eax, eax
push 4
cmp dword [ecx + 0x18], 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.0040cf1f
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.0040e378
mov ecx, eax
call fcn.0040f0ab
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 0x412827
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 0x412896
cmp word [esi], dx
je 0x412896
cmp dword [ecx + 0x14], 8
jge 0x412896
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 0x412899
push 1
pop eax
pop esi
leave
ret 4

Function at 0x412c0a
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 0x412c87
cmp word [ecx], si
je 0x412c87
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 0x412c83
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x14
pop ecx
call fcn.0041fce0
cmp eax, dword [ebp + 0xc]
jbe 0x412c83
push 1
pop esi
mov eax, esi
jmp 0x412c89
xor eax, eax
pop esi
leave
ret 8
Function at 0x412c8e
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 0x412e22
cmp word [eax], bx
je 0x412e22
cmp dword [ecx + 0x14], 8
jl 0x412e22
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 0x4260b8
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.00412e29
test eax, eax
jne 0x412e19
lea eax, [ebp - 0x104]
push edi
push eax
mov ecx, esi
call fcn.00412e29
test eax, eax
jne 0x412e19
lea eax, [ebp - 0x184]
push edi
push eax
mov ecx, esi
call fcn.00412e29
test eax, eax
jne 0x412e19
lea eax, [ebp - 0x84]
push edi
push eax
mov ecx, esi
call fcn.00412e29
test eax, eax
je 0x412e1c
lea eax, [ebp - 0x594]
push edi
push eax
mov ecx, esi
call fcn.00412e29
test eax, eax
jne 0x412e1c
push 1
pop ebx
pop edi
mov eax, ebx
pop esi
jmp 0x412e24
xor eax, eax
pop ebx
leave
ret 4
Function at 0x412ed7
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x208
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, 0x81
mov ebx, dword [ebp + 0x20]
lea edi, [esp + 0x12]
neg ebx
sbb ebx, ebx
and word [esp + 0x10], 0
xor eax, eax
add ebx, reloc.OLEAUT32.dll_SysReAllocString
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x7c]
test eax, eax
jne 0x412f11
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 str.InstallerUninst.exe
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallC5E2255C_66FA_4187_8EB6_5176247C4723
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edi, 0x4297bc
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push str.DisplayName
push esi
push ebx
call edi
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp + 0x90]
test ecx, ecx
jne 0x412f67
mov ecx, 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]
add eax, eax
push eax
push ecx
push 1
push str.DisplayIcon
push esi
push ebx
call edi
mov eax, dword [ebp + 0x50]
mov ebp, dword [ebp + 0x4c]
test ebp, ebp
jne 0x412f86
mov ebp, 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]
add eax, eax
push eax
push ebp
push 1
push str.DisplayVersion
push esi
push ebx
call edi
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x429af8
call ebp
pop ecx
shl eax, 1
push eax
push 0x429af8
push 1
push str.Publisher
push esi
push ebx
call edi
push str.http:__www.123juzi.com_
call ebp
pop ecx
shl eax, 1
push eax
push str.http:__www.123juzi.com_
push 1
push str.HelpLink
push esi
push ebx
call edi
lea eax, [esp + 0x10]
push eax
call ebp
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x14]
push eax
push 1
push str.UninstallString
push esi
push ebx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x412ff7
Capabilities:
Delete registry key
Persist via app paths registry key
Set registry value

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathshao123JuziBrowser.exe
push ebx
mov esi, dword [edi + 0x20]
neg esi
sbb esi, esi
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [edi + 0x8c]
mov eax, dword [edi + 0x90]
test ecx, ecx
jne 0x41302d
mov ecx, 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]
mov ebp, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add eax, eax
push eax
push ecx
push 1
push 0x42a560
push ebx
push esi
call ebp
mov eax, dword [edi + 0x80]
mov edi, dword [edi + 0x7c]
test edi, edi
jne 0x413055
mov edi, 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]
add eax, eax
push eax
push edi
push 1
push str.Path
push ebx
push esi
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x413292
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push 1
cmp dword [esi + 0x24], edi
pop eax
je 0x4132b3
cmp dword [esi + 0x14], 9
mov dword [ebp - 4], eax
jge 0x4132b6
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
mov ebx, dword [esi + 0x28]
jne 0x4132c4
cmp ebx, edi
jne 0x4132e4
jmp 0x41333f
mov eax, dword [esi + 0x8c]
cmp eax, edi
jne 0x4132d3
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
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsShellMuiCache
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov word [ebp - 0x20c], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push ebx
push dword [ebp - 4]
stosw word es:[edi], ax
push str.__class3___dword1___atb_d___defb_d
lea eax, [ebp - 0x20c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esi + 0x8c]
add esp, 0x14
test eax, eax
jne 0x413329
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]
add esi, 0x10
lea ecx, [ebp - 0x20c]
push esi
push 0
push ecx
push eax
call fcn.00402231
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413375
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x413387
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
je 0x4133bb
mov eax, dword [esi + 0x5c]
mov ecx, 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]
test eax, eax
jne 0x4133a1
mov eax, ecx
mov esi, dword [esi + 0x8c]
test esi, esi
jne 0x4133ad
mov esi, ecx
push 0
push 0
push eax
push esi
call fcn.00402231
add esp, 0x10
pop esi
ret
Function at 0x413614
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
and word [ebp - 0x88], 0
push ebx
push esi
push edi
mov ebx, ecx
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x86]
mov esi, str.Softwarehao123JuziBrowser
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov edi, 0x428f44
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push SysReAllocString
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x7e
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41367e
cmp word [ebp - 0x88], ax
jne 0x413711
push 0x80
lea eax, [ebp - 0x88]
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 - 0x88]
push eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4136cb
cmp word [ebp - 0x88], ax
jne 0x413711
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
test ecx, ecx
jne 0x4136db
mov ecx, 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]
add eax, eax
push eax
push ecx
push 1
push edi
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebx + 0x40]
mov ebx, dword [ebx + 0x3c]
test ebx, ebx
jne 0x4136fe
mov ebx, 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]
add eax, eax
push eax
push ebx
push 1
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413716
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 0x80]
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
jne 0x413729
mov ecx, 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]
add eax, eax
push eax
push ecx
push 1
push str.lastinstpath
push str.Softwarehao123JuziBrowser
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
ret
Function at 0x413cf1
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12f4
call fcn.0041fa70
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x413e7e
cmp dword [ebp + 0xc], esi
je 0x413e7e
cmp dword [ebp + 0x10], esi
je 0x413e7e
cmp dword [ebp + 0x14], esi
je 0x413e7e
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.misctsk
push str.Softwarehao123JuziBrowser
push 0x427880
lea eax, [ebp - 0x294]
push 0x103
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x294]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 4
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x413d85
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0x40
jae 0x413e7e
push edi
mov ecx, 0x417
xor eax, eax
lea edi, [ebp - 0x12f0]
push dword [ebp + 0x10]
mov esi, 0x1060
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x18]
push 0x4260b8
mov dword [ebp - 0x12f0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x12ec], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x12e8], eax
lea eax, [ebp - 0x12e4]
push 0x823
push eax
mov dword [ebp - 0x12f4], esi
call ebx
and dword [ebp - 0x29c], 0
lea eax, [ebp - 0x12f4]
push esi
push eax
call fcn.00404aa9
mov dword [ebp - 0x298], eax
push 0x7bd3b105
lea eax, [ebp - 0x12f4]
push esi
push eax
call fcn.00413ea0
and word [ebp - 0x8c], 0
add esp, 0x24
xor eax, eax
lea edi, [ebp - 0x8a]
push 0x1f
pop ecx
push dword [ebp - 4]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
stosw word es:[edi], ax
push str._s_d
lea eax, [ebp - 0x8c]
push 0x3f
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x12f4]
mov edi, SysReAllocString
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
lea eax, [ebp - 0x8c]
push 3
push eax
lea eax, [ebp - 0x294]
push eax
push edi
call esi
lea eax, [ebp - 4]
push 4
inc dword [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x294]
push dword [ebp + 0xc]
push eax
push edi
call esi
push 1
pop eax
pop edi
jmp 0x413e80
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x413ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x413f2a
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x413f2a
mov eax, dword [ebp + 0x10]
push 4
mov dword [ebp - 8], eax
mov eax, ebx
cdq
pop esi
mov ecx, ebx
idiv esi
mov eax, ebx
and ecx, 0x1f
sub eax, edx
mov dword [ebp - 4], edx
test eax, eax
jle 0x413f0d
mov dword [ebp + 0xc], ecx
lea esi, [eax + 3]
sub dword [ebp + 0xc], edi
shr esi, 2
lea eax, [ebp - 8]
push eax
call fcn.00413e84
pop ecx
add eax, 0x67183d
mov ecx, dword [ebp + 0xc]
add ecx, edi
and ecx, 0x1f
xor eax, dword [ecx*4 + 0x429e98]
xor eax, dword [edi]
xor eax, 0xd6312bda
mov dword [edi], eax
add edi, 4
dec esi
jne 0x413ee0
xor esi, esi
cmp dword [ebp - 4], esi
jle 0x413f2a
mov eax, esi
mov cl, byte [ebp + 0x10]
sub eax, dword [ebp - 4]
add eax, dword [ebp + 8]
xor byte [eax + ebx], cl
add eax, ebx
inc esi
cmp esi, dword [ebp - 4]
jl 0x413f14
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413fe8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push ecx
push 0x414013
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x414011
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x4149fb
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
dec eax
je 0x414a12
dec eax
jne 0x414a29
push 1
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x414a29
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00414be3
mov ecx, eax
call fcn.00415481
xor eax, eax
ret 0x10