joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412024
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 0x4121a9
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 0x4120d5
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 0x4120f5
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 0x4121a6
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 0x42b864
push eax
call fcn.00402990
add esp, 0x1c
test eax, eax
je 0x4121a6
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.00402d59
pop ecx
test eax, eax
pop ecx
je 0x4121a6
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 0x412842
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 0x4128ee
call fcn.0040d52a
cmp dword [eax + 8], 3
je 0x4128ee
push esi
mov esi, dword [esp + 0x14]
push esi
push 2
push 0x423770
mov ecx, edi
call fcn.004128f6
mov ecx, dword [esi + 4]
mov edi, 0x420
cmp ecx, ebx
je 0x41289b
mov eax, dword [esi + 8]
sub eax, ecx
mov ecx, edi
cdq
idiv ecx
test eax, eax
je 0x41289b
mov dword [esp + 0xc], 1
push ebp
mov dword [esp + 0x18], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4128d2
mov eax, dword [esi + 8]
mov ebp, edi
sub eax, ecx
cdq
idiv ebp
cmp dword [esp + 0x18], eax
jae 0x4128d2
lea eax, [ebx + ecx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4128cd
inc dword [esp + 0x18]
add ebx, edi
jmp 0x4128a0
and dword [esp + 0x10], 0
cmp dword [esp + 0x10], 0
pop ebp
jne 0x4128e7
push dword [esi + 8]
mov ecx, esi
push dword [esi + 4]
call fcn.00414a0f
mov eax, dword [esp + 0xc]
pop esi
jmp 0x4128f0
xor eax, eax
pop edi
pop ebx
pop ecx
ret 4
Function at 0x412c34
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 - 0xc], esi
call fcn.0041414b
mov eax, dword [esi + 0x18]
push 4
test eax, eax
pop edi
je 0x412cef
cmp eax, edi
je 0x412cef
lea eax, [ebp - 0x18]
and dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov esi, str.Softwarehao123JuziBrowser
push str.firstrun
mov ebx, SysReAllocString
push esi
push ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x412ca8
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 - 0xc]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push str.favimport
push esi
push ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x412df6
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push edi
push eax
push edi
push str.favimport
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x412df6
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.00403cf6
pop ecx
test eax, eax
pop ecx
je 0x412d95
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 0x412d9b
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0xc]
xor eax, eax
push 4
cmp dword [ecx + 0x18], eax
sete al
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push str.favimport
push esi
push ebx
call edi
call fcn.0040d52a
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 0
call dword [sym.imp.MSVCRT.dll_time]
pop ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
push str.insttm
push esi
push ebx
call edi
push 4
pop edi
call fcn.0040eae2
mov ecx, eax
call fcn.0040f815
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 0x41303e
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 0x4130ad
cmp word [esi], dx
je 0x4130ad
cmp dword [ecx + 0x14], 8
jge 0x4130ad
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 0x4130b0
push 1
pop eax
pop esi
leave
ret 4

Function at 0x41344c
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 0x4134c9
cmp word [ecx], si
je 0x4134c9
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 0x4134c5
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x14
pop ecx
call fcn.00421080
cmp eax, dword [ebp + 0xc]
jbe 0x4134c5
push 1
pop esi
mov eax, esi
jmp 0x4134cb
xor eax, eax
pop esi
leave
ret 8
Function at 0x4134d0
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 0x413664
cmp word [eax], bx
je 0x413664
cmp dword [ecx + 0x14], 8
jl 0x413664
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 0x4280b8
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.0041366b
test eax, eax
jne 0x41365b
lea eax, [ebp - 0x104]
push edi
push eax
mov ecx, esi
call fcn.0041366b
test eax, eax
jne 0x41365b
lea eax, [ebp - 0x184]
push edi
push eax
mov ecx, esi
call fcn.0041366b
test eax, eax
jne 0x41365b
lea eax, [ebp - 0x84]
push edi
push eax
mov ecx, esi
call fcn.0041366b
test eax, eax
je 0x41365e
lea eax, [ebp - 0x594]
push edi
push eax
mov ecx, esi
call fcn.0041366b
test eax, eax
jne 0x41365e
push 1
pop ebx
pop edi
mov eax, ebx
pop esi
jmp 0x413666
xor eax, eax
pop ebx
leave
ret 4
Function at 0x413719
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 0x413753
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, 0x42b81c
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 0x4137a9
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 0x4137c8
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 0x42bb80
call ebp
pop ecx
shl eax, 1
push eax
push 0x42bb80
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 0x413839
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 0x41386f
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 0x42c880
push ebx
push esi
call ebp
mov eax, dword [edi + 0x80]
mov edi, dword [edi + 0x7c]
test edi, edi
jne 0x413897
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 0x413c47
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x413c59
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 0x413c8d
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 0x413c73
mov eax, ecx
mov esi, dword [esi + 0x8c]
test esi, esi
jne 0x413c7f
mov esi, ecx
push 0
push 0
push eax
push esi
call fcn.00402231
add esp, 0x10
pop esi
ret
Function at 0x41414b
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, 0x42af4c
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 0x4141b5
cmp word [ebp - 0x88], ax
jne 0x414248
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 0x414202
cmp word [ebp - 0x88], ax
jne 0x414248
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
test ecx, ecx
jne 0x414212
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 0x414235
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 0x41424d
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 0x80]
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
jne 0x414260
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 0x414d13
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12f4
call fcn.00420e10
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x414ea0
cmp dword [ebp + 0xc], esi
je 0x414ea0
cmp dword [ebp + 0x10], esi
je 0x414ea0
cmp dword [ebp + 0x14], esi
je 0x414ea0
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.misctsk
push str.Softwarehao123JuziBrowser
push 0x42986c
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 0x414da7
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0x40
jae 0x414ea0
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 0x4280b8
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.00414f51
mov dword [ebp - 0x298], eax
push 0x7bd3b105
lea eax, [ebp - 0x12f4]
push esi
push eax
call fcn.00414ec2
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 0x414ea2
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x414ec2
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 0x414f4c
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x414f4c
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 0x414f2f
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.00414ea6
pop ecx
add eax, 0x67183d
mov ecx, dword [ebp + 0xc]
add ecx, edi
and ecx, 0x1f
xor eax, dword [ecx*4 + 0x42c06c]
xor eax, dword [edi]
xor eax, 0xd6312bda
mov dword [edi], eax
add edi, 4
dec esi
jne 0x414f02
xor esi, esi
cmp dword [ebp - 4], esi
jle 0x414f4c
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 0x414f36
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414f51
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x414fda
cmp dword [ebp + 0xc], esi
je 0x414fda
mov edx, 0xff
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x3fc]
mov dword [ebp - 0x400], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x400]
push 8
mov ecx, esi
pop edi
test cl, 1
je 0x414f9c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x414f9e
shr ecx, 1
dec edi
jne 0x414f8d
mov dword [eax], ecx
inc esi
add eax, 4
cmp esi, 0x100
jb 0x414f88
xor ecx, ecx
or eax, 0xffffffff
cmp dword [ebp + 0xc], ecx
jbe 0x414fd5
movzx esi, byte [ecx + ebx]
mov edi, eax
and edi, edx
xor esi, edi
shr eax, 8
mov esi, dword [ebp + esi*4 - 0x400]
xor eax, esi
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x414fb9
not eax
pop edi
jmp 0x414fdc
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x415099
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 0x4150c4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4150c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x415aac
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
dec eax
je 0x415ac3
dec eax
jne 0x415ada
push 1
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x415ada
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00415ce2
mov ecx, eax
call fcn.00411f09
xor eax, eax
ret 0x10