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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5335a4
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x58a464]
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
lea eax, [ebp - 0x78]
mov dword [ebp - 0x5c], 0
push eax
call fcn.004170c0
mov ebx, eax
lea esi, [edi + 0x54]
cmp esi, ebx
je 0x415cd3
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x415cac
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00406d50
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x415cc4
mov eax, dword [esi]
jmp 0x415cc6
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.004093c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x415cef
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406d50
mov ebx, dword [0x58ff60]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x3e
xor eax, eax
mov dword [ebp - 0x64], 7
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
call fcn.004065f0
push 0xc
push str.DL_TYPE_d_r_n
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 1
call fcn.00406810
mov dword [ebp - 0x5c], eax
cmp dword [eax + 0x14], 8
jb 0x415d46
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
movzx eax, word [ebp - 0x12]
push ebx
push 0x92
push str.CDownloadInstaller::Start
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [ebp - 0x5c]
call fcn.0044a2f0
mov dword [ebp - 4], 0xffffffff
add esp, 0x34
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x415da9
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406d50
cmp dword [edi + 4], 0
jne 0x415f5f
sub ebx, 2
je 0x415ec2
sub ebx, 1
je 0x415e45
push 0xf8
call fcn.004f04c4
mov ebx, eax
mov dword [ebp - 0x60], ebx
push 0xf8
push 0
push ebx
mov dword [ebp - 4], 0xa
call fcn.004ad5f0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], vtable.std::_Func_impl_class__lambda_90bb3d50d4dac241a73e38987e593158___class_std::allocator_int___void__int__double__wchar_t_const__.0
add esp, 0x10
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0xb
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x5c], 4
jb 0x415e19
mov ecx, dword [esi]
jmp 0x415e1b
mov ecx, esi
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x415e26
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.00409950
mov dword [edi + 4], eax
mov dword [ebp - 4], 0xd
jmp 0x415f3d
push 0xf0
call fcn.004f04c4
mov ebx, eax
mov dword [ebp - 0x60], ebx
push 0xf0
push 0
push ebx
mov dword [ebp - 4], 2
call fcn.004ad5f0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], vtable.std::_Func_impl_class__lambda_90bb3d50d4dac241a73e38987e593158___class_std::allocator_int___void__int__double__wchar_t_const__.0
add esp, 0x10
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x5c], 1
jb 0x415e99
mov ecx, dword [esi]
jmp 0x415e9b
mov ecx, esi
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x415ea6
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0040e160
mov dword [edi + 4], eax
mov dword [ebp - 4], 5
jmp 0x415f3d
push 0xe8
call fcn.004f04c4
mov ebx, eax
mov dword [ebp - 0x60], ebx
push 0xe8
push 0
push ebx
mov dword [ebp - 4], 6
call fcn.004ad5f0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], vtable.std::_Func_impl_class__lambda_90bb3d50d4dac241a73e38987e593158___class_std::allocator_int___void__int__double__wchar_t_const__.0
add esp, 0x10
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x5c], 2
jb 0x415f16
mov ecx, dword [esi]
jmp 0x415f18
mov ecx, esi
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x415f23
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.00415290
mov dword [edi + 4], eax
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x415f58
mov edx, dword [ecx]
lea eax, [ebp - 0x88]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 8], 0
jne 0x4160a9
push 0x98
call fcn.004f04c4
mov ebx, eax
mov dword [ebp - 0x60], ebx
push 0x98
push 0
push ebx
mov dword [ebp - 4], 0xe
call fcn.004ad5f0
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], vtable.std::_Func_impl_class__lambda_5d37a98ae8b925d6e33ba7260f479b8b___class_std::allocator_int___void__int__double__wchar_t_const__.0
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x5c], 8
call fcn.00417180
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x78]
push 0x56fbfc
mov edx, eax
mov dword [ebp - 0x5c], 0x18
call fcn.00417250
add esp, 0x18
mov ecx, eax
mov dword [ebp - 4], 0x11
lea edx, [edi + 0x3c]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x5c], 0x38
jb 0x415ff7
mov edx, dword [edx]
cmp dword [ecx + 0x14], 8
jb 0x415fff
mov ecx, dword [ecx]
movzx eax, byte [edi + 0x86]
push ecx
push eax
movzx eax, byte [edi + 0x85]
push eax
movzx eax, byte [edi + 0x84]
push eax
push edx
push ecx
lea eax, [ebp - 0xb0]
mov ecx, ebx
push eax
call fcn.00417580
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x416040
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], 0
cmp eax, 8
jb 0x416069
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0x15
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x4160a2
mov edx, dword [ecx]
lea eax, [ebp - 0xb0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x50], 8
lea edx, [edi + 0x3c]
jb 0x4160b4
mov edx, dword [edx]
cmp word [edx], 0
mov ebx, dword [edi + 8]
jne 0x4160c1
xor ecx, ecx
jmp 0x4160d5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4160c6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x40]
call fcn.004065f0
mov eax, dword [edi + 8]
lea esi, [edi + 0x24]
mov cl, byte [edi + 0x84]
mov byte [eax + 0x71], cl
mov eax, dword [edi + 8]
mov cl, byte [edi + 0x85]
mov byte [eax + 0x70], cl
mov eax, dword [edi + 8]
mov cl, byte [edi + 0x86]
mov byte [eax + 0x90], cl
mov eax, dword [edi + 8]
mov cl, byte [edi + 0x87]
mov byte [eax + 0x91], cl
cmp dword [esi + 0x14], 8
jb 0x416122
mov eax, dword [esi]
jmp 0x416124
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41624d
lea eax, [ebp - 0x58]
push eax
call fcn.00417000
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0x16
push eax
mov ecx, edi
call fcn.00416f30
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
cmp dword [esi + 0x14], 8
jb 0x416165
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x80
call fcn.004f04c4
mov esi, eax
mov dword [ebp - 0x60], esi
push 0x80
push 0
push esi
call fcn.004ad5f0
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], vtable.std::_Func_impl_class__lambda_cfdddf242d5f71b27da694b5cf811135___class_std::allocator_int___void__int__double__wchar_t_const__.0
add esp, 0x10
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], 0x40
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
mov ecx, esi
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00411ef0
mov dword [edi], eax
mov dword [ebp - 4], 0x1b
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x416202
mov edx, dword [ecx]
lea eax, [ebp - 0xd8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 0x17
mov ecx, dword [edi]
call fcn.00412130
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x416222
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x416254
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00406d50
jmp 0x416254
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax]
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.004f0482
mov esp, ebp
pop ebp
ret