joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f6d1
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 + 0x1c]
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 + 0x78]
test eax, eax
jne 0x40f70b
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, 0x423e54
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 + 0x88]
mov eax, dword [ebp + 0x8c]
test ecx, ecx
jne 0x40f761
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 + 0x4c]
mov ebp, dword [ebp + 0x48]
test ebp, ebp
jne 0x40f780
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 0x42419c
call ebp
pop ecx
shl eax, 1
push eax
push 0x42419c
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 0x40f7f1
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 + 0x1c]
neg esi
sbb esi, esi
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [edi + 0x88]
mov eax, dword [edi + 0x8c]
test ecx, ecx
jne 0x40f827
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 0x424a2c
push ebx
push esi
call ebp
mov eax, dword [edi + 0x7c]
mov edi, dword [edi + 0x78]
test edi, edi
jne 0x40f84c
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 0x40fa89
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 + 0x20], edi
pop eax
je 0x40faaa
cmp dword [esi + 0x10], 9
mov dword [ebp - 4], eax
jge 0x40faad
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
mov ebx, dword [esi + 0x24]
jne 0x40fabb
cmp ebx, edi
jne 0x40fadb
jmp 0x40fb33
mov eax, dword [esi + 0x88]
cmp eax, edi
jne 0x40faca
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 esi, dword [esi + 0x88]
add esp, 0x14
test esi, esi
jne 0x40fb21
mov esi, 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]
lea eax, [ebp - 0x20c]
push 0
push eax
push esi
call fcn.00402231
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40fb69
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x40fb7b
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 0x40fbad
mov eax, dword [esi + 0x58]
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 0x40fb95
mov eax, ecx
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x40fba1
mov esi, ecx
push 0
push eax
push esi
call fcn.00402231
add esp, 0xc
pop esi
ret
Function at 0x40fe06
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, 0x4238bc
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 0x40fe70
cmp word [ebp - 0x88], ax
jne 0x40ff03
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 0x40febd
cmp word [ebp - 0x88], ax
jne 0x40ff03
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x3c]
test ecx, ecx
jne 0x40fecd
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 + 0x3c]
mov ebx, dword [ebx + 0x38]
test ebx, ebx
jne 0x40fef0
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 0x40ff08
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
test ecx, ecx
jne 0x40ff18
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 0x410516
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 0x410541
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41053f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x410e5a
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
dec eax
je 0x410e71
dec eax
jne 0x410e88
push 1
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x410e88
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00411042
mov ecx, eax
call fcn.0041180c
xor eax, eax
ret 0x10
Function at 0x41165b
Capabilities:
Delete directory
Set file attributes

Disassembly:
push esi
push edi
mov esi, ecx
mov edi, 0x41d6e0
push dword [edi + 4]
mov ecx, esi
push dword [edi]
call fcn.004118b2
add edi, 8
cmp edi, 0x41d700
jb 0x411664
cmp dword [esi + 0x14], 0
jne 0x4116d2
push 1
push str.User_Data
mov ecx, esi
call fcn.004118b2
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x41169b
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_PathIsDirectoryEmptyW]
test eax, eax
je 0x4116d2
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x4116b2
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 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [esi + 0x30]
test esi, esi
jne 0x4116cb
mov esi, 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 esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
ret

