Function at 0x10060af6
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb9d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd24
push esi
lea ecx, [ebp - 0x4d0]
call fcn.100af46b
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.100af46b
mov byte [ebp - 4], 1
mov dword [ebp - 0xba4], 0
mov dword [ebp - 0xba0], 0
lea eax, [ebp - 0xba0]
push eax
call fcn.1002da1b
add esp, 4
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x4d0]
call fcn.100af61d
test eax, eax
je 0x10060bd0
lea ecx, [ebp - 0x4d0]
call fcn.1002e7b0
push 0x4b0
lea edx, [ebp - 0x4c0]
push edx
lea ecx, [ebp - 0x4d0]
call fcn.100af73a
cmp dword [ebp - 0x4c0], 0
jle 0x10060bc3
push 0
mov eax, dword [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.100af7bf
push 4
lea ecx, [ebp - 0xba4]
push ecx
lea ecx, [ebp - 0x4d0]
call fcn.100af73a
lea ecx, [ebp - 0x4d0]
call fcn.100af838
jmp 0x10060bf6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.100af560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.100af560
jmp 0x1006162d
mov edx, dword [ebp - 0xba4]
push edx
call fcn.1002de05
add esp, 4
cmp eax, dword [0x100cc638]
jle 0x10060c8a
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov ecx, dword [0x101aa7f8]
cmp dword [ecx], 0xf423f
jne 0x10060c4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.100af560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.100af560
jmp 0x1006162d
mov edx, dword [0x101aa7f8]
mov dword [edx], 0xf423f
push 0
push 0
push 0x100cdba0
call fcn.100b6526
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.100af560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.100af560
jmp 0x1006162d
mov eax, dword [ebp - 0xba4]
push eax
call fcn.1002de22
add esp, 4
cmp eax, 0x28
jne 0x10060d40
mov dword [ebp - 0xbac], 0
lea ecx, [ebp - 0xbac]
push ecx
call fcn.10040d70
add esp, 4
cmp dword [ebp - 0xbac], 1
je 0x10060d40
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
mov eax, dword [0x101aa7f8]
cmp dword [eax], 0xf423f
jne 0x10060d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.100af560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.100af560
jmp 0x1006162d
mov ecx, dword [0x101aa7f8]
mov dword [ecx], 0xf423f
push 0
push 0
push 0x100cdbbc
call fcn.100b6526
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.100af560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.100af560
jmp 0x1006162d
mov edx, dword [ebp - 0xba4]
push edx
call fcn.1002de05
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0xba0]
push eax
call fcn.1002de05
add esp, 4
cmp esi, eax
je 0x10060d6d
cmp dword [ebp - 0xba4], 0
jne 0x10060d93
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.100af560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.100af560
jmp 0x1006162d
mov ecx, dword [ebp - 0xba4]
push ecx
call fcn.1002de05
add esp, 4
mov edx, dword [0x101aa7f8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
push eax
call fcn.1009fc50
add esp, 4
mov dword [ebp - 0xa9c], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xa98]
push edx
call fcn.1009fb20
add esp, 8
mov eax, dword [ebp - 0xa9c]
mov byte [ebp + eax - 0xa99], 0x54
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xba8]
call fcn.100aef4b
mov byte [ebp - 4], 2
push 0
push 0x100cdbd4
lea ecx, [ebp - 0xba8]
call fcn.100adf69
mov dword [ebp - 0x998], eax
mov edx, dword [ebp - 0x998]
push edx
lea eax, [ebp - 0xd24]
push eax
lea ecx, [ebp - 0xba8]
call fcn.100adef1
mov dword [ebp - 0xd28], eax
mov ecx, dword [ebp - 0xd28]
mov dword [ebp - 0xd2c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xd2c]
push edx
lea ecx, [ebp - 0xba8]
call fcn.100af016
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd24]
call fcn.100aeedd
lea ecx, [ebp - 0xba8]
call fcn.1002ad80
push eax
lea eax, [ebp - 0xb9c]
push eax
call fcn.1009fb20
add esp, 8
mov ecx, dword [ebp - 0xba4]
push ecx
push str.__d.bak
lea edx, [ebp - 0xba8]
push edx
call fcn.100ae2e1
add esp, 0xc
lea ecx, [ebp - 0xba8]
call fcn.1002ad80
push eax
lea eax, [ebp - 0xb9c]
push eax
call fcn.1009fb30
add esp, 8
push 0
lea ecx, [ebp - 0xa98]
push ecx
call fcn.1009fe31
add esp, 8
cmp eax, 0xffffffff
je 0x10060ecc
lea edx, [ebp - 0xa98]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x4e4], 0x10
mov eax, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
cmp dword [eax], 0
je 0x10060f05
push 0x10
push 0x100cdbe0
lea ecx, [ebp - 0x4e4]
push ecx
mov edx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov ecx, dword [edx]
mov eax, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov edx, dword [eax]
mov eax, dword [edx]
call dword [eax + 0xcb4]
mov dword [ebp - 0x4e4], 0xa
mov ecx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
cmp dword [ecx], 0
je 0x10060f38
lea edx, [ebp - 0x4e4]
push edx
mov eax, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov ecx, dword [eax]
mov edx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x330]
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.100af61d
test eax, eax
je 0x10061591
push 0
push 0x1002
lea ecx, [ebp - 0xa98]
push ecx
lea ecx, [ebp - 0x4e0]
call fcn.100af61d
cmp eax, 1
jne 0x10061549
mov edx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
cmp dword [edx], 0
je 0x10060fa9
mov dword [ebp - 0x4e4], 0x14
lea eax, [ebp - 0x4e4]
push eax
mov ecx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov ecx, dword [ecx]
mov edx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x330]
mov dword [ebp - 0xbb4], 0
push str.08_
lea ecx, [ebp - 0xbb0]
call fcn.100aef4b
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xba4]
push eax
call fcn.1002de05
add esp, 4
cmp eax, 0x13cdf
jg 0x10060fe7
mov dword [ebp - 0xbb4], 1
mov ecx, dword [ebp - 0xba4]
push ecx
call fcn.1002de05
add esp, 4
cmp eax, 0x18b58
jl 0x1006102d
mov edx, dword [ebp - 0xba4]
push edx
call fcn.1002de05
add esp, 4
cmp eax, 0x18b5f
jg 0x1006102d
push str.10_
lea ecx, [ebp - 0xbb0]
call fcn.100af066
mov dword [ebp - 0xbb4], 1
mov eax, dword [ebp - 0xba4]
push eax
call fcn.1002de05
add esp, 4
cmp eax, 0x1d58f
jl 0x10061073
mov ecx, dword [ebp - 0xba4]
push ecx
call fcn.1002de05
add esp, 4
cmp eax, 0x1d6bc
jg 0x10061073
push str.12_
lea ecx, [ebp - 0xbb0]
call fcn.100af066
mov dword [ebp - 0xbb4], 1
cmp dword [ebp - 0xbb4], 1
jne 0x100611b0
lea ecx, [ebp - 0xbb0]
call fcn.1002ad80
push eax
call fcn.100a05ae
add esp, 4
mov dword [ebp - 0xcd0], 0x100
mov dword [ebp - 0xbbc], 0
lea edx, [ebp - 0xbbc]
push edx
mov eax, dword [ebp - 0xcd0]
push eax
lea ecx, [ebp - 0xccc]
push ecx
call fcn.10093060
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xbcc]
call fcn.100aef4b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbcc]
call fcn.100af33e
push 0x100cdc24
push 0x100cdc2c
lea ecx, [ebp - 0xbcc]
call fcn.100add8e
lea eax, [ebp - 0xbb0]
push eax
lea ecx, [ebp - 0xccc]
push ecx
lea edx, [ebp - 0xbc8]
push edx
call fcn.100af180
mov byte [ebp - 4], 6
push 0x100cdc34
lea ecx, [ebp - 0xbc8]
call fcn.100af253
lea eax, [ebp - 0xbcc]
push eax
lea ecx, [ebp - 0xbc8]
call fcn.100af28f
lea ecx, [ebp - 0xccc]
push ecx
lea ecx, [ebp - 0xbc4]
call fcn.100aef4b
mov byte [ebp - 4], 7
lea edx, [ebp - 0xbcc]
push edx
lea ecx, [ebp - 0xbc4]
call fcn.100af28f
push 0
lea ecx, [ebp - 0xbc8]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0xbc4]
call fcn.1002ad80
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0xbc0], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xbc4]
call fcn.100aeedd
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc8]
call fcn.100aeedd
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbcc]
call fcn.100aeedd
push 0
lea eax, [ebp - 0xba4]
push eax
lea ecx, [ebp - 0x4c0]
push ecx
lea edx, [ebp - 0x4d0]
push edx
push 0
call fcn.10062cdc
add esp, 0x14
push 0
lea eax, [ebp - 0xba0]
push eax
lea ecx, [ebp - 0x994]
push ecx
lea edx, [ebp - 0x4e0]
push edx
push 1
call fcn.10062cdc
add esp, 0x14
mov dword [ebp - 0xbb8], 0
jmp 0x1006120d
mov eax, dword [ebp - 0xbb8]
add eax, 1
mov dword [ebp - 0xbb8], eax
mov ecx, dword [0x101aa744]
mov edx, dword [ebp - 0xbb8]
cmp edx, dword [ecx]
jge 0x10061362
mov eax, dword [ebp - 0xbb8]
add eax, 1
mov dword [ebp - 0xd30], eax
fild dword [ebp - 0xd30]
fmul qword [0x100bd580]
mov ecx, dword [0x101aa744]
fidiv dword [ecx]
fmul qword [0x100bd558]
fadd qword [0x100bdb48]
call fcn.1009f9a8
mov dword [ebp - 0x4e4], eax
mov edx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
cmp dword [edx], 0
je 0x10061285
lea eax, [ebp - 0x4e4]
push eax
mov ecx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov ecx, dword [ecx]
mov edx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x330]
mov eax, dword [ebp - 0xbb8]
mov ecx, dword [ebp + eax*4 - 0x330]
mov dword [ebp - 0x10], ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0xba4]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x4d0]
push ecx
push 0
call fcn.1006cab3
add esp, 0x1c
push 1
call fcn.10045046
add esp, 4
cmp dword [ebp - 0xba4], 0x1137b
jge 0x100612d2
call fcn.10090670
push 1
push 0
push 0
mov edx, dword [ebp - 0xba0]
push edx
lea eax, [ebp - 0x998]
push eax
lea ecx, [ebp - 0x4e0]
push ecx
push 1
call fcn.1006cab3
add esp, 0x1c
mov edx, dword [ebp - 0xbb8]
mov eax, dword [ebp - 0x998]
mov dword [ebp + edx*4 - 0x804], eax
cmp dword [ebp - 0xbb8], 0
jne 0x1006135d
mov dword [ebp - 0xcd4], 0
jmp 0x1006132e
mov ecx, dword [ebp - 0xcd4]
add ecx, 1
mov dword [ebp - 0xcd4], ecx
cmp dword [ebp - 0xcd4], 1
jge 0x1006134c
mov edx, dword [ebp - 0xcd4]
mov eax, dword [ebp - 0x998]
mov dword [edx*4 + 0x101aa468], eax
jmp 0x1006131f
mov ecx, dword [ebp - 0xbb8]
mov dword [ebp + ecx*4 - 0x804], 1
jmp 0x100611fe
lea ecx, [ebp - 0x4e0]
call fcn.100af7ee
mov edx, dword [ebp - 0xbb8]
mov dword [ebp + edx*4 - 0x804], eax
mov eax, dword [ebp - 0xba0]
push eax
call fcn.1002de05
add esp, 4
cmp eax, 0x18b58
jl 0x100613f7
mov ecx, dword [ebp - 0xba0]
push ecx
call fcn.1002de05
add esp, 4
cmp eax, dword [0x100cc638]
jg 0x100613f7
mov edx, dword [ebp - 0x92c]
mov dword [ebp - 0xcf8], edx
lea eax, [ebp - 0xcf4]
push eax
push 0x101aa3fc
push 0x101aa40c
call fcn.10076626
add esp, 0xc
push 0
mov ecx, dword [ebp - 0xcf8]
push ecx
lea ecx, [ebp - 0x4e0]
call fcn.100af7bf
push 0xe0
mov edx, dword [0x101aa950]
push edx
lea ecx, [ebp - 0x4e0]
call fcn.100af774
mov eax, dword [ebp - 0xba0]
push eax
call fcn.1002de05
add esp, 4
cmp eax, 0x1d58f
jl 0x10061455
mov ecx, dword [ebp - 0xba0]
push ecx
call fcn.1002de05
add esp, 4
cmp eax, dword [0x100cc638]
jg 0x10061455
mov dword [ebp - 0xcfc], 1
mov dword [ebp - 0xd00], 0
mov edx, dword [ebp - 0xd00]
push edx
lea eax, [ebp - 0x994]
push eax
lea ecx, [ebp - 0xcfc]
push ecx
call fcn.10076d55
add esp, 0xc
lea ecx, [ebp - 0x4e0]
call fcn.1002e7b0
push 0x4b0
lea edx, [ebp - 0x994]
push edx
lea ecx, [ebp - 0x4e0]
call fcn.100af774
cmp dword [ebp - 0x92c], 0
jle 0x100614f2
mov eax, dword [ebp - 0xba0]
push eax
call fcn.1002de05
add esp, 4
cmp eax, 0x18b58
jl 0x100614f2
mov ecx, dword [ebp - 0xba0]
push ecx
call fcn.1002de05
add esp, 4
cmp eax, dword [0x100cc638]
jg 0x100614f2
push 0
mov edx, dword [ebp - 0x92c]
push edx
lea ecx, [ebp - 0x4e0]
call fcn.100af7bf
push 0xe0
mov eax, dword [0x101aa950]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.100af73a
lea ecx, [ebp - 0xd20]
push ecx
push 0x101aa3fc
lea edx, [ebp - 0x994]
push edx
call fcn.10075e00
add esp, 0xc
mov eax, dword [0x101aa76c]
mov ecx, dword [eax]
mov edx, dword [ebp + ecx*4 - 0x808]
mov dword [ebp - 0x10], edx
push 1
push 0
push 0
mov eax, dword [ebp - 0xba0]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x4e0]
push edx
push 0
call fcn.1006cab3
add esp, 0x1c
push 1
call fcn.10045046
add esp, 4
lea ecx, [ebp - 0x4e0]
call fcn.100af838
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbb0]
call fcn.100aeedd
lea ecx, [ebp - 0x4d0]
call fcn.100af838
lea eax, [ebp - 0xb9c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0xb9c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xa98]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x4e4], 8
mov eax, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
cmp dword [eax], 0
je 0x100615ca
push 8
push 0x100cdc38
lea ecx, [ebp - 0x4e4]
push ecx
mov edx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov ecx, dword [edx]
mov eax, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov edx, dword [eax]
mov eax, dword [edx]
call dword [eax + 0xcb4]
mov dword [ebp - 0x4e4], 0
mov ecx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
cmp dword [ecx], 0
je 0x100615fd
lea edx, [ebp - 0x4e4]
push edx
mov eax, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov ecx, dword [eax]
mov edx, dword [sym.imp.CfgDll55_V6.dll_m_pCfg]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x330]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xba8]
call fcn.100aeedd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.100af560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.100af560
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret