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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599cf3
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x61ce74]
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 [0x629bbc]
test al, 1
jne 0x465513
or eax, 1
mov dword [0x629bbc], eax
push 0x5bbcf9
push str.KApp::CopyWebUI
mov ecx, 0x629bb8
mov dword [ebp - 4], 0
call fcn.004c71f0
mov dword [ebp - 4], 0xffffffff
cmp byte [0x62a1c4], 0
je 0x465554
mov cx, word [0x629bba]
mov eax, 1
mov word [ebp - 0x164], ax
mov eax, dword [0x629bb8]
mov word [ebp - 0x160], cx
movzx ecx, cx
mov word [ebp - 0x162], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.004c7f20
add esp, 0xc
push 0x10
mov dword [ebp - 4], 1
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
call fcn.0042fbc0
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.004722d0
add esp, 0xc
push str.kuninstallui
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 3
call fcn.004e5810
push 1
push 3
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00536b50
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004eae80
mov esi, eax
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x465d3b
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 0x465631
test esi, 0xffff0000
jne 0x465613
movzx eax, si
lea ecx, [ebp - 0x140]
push eax
call fcn.00426130
jmp 0x465640
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x465620
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465620
sub ecx, edx
sar ecx, 1
jmp 0x465633
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x140]
call fcn.004263f0
mov edx, dword [ebp - 0x128]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x465684
mov ecx, dword [ebp - 0x13c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46567a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465d45
push edx
push ecx
call fcn.0053d0af
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 0x4656e5
mov ecx, dword [ebp - 0x124]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4656db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465d45
push edx
push ecx
call fcn.0053d0af
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 0x46576c
push str.office6kuninstallui
lea eax, [ebp - 0x150]
push esi
push eax
call fcn.00425c00
add esp, 0xc
push eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0xa
call fcn.00427100
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 0x46575f
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 0x46577f
push dword [ebp - 0x14c]
push edi
call fcn.004701b0
add esp, 8
test eax, eax
jne 0x465786
xor ebx, ebx
jmp 0x465c38
push 0x5bc540
lea eax, [ebp - 0x158]
push esi
push eax
call fcn.00425c00
push 0x5bc554
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00425c00
mov esi, eax
push 0x5bc554
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00425c00
push dword [esi]
mov byte [ebp - 4], 0xd
push dword [eax]
call fcn.004701b0
mov edx, dword [ebp - 0x15c]
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 0x465809
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 0x46582b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x465c14
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.00425c00
mov dword [ebp - 0x15c], eax
push esi
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.00425c00
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 0x465d31
lea eax, [ebp - 0x148]
mov dword [ebp - 0x178], eax
push 0x10
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x174], 0
call fcn.0042fbc0
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.00425f70
add eax, 0x10
mov dword [esi], eax
add esi, 4
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x154], esi
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00425f70
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 0x465b71
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 0x465b93
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 0x465a61
mov eax, dword [ebp - 0x148]
mov esi, dword [eax]
cmp esi, eax
je 0x465be4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop
push dword [esi + 0xc]
call ebx
test eax, eax
jne 0x465bda
push eax
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x465beb
mov esi, dword [esi]
cmp esi, dword [ebp - 0x148]
jne 0x465bc0
mov ebx, 1
jmp 0x465c16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push str.591_tKApp::CopyWebUI_tCopy__s_to__s_faild_with:__d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKApp.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x1c
xor ebx, ebx
mov edx, dword [ebp - 0x158]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465c38
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 0x465c54
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 0x465c76
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 0x465cd9
nop
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 0x465cad
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 0x465cc8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10
push esi
call fcn.0053d0af
add esp, 8
mov esi, edi
test edi, edi
jne 0x465c90
push 0x10
push dword [ebp - 0x148]
call fcn.0053d0af
add esp, 8
cmp byte [0x62a1c4], 0
mov dword [ebp - 4], 0x12
je 0x465d13
push dword [ebp - 0x160]
push dword [ebp - 0x162]
push dword [ebp - 0x164]
call fcn.004c7f60
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.0053d079
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.0053ed5d
push 0x80004005
call fcn.00425f50
call fcn.0054b0c3
int3