Function at 0x469c10
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575cfd
mov eax, dword fs:[0]
push eax
mov eax, 0x111c
call fcn.0052c270
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x1120], 0
mov dword [ebp - 0x111c], eax
mov dword [ebp - 0x1128], eax
mov eax, dword [ecx]
lea ecx, [ebp - 0x1110]
push dword [eax + 4]
push dword [eax + 0xc]
call fcn.0043b040
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1110]
push 0
push esi
push edi
push eax
call fcn.0043c6a0
mov eax, dword [ebp - 0x111c]
add esp, 0x10
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea ecx, [ebp - 0x1110]
mov dword [ebp - 0x1120], 1
call fcn.0043b7b0
mov esi, eax
mov dword [ebp - 0x1114], esi
test esi, esi
je 0x46a020
call fcn.0040baa0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.0042fb90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ebx
call fcn.004029a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00423c40
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x469d21
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x469d4e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], 0
jae 0x469d6e
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x469d8e
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x469d85
lea eax, [ebp - 0x58]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push 0x588408
lea ecx, [ebp - 0x58]
call fcn.00406760
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
mov edi, 0
imul ecx
mov dword [ebp - 0x1118], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1124], eax
je 0x469ff3
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [ebp - 0x1114]
mov eax, 0x2aaaaaab
mov esi, dword [esi]
mov ecx, dword [ecx + 4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x469fe9
cmp dword [ebx + esi + 0x14], 8
lea eax, [ebx + esi]
jb 0x469e02
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x469fcc
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00406ac0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1114]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x469fe9
cmp dword [ebx + esi + 0x14], 8
lea eax, [ebx + esi]
jb 0x469e78
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
cmp word [edx], 0
jne 0x469e8b
xor ecx, ecx
jmp 0x469e9f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469e90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406760
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x28]
jae 0x469eb5
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x1114]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x1118]
jbe 0x469fe9
cmp dword [ebx + edi + 0x14], 8
lea eax, [ebx + edi]
jb 0x469eeb
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x469f99
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x469f09
lea edx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x469f34
xor ecx, ecx
jmp 0x469f4f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469f40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00406c80
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x111c]
push eax
call fcn.00408a40
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x469f85
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x469fb2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
mov edi, dword [ebp - 0x1118]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
inc edi
add ebx, 0x18
mov dword [ebp - 0x1118], edi
cmp edi, dword [ebp - 0x1124]
jae 0x469ff3
mov esi, dword [ebp - 0x1114]
jmp 0x469dd0
push str.invalid_vector_T__subscript
call fcn.00515a37
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x46a00c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1110]
call fcn.0043b1b0
mov eax, dword [ebp - 0x111c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10