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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
push 0x53cbd0
call fcn.0042ad10
call fcn.0046e900
add eax, 0x10
cmp dword [ebp + 0xc], 0
push eax
je 0x45c865
push str.Config_
call fcn.0045f340
add eax, 0x1064
push eax
lea eax, [ebp - 4]
push eax
call fcn.00428550
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
push ecx
call fcn.004284d0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c7e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x556338
push 0x53d38c
lea ecx, [ebp + 0xc]
call fcn.00423850
mov esi, dword [ebp + 0xc]
push ecx
add esi, 0xfffffff0
mov ebx, esp
push esi
call fcn.00403b50
add esp, 4
lea ecx, [ebp + 0xc]
add eax, 0x10
push ecx
mov ecx, edi
mov dword [ebx], eax
call fcn.0045c600
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.00423fc0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c841
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c85a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0045f340
add eax, 0x1078
push eax
lea eax, [ebp - 4]
push eax
call fcn.004284d0
mov ebx, dword [ebp - 4]
add esp, 8
lea eax, [ebx - 0x10]
mov esi, esp
push eax
mov dword [ebp - 0x10], eax
call fcn.00403b50
add esp, 4
lea ecx, [ebp + 0xc]
add eax, 0x10
push ecx
mov ecx, edi
mov dword [esi], eax
call fcn.0045c600
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.00423fc0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c8ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push 0x5462ac
push eax
call fcn.004fe94a
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 8
test eax, eax
je 0x45c9f5
mov edx, dword [0x56c260]
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
call fcn.0046e900
add eax, 0x10
push eax
push str.Config_
call fcn.0045f340
add eax, 0x1064
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00428550
add esp, 0xc
push eax
lea edx, [ebp - 8]
push edx
call fcn.004284d0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.00423fc0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c958
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c977
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x556338
push 0x53d38c
lea ecx, [ebp + 0xc]
call fcn.00423850
mov esi, dword [ebp + 0xc]
push 0
push esi
push ebx
call edi
test eax, eax
jne 0x45c9d9
push str..temp
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.00428550
mov eax, dword [eax]
push eax
push ebx
call fcn.00504eff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c9d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push esi
push ebx
call edi
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c9f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0046e900
add eax, 0x14
push eax
call fcn.0045f340
add eax, 0x1078
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004284d0
mov esi, dword [ebp - 4]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45cb34
mov edx, dword [0x56c260]
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
call fcn.0046e900
add eax, 0x14
push eax
push str.Config_
call fcn.0045f340
add eax, 0x1064
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00428550
add esp, 0xc
push eax
lea edx, [ebp - 0xc]
push edx
call fcn.004284d0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.00423fc0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ca97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x556338
push 0x53d38c
lea ecx, [ebp + 0xc]
call fcn.00423850
mov ebx, dword [ebp + 0xc]
push 0
push ebx
push esi
call edi
test eax, eax
jne 0x45cb18
push str..temp
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.00428550
mov eax, dword [eax]
push eax
push esi
call fcn.00504eff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cb12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push ebx
push esi
call edi
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cb34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cb50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cb6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8