Function at 0x4116d5
Capabilities:
Delete registry key
Persist via app paths registry key
Set registry value

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov esi, dword [ebx + 0x18]
mov ebp, reloc.OLEAUT32.dll_SysReAllocString
neg esi
sbb esi, esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esi, ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallC5E2255C_66FA_4187_8EB6_5176247C4723
push esi
call edi
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathshao123JuziBrowser.exe
push esi
call edi
mov esi, str.Softwarehao123JuziBrowser
push esi
push SysReAllocString
call edi
push esi
push ebp
call edi
cmp dword [ebx + 0x14], 0
je 0x41173d
mov eax, dword [ebx + 0x34]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
jne 0x411726
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 str.lastinstpath
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41183b
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 0x4118aa
cmp word [esi], dx
je 0x4118aa
cmp dword [ecx + 0x10], 8
jge 0x4118aa
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 0x4118ad
push 1
pop eax
pop esi
leave
ret 4
Function at 0x411943
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
and word [ebp - 0x62c], 0
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x62a]
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x62c]
push eax
call fcn.0040135e
pop ecx
test eax, eax
pop ecx
je 0x411aa1
mov eax, dword [esi + 0xa0]
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
mov dword [ebp - 0x14], ecx
je 0x41199a
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4119aa
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x4119b7
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x90]
mov dword [ebp - 8], ecx
test eax, eax
je 0x4119c7
mov dword [ebp - 8], eax
push ebx
lea ebx, [ebp - 0x14]
mov dword [ebp - 4], 4
and word [ebp - 0x21c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
push str.Internet_Explorer.lnk
push dword [ebx]
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411a94
and word [ebp - 0x424], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x424]
push 0x103
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00401dcd
add esp, 0xc
test eax, eax
je 0x411a94
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x411a58
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
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x411a94
lea eax, [ebp - 0x21c]
push eax
call fcn.00401a3c
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x21c]
push 0
push eax
lea eax, [ebp - 0x62c]
push eax
call fcn.00401c99
add esp, 0x18
add ebx, 4
dec dword [ebp - 4]
jne 0x4119d2
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4139d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x413a69
lea ecx, [esi + 0x10]
push 0x42476c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x413a69
push ebp
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x413a62
push ebp
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x413a62
mov dword [esi + 0x230], eax
push 0x10
mov dword [esi + 0x22c], edi
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x413a5a
and dword [edi + 4], 0
lea eax, [edi + 4]
push eax
lea eax, [esi + 0x220]
push eax
mov dword [edi], 0x41d8bc
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [edi + 8], eax
jmp 0x413a5c
xor edi, edi
mov dword [esi + 0x21c], edi
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esi + 0x21c]
lea edi, [esi + 0x21c]
xor ebx, ebx
cmp ecx, ebx
mov dword [esi + 0xc], ebx
mov word [esi + 0x10], bx
je 0x413a9e
call fcn.004145f6
mov ecx, dword [edi]
mov dword [esi + 4], eax
call fcn.0041461a
mov dword [esi + 8], eax
xor eax, eax
cmp dword [esi + 4], ebx
setg al
jmp 0x413aa0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x414a6c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
je 0x414b79
push ebx
mov ebx, dword [esi + 0x10]
sub ebx, dword [esi + 8]
push edi
mov edi, dword [esi + 0xc]
push dword [esi + 0x14]
sub edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push edi
push dword [ebp - 8]
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 4]
mov dword [ebp - 0x18], ebx
call fcn.00414d6d
mov eax, dword [esi]
push 0
push 0
mov ecx, esi
push dword [ebp - 4]
call dword [eax + 0x14]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetClipRgn]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x414b16
push dword [esi + 8]
push dword [esi + 4]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_OffsetRgn]
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push 0xcc0020
push 0
push 0
push dword [ebp - 4]
push ebx
mov ebx, dword [ebp - 8]
push edi
push dword [esi + 8]
push dword [esi + 4]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp - 0x10], 1
jne 0x414b4b
push dword [ebp - 0xc]
jmp 0x414b4d
push 0
push ebx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp - 0xc]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x14]
call edi
push ebx
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x416db3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0041be40
push ebx
mov ebx, ecx
and dword [ebp - 4], 0
push esi
push dword [ebx + 0xa0]
lea esi, [ebx + 0xa0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416e48
mov esi, dword [esi]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x416e48
and word [ebp - 0x1004], 0
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1002]
push 0x800
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
pop edi
cmp dword [ebp + 0xc], eax
je 0x416e5d
lea ecx, [ebp - 0x1004]
lea esi, [ebx + 0x1c]
test ecx, ecx
je 0x416e39
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x1004]
push ecx
push eax
mov ecx, esi
call fcn.00408d28
mov ecx, dword [ebp + 8]
add ebx, 0x1c
push ebx
call fcn.00418779
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret 8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1004]
push eax
call fcn.004187bf
jmp 0x416e54
Function at 0x418d50
Capabilities:
Check os version

Disassembly:
mov eax, 0x41ce70
call fcn.0041be90
sub esp, 0x178
and dword [ebp - 0x70], 0
push ebx
push esi
push edi
mov esi, ecx
push 0x16
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x184], 0x114
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x174], 2
jne 0x418e73
cmp dword [ebp - 0x180], 6
jne 0x418e73
lea eax, [ebp - 0x54]
push str.Microsoft_Yahei
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
mov dword [ebp - 0x70], 0xfffffff4
pop ecx
push str.menu
lea ecx, [ebp - 0x10]
call fcn.004187bf
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
lea edi, [esi + 0x14]
mov esi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004193e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [eax], ebx
call fcn.00408cfc
push str.edit
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x70], 0xfffffff2
call fcn.004187bf
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 1
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004193e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [eax], ebx
call fcn.00408cfc
push str.link
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x70], 0xfffffff4
mov byte [ebp - 0x5b], 1
call fcn.004187bf
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 2
push eax
call esi
mov esi, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004193e8
or dword [ebp - 4], 0xffffffff
mov dword [eax], esi
lea ecx, [ebp - 0x10]
jmp 0x418f40
lea eax, [ebp - 0x54]
push str.Tahoma
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
mov dword [ebp - 0x70], 0xe
pop ecx
push str.menu
lea ecx, [ebp - 0x10]
call fcn.004187bf
lea eax, [ebp - 0x70]
lea edi, [esi + 0x14]
mov esi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov dword [ebp - 4], 3
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004193e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [eax], ebx
call fcn.00408cfc
push str.edit
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x70], 0x12
call fcn.004187bf
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 4
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004193e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [eax], ebx
call fcn.00408cfc
push str.link
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x70], 0xe
mov byte [ebp - 0x5b], 1
call fcn.004187bf
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 5
push eax
call esi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004193e8
or dword [ebp - 4], 0xffffffff
mov dword [eax], esi
lea ecx, [ebp - 0x14]
call fcn.00408cfc
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1f20a92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x1f20b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x1f20b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x1f20b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01f20b71
test eax, eax
je 0x1f20b67
add ebx, 0x14
jmp 0x1f20b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8