Function at 0x4032d0
Capabilities:
Copy file

Disassembly:
mov eax, 0x42864c
call fcn.00410ccc
sub esp, 0x2a4
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x54]
call fcn.00405040
mov eax, dword [0x436704]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x500]
mov byte [ebp - 4], 3
mov edi, 0x4342a8
cmp dword [eax + 0x338], ebx
jne 0x40352f
mov ecx, dword [eax + 0x23c]
cmp dword [ecx], ebx
je 0x40352f
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [eax + 0x2c8]
add eax, dword [ebp - 0x20]
cmp dword [ecx + eax*4 + 4], ebx
je 0x40350f
mov eax, dword [ebp - 0x1c]
add ecx, eax
cmp dword [ecx + 0x10], ebx
je 0x40350f
push dword [ecx]
lea ecx, [ebp - 0x14]
call fcn.0041ef25
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x500]
add eax, 0x36c
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041ef8a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0041eed5
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0041ede8
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4034f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
mov dword [ebp - 0x30], eax
je 0x403442
cmp eax, 0x20
je 0x403442
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push str.CopyFile_
push eax
call fcn.0041f064
push 0x434298
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call fcn.0041eff0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041ef8a
push edi
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
call fcn.0041eff0
push dword [eax]
mov byte [ebp - 4], 8
push dword [ebp - 0x30]
call fcn.0040bc53
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.0041ede8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0041ede8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0041ede8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0041ede8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 8]
dec eax
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041d68a
push 0x434294
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
call fcn.0041eff0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.0041eed5
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0041ede8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041ede8
push ebx
push dword [ebp - 0x18]
call fcn.0040ecf4
pop ecx
cmp eax, 3
pop ecx
jg 0x40370e
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x403675
push dword [ebp - 0x18]
mov ecx, dword [esi + 0x500]
call fcn.0040e830
test eax, eax
je 0x40370e
mov eax, dword [esi + 0x500]
push dword [eax + 0x354]
lea eax, [ebp - 0x2b0]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push eax
call fcn.004094b6
add esp, 0x10
cmp eax, 2
jg 0x403701
jmp 0x40350f
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x500]
call fcn.0040e830
test eax, eax
je 0x40383f
mov eax, dword [esi + 0x500]
add dword [ebp - 0x1c], 0x24
mov edx, dword [ebp - 0x1c]
add dword [ebp - 0x20], 9
mov ecx, dword [eax + 0x23c]
cmp dword [edx + ecx], ebx
jne 0x40332f
push ebx
push 0x20006
push str.SoftwareHighCriteriaTotalRecorder5.2
push 0x80000002
lea ecx, [ebp - 0x54]
call fcn.004050b2
mov eax, dword [esi + 0x500]
lea ecx, [ebp - 0x54]
push dword [eax + 0x35c]
push str.Path
call fcn.0040566d
lea ecx, [ebp - 0x54]
call fcn.0040523e
call fcn.0040f420
mov eax, dword [esi + 0x500]
push ebx
mov eax, dword [eax + 0x35c]
push eax
call fcn.0040dc7d
pop ecx
test eax, eax
pop ecx
je 0x40383f
mov ecx, dword [esi + 0x500]
mov eax, dword [ecx + 0x23c]
cmp dword [eax], ebx
je 0x403770
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ecx + 0x2c8]
add ecx, dword [ebp - 0x20]
cmp dword [eax + ecx*4 + 4], ebx
je 0x403750
mov ecx, dword [ebp - 0x1c]
add eax, ecx
cmp dword [eax + 0xc], ebx
je 0x403750
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.0041ef25
mov eax, dword [esi + 0x500]
push 0x434124
add eax, 0x35c
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041eff0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041ef8a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x10
call fcn.0041eed5
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.0041ede8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0041ede8
mov eax, dword [esi + 0x500]
mov ecx, dword [ebp - 0x1c]
push ebx
mov eax, dword [eax + 0x23c]
push dword [ebp - 0x10]
cmp dword [eax + ecx + 0x18], ebx
jne 0x403741
call fcn.0040ecf4
pop ecx
cmp eax, 3
pop ecx
jg 0x40383f
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4037b3
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x500]
call fcn.0040e830
jmp 0x403748
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push str.CopyFile_
push eax
call fcn.0041f064
push 0x434298
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
push eax
call fcn.0041eff0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041ef8a
push edi
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xd
push eax
call fcn.0041eff0
push dword [eax]
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040bc53
pop ecx
mov byte [ebp - 4], 0xd
pop ecx
lea ecx, [ebp - 0x24]
call fcn.0041ede8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0041ede8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.0041ede8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0041ede8
jmp 0x40370e
lea eax, [ebp - 0x2b0]
push eax
call fcn.0040bd64
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0041ede8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0041ede8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0041ede8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00405079
xor eax, eax
jmp 0x4037a4
call fcn.0040dc7d
pop ecx
pop ecx
test eax, eax
je 0x40383f
mov ecx, dword [esi + 0x500]
add dword [ebp - 0x1c], 0x24
mov edx, dword [ebp - 0x1c]
add dword [ebp - 0x20], 9
mov eax, dword [ecx + 0x23c]
cmp dword [edx + eax], ebx
jne 0x4035a4
push 1
pop esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0041ede8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0041ede8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0041ede8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00405079
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push str.CopyFile_
push eax
call fcn.0041f064
push 0x434298
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x11
push eax
call fcn.0041eff0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x12
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041ef8a
push edi
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x13
push eax
call fcn.0041eff0
push dword [eax]
mov byte [ebp - 4], 0x14
push esi
call fcn.0040bc53
pop ecx
mov byte [ebp - 4], 0x13
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0041ede8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
call fcn.0041ede8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
call fcn.0041ede8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0041ede8
xor esi, esi
jmp 0x403773