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

Disassembly:
push 0x420
mov eax, 0x100860a8
call fcn.10063fad
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x42c], eax
cmp dword [ebx + 0x410], eax
je 0x10032c50
mov eax, 0x8004036e
jmp 0x10032f02
call fcn.1007cfaa
mov eax, dword [ebx + 0x410]
test eax, eax
je 0x10032c80
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
push 0x1f4
mov dword [ebx + 0x410], eax
call dword [sym.imp.kernel32.dll_Sleep]
mov ecx, ebx
call fcn.1007cfaa
mov ecx, ebx
call fcn.10033ec0
test eax, eax
jns 0x10032ca6
mov eax, dword [ebx + 0x410]
test eax, eax
je 0x10032c46
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov dword [ebx + 0x410], eax
jmp 0x10032c46
push 0x100a02b8
lea ecx, [ebp - 0x428]
call fcn.1007cfaa
xor eax, eax
push esi
mov ecx, ebx
mov dword [ebp - 4], eax
call fcn.1007cfaa
mov byte [ebp - 0x421], al
test al, al
je 0x10032ce0
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx + 0x410], eax
test eax, eax
jne 0x10032d07
jmp 0x10032d22
test esi, esi
je 0x10032cf3
xor eax, eax
cmp word [esi], ax
je 0x10032cf3
mov byte [ebp - 0x421], al
jmp 0x10032d07
mov ecx, ebx
mov byte [ebp - 0x421], 1
call fcn.1007cfaa
mov esi, eax
test esi, esi
js 0x10032d27
test edi, edi
je 0x10032d3d
mov eax, dword [ebx + 0x410]
test eax, eax
je 0x10032d3d
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
jne 0x10032d3d
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.1001a0c1
mov eax, esi
jmp 0x10032f02
cmp byte [ebp - 0x421], 0
je 0x10032d4d
mov ecx, ebx
call fcn.1007cfaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.1001a0c1
cmp byte [ebp - 0x421], 0
jne 0x10032d6f
mov eax, 0x80070057
jmp 0x10032f02
xor eax, eax
mov ecx, ebx
mov edi, eax
call fcn.1007cfaa
test eax, eax
js 0x10032ebd
mov ecx, ebx
lea edx, [ecx + 2]
xor esi, esi
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x10032d89
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 0xb]
mov esi, 0x104
cmp eax, esi
jbe 0x10032dae
mov edi, 0x80040310
jmp 0x10032ec2
push ebx
push esi
lea eax, [ebp - 0x420]
push eax
call fcn.1007cfaa
push 0x10002b48
push esi
lea eax, [ebp - 0x420]
push eax
call fcn.1007cfaa
lea edx, [ebx + 0x208]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x42c]
jne 0x10032dd9
sub ecx, esi
sar ecx, 1
lea eax, [ecx + 0xb]
mov esi, 0x104
cmp eax, esi
ja 0x10032da4
push edx
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.1007cfaa
push 0x10002b48
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.1007cfaa
call fcn.1007a778
test eax, eax
je 0x10032e4a
xor eax, eax
push eax
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
jne 0x10032e7f
call dword [sym.imp.kernel32.dll_GetLastError]
lea edi, [eax - 5]
neg edi
sbb edi, edi
and edi, 0xfff94000
add edi, 0x80070005
jmp 0x10032ec2
push ebx
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10032e5d
xor eax, eax
jmp 0x10032e73
lea esi, [eax + eax]
mov eax, esi
call fcn.10064635
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.1007cfaa
xor ecx, ecx
push ecx
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
jmp 0x10032e2b
xor eax, eax
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_CopyFileW]
test eax, eax
jne 0x10032ee2
push eax
push eax
push 3
push eax
push eax
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1007cfaa
cmp eax, 0xffffffff
jne 0x10032ebd
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x10032ee2
mov edi, 0x80004005
mov eax, dword [ebx + 0x410]
test eax, eax
je 0x10032edb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov dword [ebx + 0x410], eax
mov ecx, ebx
call fcn.10034383
xor eax, eax
mov byte [ebx + 0x65d], al
mov eax, dword [ebx + 0x410]
test eax, eax
je 0x10032f00
push eax
lea ecx, [ebx + 0x61c]
call fcn.1007cfaa
mov eax, edi
lea esp, [ebp - 0x43c]
call fcn.10064030
ret 8