Function at 0x10065500
Capabilities:
Copy file

Disassembly:
mov eax, 0x100c35fd
call fcn.100a35ac
sub esp, 0x38
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
push 0x101185a8
lea ecx, [ebp - 0x1c]
call fcn.1005a319
push dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 2
call fcn.10005f07
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x12dc]
lea ecx, [eax + 0x100]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp dword [ebp - 0x18], eax
jae 0x100654ee
push dword [ebp - 0x18]
call fcn.10001bf2
mov esi, dword [eax]
push 0x101185a8
lea ecx, [ebp - 0x24]
call fcn.1005a319
push esi
lea eax, [ebp - 0x24]
push 0x100d7d8c
push eax
mov byte [ebp - 4], 4
call fcn.1000d4c3
mov edi, dword [ebp - 0x24]
add esp, 0xc
push dword [edi - 0xc]
lea ecx, [ebp - 0x1c]
push edi
call fcn.1000ce76
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x28]
push dword [ebp - 0x20]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10002834
mov ecx, dword [ebp - 0x2c]
test eax, eax
sete bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001d29
lea ecx, [edi - 0x10]
test bl, bl
je 0x100654dd
call fcn.10001d29
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
xor eax, eax
inc eax
jmp 0x1006560a
mov byte [ebp - 4], 3
call fcn.10001d29
inc dword [ebp - 0x18]
jmp 0x10065429
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
mov dword [ebp - 4], 1
cmp byte [ebp - 0x11], 0
je 0x100655fd
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.10064264
mov esi, str..bak
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 7
call fcn.100053c1
add esp, 0xc
mov byte [ebp - 4], 8
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10065564
push esi
lea ecx, [ebp - 0x24]
call fcn.1000d0d1
jmp 0x10065536
push 0
lea ecx, [ebp - 0x1c]
call fcn.1000357f
mov edi, eax
test edi, edi
je 0x10065583
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10065587
xor edi, edi
jmp 0x100655a2
lea esi, [eax + eax]
mov eax, esi
call fcn.100a58a0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.1000c578
mov edi, eax
cmp dword [ebp + 0x10], 0
je 0x100655b9
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x100655bd
xor eax, eax
jmp 0x100655d8
lea esi, [eax + eax]
mov eax, esi
call fcn.100a58a0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push dword [ebp + 0x10]
push eax
call fcn.1000c578
push edi
push dword [ebx + 0x12dc]
push eax
push ebx
lea eax, [ebp - 0x38]
push str.Unknown_exception_in_OnIsXmlRequired._this:__x___url:__s___Toolbar:__x___NestedXMLs:__s
push eax
call fcn.10001f23
add esp, 0x18
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.100029ca
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
xor eax, eax
lea esp, [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10