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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015ae21
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101c0618]
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 ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x68], 0
test ebx, ebx
je 0x10065408
test eax, eax
je 0x10065408
test edi, edi
je 0x10065408
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x10065408
lea eax, [ebp - 0x74]
push eax
call fcn.100661e0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x74]
cmp dword [eax - 0xc], 0
jne 0x10064e6e
xor esi, esi
jmp 0x100653f5
test esi, esi
lea ecx, [ebp - 0x48]
mov eax, 0x10172dc0
cmovne eax, esi
push eax
call fcn.1000b130
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
jne 0x10065164
lea eax, [ebp - 0x44]
push eax
call fcn.100685d0
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp dword [eax - 0xc], 0
je 0x10064f4d
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x50]
call fcn.1000b130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
push str.QiXb5iJYRFLvsuupNbtbYfNU0Ne0L_LB
call fcn.1000b130
mov byte [ebp - 4], 4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100b5b00
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10055930
add esp, 0x18
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
push eax
call fcn.1000b6e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.1000b560
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.1000b560
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.1000b560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.1000b560
push 1
push dword [ebp - 0x48]
call fcn.100440d0
add esp, 8
test eax, eax
jne 0x10064f4d
lea ecx, [ebp - 0x48]
call fcn.10033d90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.1000b560
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
jne 0x10065164
mov byte [ebp - 4], 7
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x10065426
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 8
mov eax, 0x10172dc0
lea ecx, [ebp - 0x44]
test eax, 0xffff0000
jne 0x10064fa2
movzx eax, ax
push eax
call fcn.1000d1d0
jmp 0x10064fae
push 0
push 0x10172dc0
call fcn.1000adf0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x68], 1
cmp dword [eax - 0xc], 0
je 0x10065064
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x4c]
call fcn.1000b130
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
push str.QiXb5iJYRFLvsuupNbtbYfNU0Ne0L_LB
call fcn.1000b130
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100b5b00
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10055930
add esp, 0x18
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
push eax
call fcn.1000b6e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x54]
call fcn.1000b560
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
call fcn.1000b560
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call fcn.1000b560
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
call fcn.1000b560
push 1
push dword [ebp - 0x48]
call fcn.100440d0
add esp, 8
test eax, eax
jne 0x10065064
lea ecx, [ebp - 0x48]
call fcn.10033d90
mov eax, 1
mov dword [ebp - 0x68], eax
and eax, 0xfffffffe
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.1000b560
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
jne 0x10065164
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.10067520
add esp, 8
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x44]
cmp dword [eax - 0xc], 0
je 0x10065148
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x4c]
call fcn.1000b130
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x50]
push str.QiXb5iJYRFLvsuupNbtbYfNU0Ne0L_LB
call fcn.1000b130
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100b5b00
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10055930
add esp, 0x18
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
push eax
call fcn.1000b6e0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x54]
call fcn.1000b560
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5c]
call fcn.1000b560
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x50]
call fcn.1000b560
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c]
call fcn.1000b560
push 1
push dword [ebp - 0x48]
call fcn.100440d0
add esp, 8
test eax, eax
jne 0x10065148
lea ecx, [ebp - 0x48]
call fcn.10033d90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.1000b560
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
jne 0x10065164
xor esi, esi
jmp 0x100653e9
lea ecx, [ebp - 0x58]
call fcn.1000c820
mov byte [ebp - 4], 0x12
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x44]
call fcn.1000c820
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x44]
push dword [0x101c0328]
push str._sRunDll
push eax
call fcn.10012500
add esp, 0xc
lea ecx, [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.100137c0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10043890
add esp, 8
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x40]
call fcn.1000dfa0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000a3c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x44]
call fcn.1000b560
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
call fcn.1000dfa0
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push dword [ebp - 0x58]
push 0
call esi
push dword [ebp - 0x58]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10065233
xor esi, esi
jmp 0x100653dd
push str.Utils
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10019d90
add esp, 0xc
mov byte [ebp - 4], 0x16
push 0
push dword [ebp - 0x64]
push 0
call esi
push dword [ebp - 0x64]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10065269
xor esi, esi
jmp 0x100653d1
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x4c]
call fcn.1000b130
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x50]
push str.9HtBOauHWOPdRmfcWjqRvg
call fcn.1000b130
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100b5b00
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10055930
add esp, 0x18
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x54]
call fcn.1000b560
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x50]
call fcn.1000b560
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x4c]
call fcn.1000b560
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x48]
call esi
push 1
push dword [ebp - 0x60]
call fcn.100440d0
add esp, 8
test eax, eax
jne 0x100652fd
xor esi, esi
jmp 0x100653c5
push 0x10179aa4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10019d90
mov byte [ebp - 4], 0x1e
push dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10019d90
add esp, 0x18
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x54]
call fcn.1000b560
push 0
push dword [ebp - 0x70]
push ebx
call esi
push 1
push dword [ebp - 0x70]
call fcn.100440d0
add esp, 8
test eax, eax
jne 0x1006534c
xor esi, esi
jmp 0x100653b9
push 0x1017e0c8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10019d90
add esp, 0xc
mov byte [ebp - 4], 0x21
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
call esi
push 1
push dword [ebp - 0x6c]
call fcn.100440d0
add esp, 8
test eax, eax
jne 0x10065384
xor esi, esi
jmp 0x100653ad
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x60]
push eax
call fcn.1000b6e0
push 2
push 0x1017e0e8
mov ecx, edi
call fcn.1000adf0
push dword [ebp - 0x78]
mov ecx, edi
call fcn.10012350
mov esi, 1
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x6c]
call fcn.1000b560
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x70]
call fcn.1000b560
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x60]
call fcn.1000b560
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x64]
call fcn.1000b560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.1000b560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.1000b560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.1000b560
mov eax, esi
jmp 0x1006540a
xor eax, eax
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.100b4568
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007270
int3