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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534864
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x58b464]
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.004172d0
mov ebx, eax
lea esi, [edi + 0x54]
cmp esi, ebx
je 0x415ee3
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x415ebc
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00406dd0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x415ed4
mov eax, dword [esi]
jmp 0x415ed6
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00409440
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x415eff
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406dd0
mov ebx, dword [0x590f60]
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.00406670
push 0xc
push str.DL_TYPE_d_r_n
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 1
call fcn.00406890
mov dword [ebp - 0x5c], eax
cmp dword [eax + 0x14], 8
jb 0x415f56
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.0044b550
mov dword [ebp - 4], 0xffffffff
add esp, 0x34
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x415fb9
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406dd0
cmp dword [edi + 4], 0
jne 0x41616f
sub ebx, 2
je 0x4160d2
sub ebx, 1
je 0x416055
push 0xf8
call fcn.004f173a
mov ebx, eax
mov dword [ebp - 0x60], ebx
push 0xf8
push 0
push ebx
mov dword [ebp - 4], 0xa
call fcn.004ae860
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 0x416029
mov ecx, dword [esi]
jmp 0x41602b
mov ecx, esi
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x416036
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.004099d0
mov dword [edi + 4], eax
mov dword [ebp - 4], 0xd
jmp 0x41614d
push 0xf0
call fcn.004f173a
mov ebx, eax
mov dword [ebp - 0x60], ebx
push 0xf0
push 0
push ebx
mov dword [ebp - 4], 2
call fcn.004ae860
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 0x4160a9
mov ecx, dword [esi]
jmp 0x4160ab
mov ecx, esi
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x4160b6
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0040e370
mov dword [edi + 4], eax
mov dword [ebp - 4], 5
jmp 0x41614d
push 0xe8
call fcn.004f173a
mov ebx, eax
mov dword [ebp - 0x60], ebx
push 0xe8
push 0
push ebx
mov dword [ebp - 4], 6
call fcn.004ae860
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 0x416126
mov ecx, dword [esi]
jmp 0x416128
mov ecx, esi
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x416133
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.004154a0
mov dword [edi + 4], eax
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x416168
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 0x4162b9
push 0x98
call fcn.004f173a
mov ebx, eax
mov dword [ebp - 0x60], ebx
push 0x98
push 0
push ebx
mov dword [ebp - 4], 0xe
call fcn.004ae860
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.00417390
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x78]
push 0x570c24
mov edx, eax
mov dword [ebp - 0x5c], 0x18
call fcn.00417460
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 0x416207
mov edx, dword [edx]
cmp dword [ecx + 0x14], 8
jb 0x41620f
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.00417790
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x416250
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406dd0
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 0x416279
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406dd0
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 0x4162b2
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 0x4162c4
mov edx, dword [edx]
cmp word [edx], 0
mov ebx, dword [edi + 8]
jne 0x4162d1
xor ecx, ecx
jmp 0x4162e5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4162d6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x40]
call fcn.00406670
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 0x416332
mov eax, dword [esi]
jmp 0x416334
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41645d
lea eax, [ebp - 0x58]
push eax
call fcn.00417210
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0x16
push eax
mov ecx, edi
call fcn.00417140
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 0x416375
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x80
call fcn.004f173a
mov esi, eax
mov dword [ebp - 0x60], esi
push 0x80
push 0
push esi
call fcn.004ae860
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.00412100
mov dword [edi], eax
mov dword [ebp - 4], 0x1b
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x416412
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.00412340
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x416432
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00406dd0
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 0x416464
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00406dd0
jmp 0x416464
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.004f16f8
mov esp, ebp
pop ebp
ret