Function at 0x4a1dd0
Capabilities:
Copy file
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2871
mov eax, dword fs:[0]
push eax
sub esp, 0x6c4
mov eax, dword [0x63434c]
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 eax, dword fs:[0x2c]
mov ecx, dword [0x63ec50]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x63cf10]
cmp eax, dword [ecx + 4]
jg 0x4a259d
xor eax, eax
mov dword [ebp - 0x234], eax
mov word [ebp - 0x230], ax
cmp byte [0x63d0e4], al
je 0x4a1e70
mov cx, word [0x63cf0e]
mov eax, 1
mov word [ebp - 0x234], ax
mov eax, dword [0x63cf0c]
mov word [ebp - 0x230], cx
movzx ecx, cx
mov word [ebp - 0x232], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.004d44d0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 4], 1
push str.CopyMyself
call fcn.00444960
lea ecx, [ebp - 0x278]
call fcn.0046c260
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0047bfc0
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0047c0c0
add esp, 0x10
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], 4
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp - 0x240]
sub ecx, dword [eax - 0xc]
lea eax, [ebp - 0x244]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00429ef0
push str.Au_.exe
push dword [ebp - 0x244]
mov byte [ebp - 4], 5
call fcn.00566ed2
add esp, 8
or ebx, 0xffffffff
test eax, eax
jne 0x4a1f27
push dword [ebp - 0x240]
push str.269_tCopyMyself_tAlready_is_Au_.exe__path_is_:__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallMain.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
lea esi, [ebx + 3]
jmp 0x4a24f5
xor eax, eax
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 6
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4a25eb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
add esp, 0xc
mov byte [ebp - 4], 8
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4a25f5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0xa
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4a25ff
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push esi
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xb
call fcn.0046ce30
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 0xc
cmp eax, dword [ebp - 0x24c]
je 0x4a201e
mov edi, dword [str.PerfLogFile]
mov byte [ebp - 4], 0xd
test edi, edi
je 0x4a2609
mov ecx, dword [eax]
mov edx, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x4a2006
test si, si
je 0x4a2002
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4a2006
add ecx, 4
add edx, 4
test si, si
jne 0x4a1fe0
xor ecx, ecx
jmp 0x4a200b
sbb ecx, ecx
or ecx, 1
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x4a202f
add eax, 0x14
cmp eax, dword [ebp - 0x24c]
jne 0x4a1fd0
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4a2609
jmp 0x4a2049
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00429b20
add esp, 4
add eax, 0x10
mov dword [ebp - 0x21c], eax
jmp 0x4a208a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov eax, 0x5b3734
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x21c]
test eax, 0xffff0000
jne 0x4a2078
movzx eax, ax
push eax
call fcn.00429d30
jmp 0x4a2084
push 0
push 0x5b3734
call fcn.0042a000
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 0xf
je 0x4a2119
push str._selfcopy.kpl
push str..kpl
lea ecx, [ebp - 0x21c]
call fcn.00463830
mov esi, dword [ebp - 0x250]
mov edi, dword [str.PerfLogFile]
cmp esi, dword [ebp - 0x24c]
je 0x4a2119
test edi, edi
je 0x4a25eb
push edi
push dword [esi]
call fcn.00566ed2
add esp, 8
test eax, eax
je 0x4a20e5
add esi, 0x14
cmp esi, dword [ebp - 0x24c]
jne 0x4a20c1
jmp 0x4a2119
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x4a20f3
xor edx, edx
jmp 0x4a210f
mov edx, eax
lea edi, [edx + 2]
jmp 0x4a2100
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4a2100
sub edx, edi
sar edx, 1
push edx
push eax
lea ecx, [esi + 4]
call fcn.0042a000
lea eax, [ebp - 0x6d0]
push eax
call fcn.0047c2c0
add esp, 4
lea edi, [ebp - 0x4a4]
mov esi, eax
mov ecx, 0x8b
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x250]
call fcn.004a3700
push str.__from_
push eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x10
push eax
call fcn.004297b0
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0x11
push ecx
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.004297b0
push 0x5b69ac
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x12
push eax
call fcn.004297b0
add esp, 0x24
mov edx, dword [ebp - 0x254]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a21ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x258]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a21ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x25c]
mov eax, ebx
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a21eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004a2dd0
test al, al
je 0x4a2206
push 0xe
push str.__ispdfalone1
lea ecx, [ebp - 0x238]
call fcn.00429970
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4a2252
push eax
push str.301_tCopyMyself_tError_get_temporary_folder__continue_to_run_current_file__GetLastError_Code_is_:__d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallMain.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
mov esi, dword [ebp - 0x224]
add esp, 0x14
mov edi, dword [ebp - 0x220]
jmp 0x4a245f
lea eax, [ebp - 0x218]
push eax
push str.306_tCopyMyself_tSuccess_get_temporary_folder__path_is__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallMain.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4a2290
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2290
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.0042a000
push 4
push str.wps_
lea ecx, [ebp - 0x220]
call fcn.00429970
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x23c]
push 0x5c0920
push eax
call fcn.0042c6c0
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x220]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.00429970
mov edi, dword [ebp - 0x220]
push edi
call fcn.0047a130
add esp, 4
test eax, eax
jne 0x4a232f
push eax
push str.319_tCopyMyself_tError_creating_temporary_folder__continue_to_run_current_file__retCode_is_:__d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallMain.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
mov esi, dword [ebp - 0x224]
add esp, 0x14
jmp 0x4a245f
push edi
push str.324_tCopyMyself_tSuccess_creating_temporary_folder__path_is__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallMain.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
push str.Au_.exe
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004297b0
add esp, 0x20
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x17
call fcn.00429740
mov edx, dword [ebp - 0x260]
mov eax, ebx
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a2395
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x224]
push 0
push esi
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x4a23d8
push eax
push str.333_tCopyMyself_tCopyFile_failed__GetLastError_Code_is_:__d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallMain.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
jmp 0x4a245c
push esi
push str.338_tCopyMyself_tCopyFile_success__new_file_name_is_:__ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallMain.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
lea ecx, [ebp - 0x224]
push 0x1f01ff
push dword [esi - 0xc]
call fcn.0046fca0
push eax
call fcn.0047ad30
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [ebp - 0x224]
push 0
push 1
push 0
push 1
push 0
push dword [ebp - 0x238]
push esi
call fcn.0047f450
push 1
push str.346_tCopyMyself_tSuccess_CopyFile_and_Run_app__this_process_quit__retCode_is_:__d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallMain.cpp
push str._INFO_
push 0x63cbb0
mov dword [ebp - 0x22c], 1
call fcn.0046bb20
add esp, 0x30
or ebx, 0xffffffff
mov edx, dword [ebp - 0x238]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a247c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a2499
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x250]
call fcn.0046d5f0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a24bb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x23c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a24d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4a24ef
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x244]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a2512
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x240]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a252f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4a254a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x278]
call fcn.0046c340
cmp byte [0x63d0e4], 0
mov dword [ebp - 4], 0x18
je 0x4a257f
push dword [ebp - 0x230]
push dword [ebp - 0x232]
push dword [ebp - 0x234]
call fcn.004d4510
add esp, 0xc
mov eax, esi
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.00557e89
mov esp, ebp
pop ebp
ret
push 0x63cf10
call fcn.00558348
add esp, 4
cmp dword [0x63cf10], 0xffffffff
jne 0x4a1e21
push 0x5b5110
push str.CopyMyself
mov ecx, 0x63cf0c
mov dword [ebp - 4], 0
call fcn.004d38a0
push 0x63cf10
mov dword [ebp - 4], 0xffffffff
call fcn.005582fe
add esp, 4
jmp 0x4a1e21
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
int3