joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d4e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 0x248], 3
jne 0x44d57d
mov eax, dword [esi + 0x604]
test eax, eax
push edi
lea edi, [esi + 0x600]
je 0x44d525
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x44d52b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, ebx
imul eax, eax, 0xb0
add eax, dword [edi + 4]
lea ecx, [eax + 0xc]
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
je 0x44d54d
mov eax, dword [esi + 0x3c8]
push 0
push eax
jmp 0x44d576
push ebx
mov ecx, edi
call fcn.0044c8d0
mov ecx, eax
add ecx, 0xc
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov ecx, dword [esi + 0x3c8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x3c8]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x234], ebx
je 0x44d59f
mov eax, dword [esi + 4]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x248], 2
mov eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x24d
mov dword [ebp - 4], 0x17d
je 0x44d5c8
mov dword [ebp - 4], 0x19e
mov edx, dword [esi + 4]
push 0
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44d860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov esi, ecx
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edi, dword [esi + 4]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
cmp edi, eax
jne 0x44d8e3
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, dword [esi + 4]
cmp edi, ebx
mov dword [ebp - 4], eax
je 0x44d8dc
cmp eax, 0x3f3
je 0x44d8dc
cmp eax, 0x3f4
je 0x44d8dc
cmp eax, 0x3f5
je 0x44d8dc
cmp eax, 0x21fc
jl 0x44d8e3
lea ecx, [esi + 0x600]
call fcn.0044c8b0
add eax, 0x21fc
cmp dword [ebp - 4], eax
jae 0x44d8e3
mov ebx, 1
jmp 0x44d8e6
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x248]
mov ecx, dword [ebp - 0x10]
sub eax, 2
neg eax
sbb eax, eax
and eax, 0x21
add eax, 0x17d
cmp ecx, 1
jl 0x44d926
cmp ecx, 0x24d
jg 0x44d926
mov ecx, dword [ebp - 0xc]
cmp ecx, 1
jl 0x44d926
cmp eax, ecx
jl 0x44d926
test ebx, ebx
jne 0x44d958
mov ecx, dword [esi + 0x45c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
mov edx, dword [esi + 0x4f0]
push 0
push edx
call edi
mov eax, dword [esi + 4]
push 0
push 0xbb8
push 0x804
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44df50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x240], 0
je 0x44df77
cmp dword [esi + 0x248], 2
mov ecx, dword [esi + 0x240]
mov eax, dword [ecx]
mov edx, dword [eax]
jne 0x44df73
push 2
jmp 0x44df75
push 4
call edx
mov ecx, dword [esi + 0x244]
test ecx, ecx
je 0x44df95
push 1
call fcn.00455cd0
mov ecx, dword [esi + 0x244]
push 0
call fcn.004569d0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44dfb9
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x44f580
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587758
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
test edi, edi
je 0x44f5b6
lea eax, [edi + 4]
jmp 0x44f5b8
xor eax, eax
mov eax, dword [eax]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.GdiplusSkinButton::CxSkinButton.0
movzx edx, byte [edi + 0x24]
mov byte [esi + 0x24], dl
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
movzx ecx, byte [edi + 0x2c]
mov byte [esi + 0x2c], cl
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
movzx ecx, byte [edi + 0x38]
mov byte [esi + 0x38], cl
movzx edx, byte [edi + 0x39]
mov byte [esi + 0x39], dl
mov al, byte [edi + 0x3a]
mov byte [esi + 0x3a], al
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov cx, word [edi + 0x54]
mov word [esi + 0x54], cx
mov edx, dword [edi + 0x58]
mov dword [esi + 0x58], edx
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov ecx, dword [edi + 0x60]
mov dword [esi + 0x60], ecx
mov dx, word [edi + 0x64]
mov word [esi + 0x64], dx
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x6c], ecx
mov edx, dword [edi + 0x70]
mov dword [esi + 0x70], edx
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x78]
mov dword [esi + 0x78], ecx
mov edx, dword [edi + 0x7c]
lea eax, [edi + 0x80]
push eax
lea ecx, [esi + 0x80]
mov dword [ebp - 4], 0
mov dword [esi + 0x7c], edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, dword [edi + 0x84]
mov dword [esi + 0x84], ecx
mov edx, dword [edi + 0x88]
mov dword [esi + 0x88], edx
mov eax, dword [edi + 0x8c]
mov dword [esi + 0x8c], eax
mov ecx, dword [edi + 0x90]
mov dword [esi + 0x90], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x450570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 0x248]
cmp eax, 1
push edi
push 0
jne 0x4505b8
mov eax, dword [esi + 0x334]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov ecx, dword [esi + 0x19c]
push 0
push ecx
call edi
mov edx, dword [esi + 0x74]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.00450440
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x450661
mov dword [ebp - 0xc], 0xa
mov dword [ebp - 8], 0x186
call fcn.00495440
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push 0x5a45e0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.00454cc0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov dword [esi + 0x580], eax
add edx, eax
mov eax, dword [esi + 0x334]
add edi, ecx
mov dword [esi + 0x584], ecx
mov dword [esi + 0x588], edx
push 8
mov dword [esi + 0x58c], edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov ecx, dword [esi + 0x334]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [esi + 0x19c]
push 8
push edx
call edi
lea ecx, [esi + 0x24c]
call fcn.0048de90
mov eax, dword [esi + 0x250]
push 0
push eax
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 3
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x4506a6
mov ecx, dword [esi + 0x334]
push ecx
call edi
mov edx, dword [esi + 0x19c]
push 0
push edx
call edi
lea ecx, [esi + 0x24c]
call fcn.0048de90
mov eax, dword [esi + 0x250]
push 0
push eax
call edi
mov ecx, dword [esi + 0x74]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x334]
push edx
call edi
mov eax, dword [esi + 0x19c]
push 0
push eax
call edi
lea ecx, [esi + 0x24c]
call fcn.0048de90
mov ecx, dword [esi + 0x250]
push 0
push ecx
call edi
mov edx, dword [esi + 0x74]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x452f80
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587da8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2f0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
push ebx
push eax
mov dword [esi + 0x2e8], 1
call edi
mov ecx, dword [esi + 0x74]
push ebx
push ecx
call edi
mov edx, dword [esi + 0x248]
push 8
push edx
call edi
lea ecx, [esi + 0x244]
call fcn.0048f770
mov eax, dword [esi + 4]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [esi + 0x380]
mov dword [ebp - 4], ebx
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call fcn.00497850
mov edi, dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 8
xor esi, esi
jmp 0x453020
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x453089
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x453089
mov edx, dword [ecx + esi*4]
push edx
push str.clicked_restart_button__qq_instance_id:_u_n
push 0x5a48cc
push 2
push str.CTrayTipsDlg::OnBtnClickRestart
push 0x96
push str.E:_txupdatecodingTXUpdate_serviceuiengineTrayTipsDlg.cpp
call fcn.00452950
mov eax, dword [ebp - 0x18]
add esp, 0x1c
cmp eax, ebx
je 0x45306d
mov ecx, dword [ebp - 0x14]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x453076
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + esi*4]
push eax
push str.clicked_restart_button__qq_instance_id:_u_n
call edi
add esp, 8
add esi, 1
jmp 0x453020
lea ecx, [ebp - 0x1c]
push ecx
push 0x452410
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4530a8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4531d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587dd9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x108]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call edi
mov eax, dword [esi + 0x19c]
push 0
push eax
call edi
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0x74]
push 0x55
push 0
push 0
push 8
sub eax, 0x17
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
push 1
lea edx, [eax - 0x69]
push 0
add eax, 0xfffffff5
push 0x3f7
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], edx
lea edx, [ecx - 0x1c]
add ecx, 0xfffffffa
lea eax, [ebp - 0x30]
push eax
push ecx
mov dword [ebp - 0x24], ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x5a48c0
mov dword [ebp - 0x2c], edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x64]
push ecx
push edx
push eax
lea ebx, [esi + 0x2ec]
push ebx
mov ecx, esi
call fcn.00455840
mov ecx, dword [esi + 0x2f0]
push 8
push ecx
call edi
mov eax, 0xff000000
push eax
push 0
call fcn.00495440
push eax
lea edx, [ebp - 0x4c]
push edx
call fcn.004953b0
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov ecx, ebx
call fcn.00492b00
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push 0
push 0x50004000
push 0
push ecx
mov dword [eax], 0x3f6
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], esp
lea ebx, [esi + 0x244]
push eax
mov ecx, ebx
call fcn.0044ff80
push 0x5a4820
push 0x11c
mov ecx, ebx
call fcn.00490d80
test eax, eax
je 0x453364
mov ecx, dword [esi + 0x248]
push 5
push 0
push 0
push 0x3b
push 0xd1
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0x248]
push 0
push edx
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453cc0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 0x10
Function at 0x453ce0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 0x10

Function at 0x455540
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587fba
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], vtable.WTL::CMessageFilter.0
lea ebx, [esi + 0x20]
mov dword [esi + 0x24], vtable.WTL::CIdleHandler.0
lea ecx, [esi + 0x2c]
mov dword [ebp - 4], edi
mov dword [esi], vtable.CTXUpdDlgBase.0
mov dword [ebx], vtable.CTXUpdDlgBase.2.0
mov dword [esi + 0x24], vtable.CTXUpdDlgBase.1.0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
mov dword [esi + 0x30], 0xff000000
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 1
mov dword [esi + 0x34], 0x189
mov dword [esi + 0x38], 0x99
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
call fcn.004941b0
lea ecx, [esi + 0x104]
mov byte [ebp - 4], 2
call fcn.004941b0
lea ecx, [esi + 0x198]
mov byte [ebp - 4], 3
call fcn.004941b0
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
mov eax, dword [0x6562d4]
add eax, 0x10
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x611258]
lea eax, [ebp - 0x10]
push eax
call fcn.004553f0
mov ecx, dword [ebp - 0x1c]
push ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x455661
lea edx, [ebp - 0x10]
push edx
lea ecx, [eax + 4]
mov dword [ebp - 0x10], ebx
call fcn.00454ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456210
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x610304]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45627a
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x456263
cmp eax, 4
jne 0x45627a
cmp dword [esp + 8], 0x5a
jb 0x45627a
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00584870
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.00584870
add esp, 0x118
ret
Function at 0x458df0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5883c9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 3
xor ebx, ebx
push str.UPDATE_STARTMODE
mov dword [ebp - 0x1c], ebx
call fcn.00465dc0
add esp, 8
push 3
call fcn.00489420
mov ecx, eax
call fcn.004847b0
push 3
push str.TXUPD_Start_Mode:_d_n
push 0x5a4eec
push 2
push str.CGuiController::ManualUpdate
push 0x95
push str.E:_txupdatecodingTXUpdate_serviceuiengineGuiController.cpp
call fcn.004587b0
push 3
push str.TXUPD_Start_Mode:_d_n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 0x24
push str.state_flag
lea ecx, [ebp - 0x18]
mov dword [esi + 0xaac], 2
mov dword [esi + 0xab0], ebx
mov dword [esi + 0xab4], ebx
mov dword [ebp - 0x14], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
call fcn.00498660
add esp, 8
test eax, eax
je 0x458ec4
mov eax, dword [ebp - 0x14]
cmp eax, 0x29
je 0x458ebe
cmp eax, 0x47
jne 0x458ec4
mov byte [ebp - 0xd], 1
jmp 0x458ec7
mov byte [ebp - 0xd], bl
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
cmp byte [ebp - 0xd], bl
je 0x458efa
push 1
call fcn.00489420
mov ecx, eax
call fcn.00489330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
call fcn.00489420
mov ecx, eax
call fcn.004847a0
push 1
call fcn.00489420
mov ecx, eax
call fcn.004848a0
push ebx
call fcn.00489420
mov ecx, eax
call fcn.00489330
mov edx, dword [esi + 0x24]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xf7ffffff
cmp eax, ecx
je 0x458f48
mov eax, dword [esi + 0x24]
push ecx
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 0x24]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459bf0
Capabilities:
Get explorer pid

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.USER32.dll_GetShellWindow]
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
call edi
lea ecx, [ebp - 8]
push ecx
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebx, eax
call esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x459cbe
lea edx, [ebp - 0x20]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp ebx, eax
jne 0x459cbe
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], ecx
jne 0x459cbe
lea edx, [ebp - 4]
push edx
push esi
call edi
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x459cbe
cmp eax, dword [ebp - 0xc]
je 0x459cbe
push eax
push str.full_screen__pid:_lu_n
push 0x5a4eec
push 2
push str.CGuiController::IsFullScreenMode
push 0x460
push str.E:_txupdatecodingTXUpdate_serviceuiengineGuiController.cpp
call fcn.00452950
mov eax, dword [ebp - 4]
push eax
push str.full_screen__pid:_lu_n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 0x24
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45aac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5887c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xaac], 1
jne 0x45ab56
cmp dword [esi + 0xab0], 0
je 0x45ab33
lea eax, [ebp - 0x10]
push 0x5a4f38
push eax
call fcn.0044ced0
add esp, 8
mov esi, dword [ebp + 8]
mov edi, dword [esi]
push 1
mov ecx, eax
mov dword [ebp - 4], 0
call sym.txupd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
mov ecx, dword [edi + 0xcc]
push eax
push esi
call ecx
lea ecx, [ebp - 0x10]
jmp 0x45abbe
push 2
push 4
call fcn.00489420
mov ecx, eax
call fcn.00485900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0xab0], 0
jne 0x45ab8b
call fcn.00459580
lea ecx, [esi + 0x20]
call fcn.00451680
mov edx, dword [esi + 0x24]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x14]
push 0x5a4f38
push eax
call fcn.0044ced0
add esp, 8
mov esi, dword [ebp + 8]
mov edi, dword [esi]
push 1
mov ecx, eax
mov dword [ebp - 4], 1
call sym.txupd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
mov ecx, dword [edi + 0xcc]
push eax
push esi
call ecx
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x460580
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4605f6
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4605c5
cmp eax, 2
jne 0x4605e1
test esi, esi
mov eax, dword [esp + 0x14]
je 0x4605f0
test eax, eax
je 0x4605eb
test al, 1
jne 0x4605e1
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x4605f0
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc