Function at 0x4695a0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599471
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x633954]
mov edx, dword [eax + edx*4]
mov eax, dword [0x63193c]
cmp eax, dword [edx + 4]
jg 0x469e1c
xor eax, eax
mov dword [ebp - 0x15c], eax
mov word [ebp - 0x158], ax
cmp byte [0x631d90], al
je 0x46963f
mov cx, word [0x63193a]
mov eax, 1
mov word [ebp - 0x15c], ax
mov eax, dword [0x631938]
mov word [ebp - 0x158], cx
movzx ecx, cx
mov word [ebp - 0x15a], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.004ca750
add esp, 0xc
push 0x10
mov dword [ebp - 4], 1
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
call fcn.00546014
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00476a80
add esp, 0xc
push str.kuninstallui
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 3
call fcn.00517310
push 1
push 3
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00525fa0
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0051b740
mov esi, eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x469e6a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 6
test esi, esi
je 0x469714
test esi, 0xffff0000
jne 0x4696fe
movzx eax, si
lea ecx, [ebp - 0x140]
push eax
call fcn.004295b0
jmp 0x469723
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469703
sub ecx, edx
sar ecx, 1
jmp 0x469716
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x140]
call fcn.00429870
mov edx, dword [ebp - 0x128]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x469767
mov ecx, dword [ebp - 0x13c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46975d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469e74
push edx
push ecx
call fcn.00546044
add esp, 8
xor eax, eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 7
mov word [ebp - 0x13c], ax
mov edx, dword [ebp - 0x110]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x4697c8
mov ecx, dword [ebp - 0x124]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4697be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469e74
push edx
push ecx
call fcn.00546044
add esp, 8
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea esi, [edi + 8]
mov edi, dword [ebp - 0x140]
xor eax, eax
push edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
call ebx
test eax, eax
jne 0x46984f
push str.office6kuninstallui
lea eax, [ebp - 0x150]
push esi
push eax
call fcn.00429080
add esp, 0xc
push eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0xa
call fcn.0042a6a0
mov edx, dword [ebp - 0x150]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469842
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x140]
push edi
call ebx
test eax, eax
je 0x469862
push dword [ebp - 0x14c]
push edi
call fcn.00474920
add esp, 8
test eax, eax
jne 0x469869
xor ebx, ebx
jmp 0x469d1a
push 0x5b69d0
lea eax, [ebp - 0x160]
push esi
push eax
call fcn.00429080
push 0x5b69e4
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00429080
mov esi, eax
push 0x5b69e4
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00429080
push dword [esi]
mov byte [ebp - 4], 0xd
push dword [eax]
call fcn.00474920
mov edx, dword [ebp - 0x164]
add esp, 0x2c
test eax, eax
mov byte [ebp - 4], 0xc
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4698ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x154]
or eax, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46990e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x469cf6
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], str.Qt5WinExtrasKso.dll
mov dword [ebp - 0x108], str.Qt5WidgetsKso.dll
mov dword [ebp - 0x104], str.Qt5SvgKso.dll
mov dword [ebp - 0x100], str.Qt5GuiKso.dll
mov dword [ebp - 0xfc], str.Qt5CoreKso.dll
mov dword [ebp - 0xf8], str.MSVCP140.dll
mov dword [ebp - 0xf4], str.VCRUNTIME140.dll
mov dword [ebp - 0xf0], str.qt.conf
mov dword [ebp - 0xec], str.qtpluginsiconenginesqsvgicon.dll
mov dword [ebp - 0xe8], str.qtpluginsimageformatsqsvg.dll
mov dword [ebp - 0xe4], str.qtpluginsplatformsqdirect2d.dll
mov dword [ebp - 0xe0], str.qtpluginsplatformsqwindows.dll
mov dword [ebp - 0xdc], str.qtpluginsprintsupportwindowsprintersupport.dll
mov dword [ebp - 0xd8], str.qtplugins_stylesqwindowsvistastyle.dll
mov dword [ebp - 0xd4], str.api_ms_win_crt_filesystem_l1_1_0.dll
mov dword [ebp - 0xd0], str.api_ms_win_crt_heap_l1_1_0.dll
mov dword [ebp - 0xcc], str.api_ms_win_crt_locale_l1_1_0.dll
mov dword [ebp - 0xc8], str.api_ms_win_crt_math_l1_1_0.dll
mov dword [ebp - 0xc4], str.api_ms_win_crt_multibyte_l1_1_0.dll
mov dword [ebp - 0xc0], str.api_ms_win_crt_private_l1_1_0.dll
mov dword [ebp - 0xbc], str.api_ms_win_crt_process_l1_1_0.dll
mov dword [ebp - 0xb8], str.api_ms_win_crt_runtime_l1_1_0.dll
mov dword [ebp - 0xb4], str.api_ms_win_crt_stdio_l1_1_0.dll
mov dword [ebp - 0xb0], str.api_ms_win_crt_string_l1_1_0.dll
mov dword [ebp - 0xac], str.api_ms_win_crt_time_l1_1_0.dll
mov dword [ebp - 0xa8], str.api_ms_win_crt_utility_l1_1_0.dll
mov dword [ebp - 0xa4], str.concrt140.dll
mov dword [ebp - 0xa0], str.dbghelp.dll
mov dword [ebp - 0x9c], str.msvcp140_1.dll
mov dword [ebp - 0x98], str.msvcp140_2.dll
mov dword [ebp - 0x94], str.msvcp140_codecvt_ids.dll
mov dword [ebp - 0x90], str.ucrtbase.dll
mov dword [ebp - 0x8c], str.vccorlib140.dll
mov dword [ebp - 0x88], str.api_ms_win_core_console_l1_1_0.dll
mov dword [ebp - 0x84], str.api_ms_win_core_console_l1_2_0.dll
mov dword [ebp - 0x80], str.api_ms_win_core_datetime_l1_1_0.dll
mov dword [ebp - 0x7c], str.api_ms_win_core_debug_l1_1_0.dll
mov dword [ebp - 0x78], str.api_ms_win_core_errorhandling_l1_1_0.dll
mov dword [ebp - 0x74], str.api_ms_win_core_file_l1_1_0.dll
mov dword [ebp - 0x70], str.api_ms_win_core_file_l1_2_0.dll
mov dword [ebp - 0x6c], str.api_ms_win_core_file_l2_1_0.dll
mov dword [ebp - 0x68], str.api_ms_win_core_handle_l1_1_0.dll
mov dword [ebp - 0x64], str.api_ms_win_core_heap_l1_1_0.dll
mov dword [ebp - 0x60], str.api_ms_win_core_interlocked_l1_1_0.dll
mov dword [ebp - 0x5c], str.api_ms_win_core_libraryloader_l1_1_0.dll
mov dword [ebp - 0x58], str.api_ms_win_core_localization_l1_2_0.dll
mov dword [ebp - 0x54], str.api_ms_win_core_memory_l1_1_0.dll
mov dword [ebp - 0x50], str.api_ms_win_core_namedpipe_l1_1_0.dll
mov dword [ebp - 0x4c], str.api_ms_win_core_processenvironment_l1_1_0.dll
mov dword [ebp - 0x48], str.api_ms_win_core_processthreads_l1_1_0.dll
mov dword [ebp - 0x44], str.api_ms_win_core_processthreads_l1_1_1.dll
mov dword [ebp - 0x40], str.api_ms_win_core_profile_l1_1_0.dll
mov dword [ebp - 0x3c], str.api_ms_win_core_rtlsupport_l1_1_0.dll
mov dword [ebp - 0x38], str.api_ms_win_core_string_l1_1_0.dll
mov dword [ebp - 0x34], str.api_ms_win_core_synch_l1_1_0.dll
mov dword [ebp - 0x30], str.api_ms_win_core_synch_l1_2_0.dll
mov dword [ebp - 0x2c], str.api_ms_win_core_sysinfo_l1_1_0.dll
mov dword [ebp - 0x28], str.api_ms_win_core_timezone_l1_1_0.dll
mov dword [ebp - 0x24], str.api_ms_win_core_util_l1_1_0.dll
mov dword [ebp - 0x20], str.API_MS_Win_core_xstate_l2_1_0.dll
mov dword [ebp - 0x1c], str.api_ms_win_crt_conio_l1_1_0.dll
mov dword [ebp - 0x18], str.api_ms_win_crt_convert_l1_1_0.dll
mov dword [ebp - 0x14], str.api_ms_win_crt_environment_l1_1_0.dll
mov dword [ebp - 0x150], eax
mov esi, dword [eax]
lea eax, [ebp - 0x14c]
push esi
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00429080
mov dword [ebp - 0x164], eax
push esi
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.00429080
add esp, 0x18
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x144], 0xfffffff
mov ecx, dword [ebp - 0x148]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x168], ecx
je 0x469e12
lea eax, [ebp - 0x148]
mov dword [ebp - 0x178], eax
push 0x10
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x174], 0
call fcn.00546014
mov ecx, dword [ebp - 0x154]
mov ebx, eax
mov dword [ebp - 0x174], ebx
mov ecx, dword [ecx]
lea esi, [ebx + 8]
sub ecx, 0x10
mov dword [ebp - 0x17c], esi
push ecx
call fcn.004293f0
add eax, 0x10
mov dword [esi], eax
add esi, 4
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x154], esi
mov eax, dword [ebp - 0x164]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004293f0
mov ecx, dword [ebp - 0x168]
add eax, 0x10
mov dword [esi], eax
add esp, 0xc
inc dword [ebp - 0x144]
mov dword [ebp - 0x174], 0
mov eax, dword [ecx + 4]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [ecx + 4], ebx
mov dword [eax], ebx
or eax, 0xffffffff
mov edx, dword [ebp - 0x16c]
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469c54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x170]
or eax, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469c76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x150], eax
cmp eax, ecx
jne 0x469b44
mov eax, dword [ebp - 0x148]
mov esi, dword [eax]
cmp esi, eax
je 0x469cc6
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [esi + 0xc]
call ebx
test eax, eax
jne 0x469cbc
push eax
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x469ccd
mov esi, dword [esi]
cmp esi, dword [ebp - 0x148]
jne 0x469ca2
mov ebx, 1
jmp 0x469cf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push str.594_tKApp::CopyWebUI_tCopy__s_to__s_faild_with:__d
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKApp.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x1c
xor ebx, ebx
mov edx, dword [ebp - 0x160]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469d1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x469d36
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14c]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469d58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x148]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov esi, dword [ecx]
test esi, esi
je 0x469dba
mov edx, dword [esi + 0xc]
or eax, 0xffffffff
mov edi, dword [esi]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469d8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 8]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469da9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10
push esi
call fcn.00546044
add esp, 8
mov esi, edi
test edi, edi
jne 0x469d71
push 0x10
push dword [ebp - 0x148]
call fcn.00546044
add esp, 8
cmp byte [0x631d90], 0
mov dword [ebp - 4], 0x12
je 0x469df4
push dword [ebp - 0x158]
push dword [ebp - 0x15a]
push dword [ebp - 0x15c]
call fcn.004ca790
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.005479d1
push 0x63193c
call fcn.00546388
add esp, 4
cmp dword [0x63193c], 0xffffffff
jne 0x4695f0
push 0x5ae038
push str.KApp::CopyWebUI
mov ecx, 0x631938
mov dword [ebp - 4], 0
call fcn.004c9bd0
push 0x63193c
mov dword [ebp - 4], 0xffffffff
call fcn.0054633e
add esp, 4
jmp 0x4695f0
push 0x80004005
call fcn.004293d0
call fcn.00555394
int3