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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb3f2
mov eax, dword fs:[0]
push eax
sub esp, 0x6fc
mov eax, dword [0x50545c]
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 0x44ed80
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 0x44edc9
push 0x4de820
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.004029d0
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.004029d0
jmp 0x44f586
push 0x4d1934
lea ecx, [ebp + 8]
call fcn.0040ef90
push 0x4d1934
lea ecx, [ebp + 0xc]
call fcn.0040ef90
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 0x44eed8
push 0x4de810
lea ecx, [ebp - 0x54c]
call fcn.00412290
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.0040f190
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.004029d0
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.004029d0
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.004029d0
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.004029d0
jmp 0x44f586
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 0x44ef61
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 0x44ef61
push 0x4de800
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x554]
push ecx
call fcn.0040f270
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.004029d0
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.004931a0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x52c], dx
push 0xfe
push 0
lea eax, [ebp - 0x52a]
push eax
call fcn.004931a0
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00452618
mov byte [ebp - 4], 3
push str..
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x558]
push edx
call fcn.0040f270
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.004526d5
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.004029d0
cmp dword [ebp - 0x530], 0
je 0x44f557
lea ecx, [ebp - 0x24]
call fcn.0045221f
mov dword [ebp - 0x530], eax
lea ecx, [ebp - 0x24]
call fcn.004525c2
test eax, eax
je 0x44f045
jmp 0x44f01c
lea edx, [ebp - 0x534]
push edx
lea ecx, [ebp - 0x24]
call fcn.00452930
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 0x44f286
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x604], eax
push 0x5c
mov ecx, dword [ebp - 0x604]
push ecx
call fcn.00494159
add esp, 8
mov dword [ebp - 0x600], eax
cmp dword [ebp - 0x600], 0
jne 0x44f0a5
mov dword [ebp - 0x6c8], 0xffffffff
jmp 0x44f0b9
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 0x44f281
mov ecx, dword [ebp - 0x538]
add ecx, 1
push ecx
lea edx, [ebp - 0x540]
push edx
lea ecx, [ebp - 0x534]
call fcn.00427550
mov byte [ebp - 4], 6
push 0x4d1934
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x55c]
push ecx
call fcn.0040f270
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.0040f190
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x55c]
call fcn.004129d0
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 0x44f1af
push 0x4de7d8
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x560]
push eax
call fcn.0040f270
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.004129d0
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.00412ee0
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.00412ee0
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.0044ed10
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x53c]
call fcn.004129d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x540]
call fcn.004129d0
jmp 0x44f543
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.0049a6aa
add esp, 0x14
lea edx, [ebp - 0x52c]
push edx
lea ecx, [ebp - 0x56c]
call fcn.00412290
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.00412290
mov dword [ebp - 0x6e4], eax
mov edx, dword [ebp - 0x6e4]
mov dword [ebp - 0x6e8], edx
mov byte [ebp - 4], 0xc
push 0x4d1934
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x574]
push ecx
call fcn.0040f270
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.0040f190
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.0040f190
add esp, 0xc
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x578]
call fcn.004129d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x574]
call fcn.004129d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x570]
call fcn.004129d0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x56c]
call fcn.004129d0
cmp dword [ebp + 0x10], 0
je 0x44f470
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 0x44f46b
push 0x4de7c4
lea ecx, [ebp - 0x57c]
call fcn.00412290
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.0040f190
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.004129d0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x57c]
call fcn.004129d0
jmp 0x44f534
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 0x44f534
push str.___CopyFile
lea ecx, [ebp - 0x584]
call fcn.00412290
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.0040f190
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.004129d0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x584]
call fcn.004129d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x544]
call fcn.004129d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x534]
call fcn.004129d0
jmp 0x44f01c
lea ecx, [ebp - 0x24]
call fcn.00452139
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00452641
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004129d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret