Function at 0x10068f30
Capabilities:
Copy file

Disassembly:
mov eax, 0x100c3d5c
call fcn.100a35ac
sub esp, 0x70
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov edi, ecx
mov dword [ebp - 4], ebx
call fcn.10064264
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x100691a6
cmp eax, 0xffffffff
je 0x1006919b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
mov dword [ebp - 0x38], ebx
call fcn.10003561
lea eax, [ebp - 0x7c]
push eax
call fcn.1007fe93
pop ecx
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 3
jb 0x10068fb3
mov eax, dword [eax + 4]
jmp 0x10068fb6
add eax, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.10005f07
push ebx
push 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
call fcn.100035a9
mov esi, 0x101185a8
push esi
lea ecx, [ebp - 0x24]
call fcn.1005a319
lea eax, [ebp - 0x24]
push eax
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 6
call fcn.10003561
call fcn.10026017
pop ecx
pop ecx
test al, al
jne 0x10069182
mov ebx, str..bak
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100053c1
add esp, 0xc
mov byte [ebp - 4], 7
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10069039
push ebx
lea ecx, [ebp - 0x20]
call fcn.1000d0d1
jmp 0x1006901c
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push str.Not_a_well_formed_XML._Reason:
push eax
call fcn.1000d42c
add esp, 0xc
push 0x100d34c4
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 8
call fcn.100053c1
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.10005363
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.10001d29
push esi
lea ecx, [ebp - 0x18]
call fcn.1005a319
mov eax, dword [edi + 0x12dc]
lea ecx, [eax + 0x100]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
mov byte [ebp - 4], 0xd
test eax, 0xfffffffc
je 0x100690ff
push 0
lea esi, [edi + 0xb8]
call fcn.10001bf2
mov ecx, dword [eax]
mov eax, dword [ecx]
push 1
push ecx
mov edx, esp
mov dword [ebp - 0x3c], esp
push edx
call dword [eax + 0x28]
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.1000dad3
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.10004a20
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.10001d29
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push str._r_nLayout_url:
push eax
call fcn.1000d42c
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call fcn.1000d4f1
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.10001d29
push 1
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, edi
call fcn.10066a4c
cmp byte [0x1011b004], 0
jne 0x1006916a
mov ecx, edi
mov byte [0x1011b004], 1
call fcn.10065cbe
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
xor ebx, ebx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x100691a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret