Function at 0x1000c2a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038623
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x10063b60]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0x44c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10006810
movzx eax, al
test eax, eax
je 0x1000c321
push 0
mov ecx, dword [ebp + 8]
call fcn.10006fa0
mov ecx, dword [ebp - 0x44c]
or ecx, 1
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10007040
mov eax, dword [ebp + 8]
jmp 0x1000c512
lea ecx, [ebp - 0x10]
call fcn.100070e0
mov byte [ebp - 4], 1
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.10006950
mov byte [ebp - 4], 2
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.10005070
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000c4cd
push 0
lea ecx, [ebp - 0x18]
call fcn.10005250
push eax
call fcn.10020593
add esp, 8
test eax, eax
jne 0x1000c4c1
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.10010c50
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
lea ecx, [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1000fca0
mov dword [ebp - 0x454], eax
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x458], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x458]
push eax
lea ecx, [ebp - 0x10]
call fcn.10006ce0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.10007040
push 0x100591c4
lea ecx, [ebp - 0x10]
call fcn.10006b60
mov byte [ebp - 0x444], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x443]
push ecx
call fcn.100237f0
add esp, 0xc
mov byte [ebp - 0x44], 0
xor edx, edx
mov dword [ebp - 0x43], edx
mov dword [ebp - 0x3f], edx
mov dword [ebp - 0x3b], edx
mov dword [ebp - 0x37], edx
mov word [ebp - 0x33], dx
mov byte [ebp - 0x31], dl
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x26]
push ecx
movzx edx, word [ebp - 0x2a]
push edx
movzx eax, word [ebp - 0x2c]
push eax
push 0x100591cc
push 0x13
lea ecx, [ebp - 0x44]
push ecx
call fcn.10020a86
add esp, 0x18
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x10]
call fcn.10006b60
lea ecx, [ebp - 0x10]
call fcn.10002ef0
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp - 0x1e]
push eax
movzx ecx, word [ebp - 0x20]
push ecx
movzx edx, word [ebp - 0x22]
push edx
movzx eax, word [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x26]
push ecx
movzx edx, word [ebp - 0x2a]
push edx
movzx eax, word [ebp - 0x2c]
push eax
push str.LocalConfigBackup__04d__02d__02d__02d__02d__02d__03d_.ini
push 0x3ff
lea ecx, [ebp - 0x444]
push ecx
call fcn.10020a86
add esp, 0x28
lea edx, [ebp - 0x444]
push edx
lea ecx, [ebp - 0x10]
call fcn.10006b60
push 0
lea ecx, [ebp - 0x10]
call fcn.10005250
push eax
lea ecx, [ebp - 0x18]
call fcn.10005250
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.10010c50
jmp 0x1000c4cd
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.10006ce0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10006950
mov edx, dword [ebp - 0x44c]
or edx, 1
mov dword [ebp - 0x44c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.10007040
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10007040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10007040
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.10020358
mov esp, ebp
pop ebp
ret 8