Function at 0x4460a0
Capabilities:
Check if file exists
Copy file
Create directory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2692
mov eax, dword fs:[0]
push eax
sub esp, 0x6fc
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x58c], ecx
xor edx, edx
cmp dword [ebp - 0x58c], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x446110
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x590], edx
xor eax, eax
cmp dword [ebp - 0x590], 0
sete al
movzx ecx, al
test ecx, ecx
je 0x446159
push 0x4d157c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x594], edx
mov ecx, dword [ebp - 0x594]
call fcn.00403de0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
sub eax, 0x10
mov dword [ebp - 0x598], eax
mov ecx, dword [ebp - 0x598]
call fcn.00403de0
jmp 0x446916
push 0x4c8d8c
lea ecx, [ebp + 8]
call fcn.0040f690
push 0x4c8d8c
lea ecx, [ebp + 0xc]
call fcn.0040f690
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x5bc], ecx
mov edx, dword [ebp - 0x5bc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x446268
push 0x4d156c
lea ecx, [ebp - 0x54c]
call fcn.00411290
mov dword [ebp - 0x6bc], eax
mov eax, dword [ebp - 0x6bc]
mov dword [ebp - 0x6c0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x6c0]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x550]
push eax
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0x5c8], eax
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ecx]
mov dword [ebp - 0x5cc], edx
mov eax, dword [ebp - 0x5cc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x550]
sub ecx, 0x10
mov dword [ebp - 0x5d0], ecx
mov ecx, dword [ebp - 0x5d0]
call fcn.00403de0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x54c]
sub edx, 0x10
mov dword [ebp - 0x5d4], edx
mov ecx, dword [ebp - 0x5d4]
call fcn.00403de0
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0x5d8], eax
mov ecx, dword [ebp - 0x5d8]
call fcn.00403de0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
sub ecx, 0x10
mov dword [ebp - 0x5dc], ecx
mov ecx, dword [ebp - 0x5dc]
call fcn.00403de0
jmp 0x446916
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x5e0], edx
mov eax, dword [ebp - 0x5e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4462f1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x5e4], ecx
push 0
mov edx, dword [ebp - 0x5e4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4462f1
push 0x4d155c
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x554]
push ecx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x5e8], eax
mov edx, dword [ebp - 0x5e8]
mov eax, dword [edx]
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x5ec]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x554]
sub edx, 0x10
mov dword [ebp - 0x5f0], edx
mov ecx, dword [ebp - 0x5f0]
call fcn.00403de0
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.0048ac80
add esp, 0xc
xor edx, edx
mov word [ebp - 0x52c], dx
push 0xfe
push 0
lea eax, [ebp - 0x52a]
push eax
call fcn.0048ac80
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00449fa0
mov byte [ebp - 4], 3
push str..
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x558]
push edx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x6c4], eax
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x5f4], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ecx]
mov dword [ebp - 0x5f8], edx
push 0
mov eax, dword [ebp - 0x5f8]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044a05d
mov dword [ebp - 0x530], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x558]
sub ecx, 0x10
mov dword [ebp - 0x5fc], ecx
mov ecx, dword [ebp - 0x5fc]
call fcn.00403de0
cmp dword [ebp - 0x530], 0
je 0x4468e7
lea ecx, [ebp - 0x24]
call fcn.00449bbe
mov dword [ebp - 0x530], eax
lea ecx, [ebp - 0x24]
call fcn.00449f61
test eax, eax
je 0x4463d5
jmp 0x4463ac
lea edx, [ebp - 0x534]
push edx
lea ecx, [ebp - 0x24]
call fcn.0044a2b8
mov byte [ebp - 4], 5
push 0x10
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov edx, dword [eax + 0x38]
call edx
test eax, eax
je 0x446616
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x604], eax
push 0x5c
mov ecx, dword [ebp - 0x604]
push ecx
call fcn.0048ce56
add esp, 8
mov dword [ebp - 0x600], eax
cmp dword [ebp - 0x600], 0
jne 0x446435
mov dword [ebp - 0x6c8], 0xffffffff
jmp 0x446449
mov edx, dword [ebp - 0x600]
sub edx, dword [ebp - 0x534]
sar edx, 1
mov dword [ebp - 0x6c8], edx
mov eax, dword [ebp - 0x6c8]
mov dword [ebp - 0x538], eax
cmp dword [ebp - 0x538], 0xffffffff
je 0x446611
mov ecx, dword [ebp - 0x538]
add ecx, 1
push ecx
lea edx, [ebp - 0x540]
push edx
lea ecx, [ebp - 0x534]
call fcn.0043be10
mov byte [ebp - 4], 6
push 0x4c8d8c
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x55c]
push ecx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x6cc], eax
mov edx, dword [ebp - 0x6cc]
mov dword [ebp - 0x6d0], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x540]
push eax
mov ecx, dword [ebp - 0x6d0]
push ecx
lea edx, [ebp - 0x53c]
push edx
call fcn.0040f890
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x55c]
call fcn.00402470
mov eax, dword [ebp - 0x53c]
mov dword [ebp - 0x60c], eax
push 0
mov ecx, dword [ebp - 0x60c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44653f
push 0x4d1534
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x560]
push eax
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x610], eax
mov ecx, dword [ebp - 0x610]
mov edx, dword [ecx]
mov dword [ebp - 0x614], edx
mov eax, dword [ebp - 0x614]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x560]
call fcn.00402470
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x564], esp
mov dword [ebp - 0x624], edx
mov eax, dword [ebp - 0x53c]
sub eax, 0x10
mov dword [ebp - 0x61c], eax
mov ecx, dword [ebp - 0x61c]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x620], eax
mov edx, dword [ebp - 0x620]
add edx, 0x10
mov eax, dword [ebp - 0x624]
mov dword [eax], edx
mov ecx, dword [ebp - 0x624]
mov dword [ebp - 0x6d4], ecx
mov byte [ebp - 4], 0xa
push ecx
mov edx, esp
mov dword [ebp - 0x568], esp
mov dword [ebp - 0x630], edx
mov eax, dword [ebp - 0x534]
sub eax, 0x10
mov dword [ebp - 0x628], eax
mov ecx, dword [ebp - 0x628]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x62c], eax
mov edx, dword [ebp - 0x62c]
add edx, 0x10
mov eax, dword [ebp - 0x630]
mov dword [eax], edx
mov ecx, dword [ebp - 0x630]
mov dword [ebp - 0x6d8], ecx
mov byte [ebp - 4], 9
call fcn.004460a0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x53c]
call fcn.00402470
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x540]
call fcn.00402470
jmp 0x4468d3
lea edx, [ebp - 0x52c]
push edx
lea eax, [ebp - 0x42c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x534]
push ecx
call fcn.00490d13
add esp, 0x14
lea edx, [ebp - 0x52c]
push edx
lea ecx, [ebp - 0x56c]
call fcn.00411290
mov dword [ebp - 0x6dc], eax
mov eax, dword [ebp - 0x6dc]
mov dword [ebp - 0x6e0], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x570]
call fcn.00411290
mov dword [ebp - 0x6e4], eax
mov edx, dword [ebp - 0x6e4]
mov dword [ebp - 0x6e8], edx
mov byte [ebp - 4], 0xc
push 0x4c8d8c
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x574]
push ecx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x6ec], eax
mov edx, dword [ebp - 0x6ec]
mov dword [ebp - 0x6f0], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x6e8]
push eax
mov ecx, dword [ebp - 0x6f0]
push ecx
lea edx, [ebp - 0x578]
push edx
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0x6f4], eax
mov eax, dword [ebp - 0x6f4]
mov dword [ebp - 0x6f8], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x6e0]
push ecx
mov edx, dword [ebp - 0x6f8]
push edx
lea eax, [ebp - 0x544]
push eax
call fcn.0040f890
add esp, 0xc
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x578]
call fcn.00402470
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x574]
call fcn.00402470
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x570]
call fcn.00402470
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x56c]
call fcn.00402470
cmp dword [ebp + 0x10], 0
je 0x446800
mov ecx, dword [ebp - 0x544]
mov dword [ebp - 0x65c], ecx
mov edx, dword [ebp - 0x534]
mov dword [ebp - 0x660], edx
push 0
mov eax, dword [ebp - 0x65c]
push eax
mov ecx, dword [ebp - 0x660]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4467fb
push 0x4d1520
lea ecx, [ebp - 0x57c]
call fcn.00411290
mov dword [ebp - 0x6fc], eax
mov edx, dword [ebp - 0x6fc]
mov dword [ebp - 0x700], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x700]
push eax
lea ecx, [ebp - 0x534]
push ecx
lea edx, [ebp - 0x580]
push edx
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0x674], eax
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
mov dword [ebp - 0x678], ecx
mov edx, dword [ebp - 0x678]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x580]
call fcn.00402470
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x57c]
call fcn.00402470
jmp 0x4468c4
xor eax, eax
cmp dword [ebp + 0x10], 0
sete al
mov dword [ebp - 0x548], eax
mov ecx, dword [ebp - 0x544]
mov dword [ebp - 0x684], ecx
mov edx, dword [ebp - 0x534]
mov dword [ebp - 0x688], edx
mov eax, dword [ebp - 0x548]
push eax
mov ecx, dword [ebp - 0x684]
push ecx
mov edx, dword [ebp - 0x688]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4468c4
push str.___CopyFile
lea ecx, [ebp - 0x584]
call fcn.00411290
mov dword [ebp - 0x704], eax
mov eax, dword [ebp - 0x704]
mov dword [ebp - 0x708], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x708]
push ecx
lea edx, [ebp - 0x534]
push edx
lea eax, [ebp - 0x588]
push eax
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0x69c], eax
mov ecx, dword [ebp - 0x69c]
mov edx, dword [ecx]
mov dword [ebp - 0x6a0], edx
mov eax, dword [ebp - 0x6a0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x588]
call fcn.00402470
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x584]
call fcn.00402470
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x544]
call fcn.00402470
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x534]
call fcn.00402470
jmp 0x4463ac
lea ecx, [ebp - 0x24]
call fcn.00449ad8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00449fc9
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret