Function at 0x45a170
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.0046e900
add eax, 0x14
push eax
test esi, esi
je 0x45a226
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 + 8]
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 0x45a1d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x556338
push 0x53d38c
lea ecx, [ebp + 8]
call fcn.00423850
push esi
mov esi, dword [ebp + 8]
push ecx
add esi, 0xfffffff0
mov edi, esp
push esi
call fcn.00403b50
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00467040
mov ecx, eax
call fcn.004681b0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a398
mov ecx, dword [esi]
push esi
jmp 0x45a391
call fcn.0045f340
add eax, 0x1078
push eax
lea eax, [ebp - 4]
push eax
call fcn.004284d0
mov edi, dword [ebp - 4]
add esp, 0xc
push 0
push ecx
lea ebx, [edi - 0x10]
mov esi, esp
push ebx
call fcn.00403b50
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00467040
mov ecx, eax
call fcn.004681b0
test eax, eax
jle 0x45a37f
mov edx, dword [0x56c260]
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
add eax, 0x10
mov dword [ebp + 8], eax
call fcn.0046e900
add eax, 0x14
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 + 8]
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 0x45a2da
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 0x45a2f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x556338
push 0x53d38c
lea ecx, [ebp + 8]
call fcn.00423850
mov esi, dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x45a363
push str..temp
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp + 8]
push edx
call fcn.00428550
mov eax, dword [eax]
push eax
push edi
call fcn.00504eff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a359
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a37f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a398
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4