Function at 0x10066a4c
Capabilities:
Create thread

Disassembly:
mov eax, 0x100c38c9
call fcn.100a35ac
sub esp, 0x4c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], ebx
push ebx
mov dword [ebp - 4], ebx
push str.Invalid_layout_xml
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.10003080
test eax, eax
jl 0x10066b32
push 0x101185a8
lea ecx, [ebp - 0x14]
call fcn.1005a319
mov eax, dword [esi + 0x12dc]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x10066af6
lea ecx, [eax + 0x100]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
test eax, 0xfffffffc
je 0x10066af6
push ebx
lea edi, [esi + 0xb8]
call fcn.10001bf2
mov ecx, dword [eax]
mov eax, dword [ecx]
push 1
push ecx
mov edx, esp
mov dword [ebp - 0x24], esp
push edx
call dword [eax + 0x28]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.1000dad3
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10004a20
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001d29
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push str._r_nLayout_url:
push eax
call fcn.1000d42c
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.1000d4f1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001d29
cmp dword [esi + 0x12dc], ebx
jne 0x10066b41
mov eax, 0x100cb0a0
jmp 0x10066b6d
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.urlErrorReportingService
call fcn.10005f07
mov ecx, dword [esi + 0x12dc]
lea eax, [ebp - 0x20]
push eax
call fcn.1002bd1b
mov eax, dword [eax]
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.10005f07
test byte [ebp - 0x1c], 1
mov dword [ebp - 4], 7
je 0x10066b8e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
push 0x101185a8
lea ecx, [ebp - 0x1c]
call fcn.1005a319
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 8
call fcn.10003561
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100667fc
add esp, 0x10
push 0x38
call fcn.100a2ba4
pop ecx
cmp eax, ebx
je 0x10066bd8
mov ecx, eax
call fcn.1005b36e
mov edi, eax
jmp 0x10066bda
xor edi, edi
push dword [ebp - 0x18]
lea ecx, [ebp + 0xc]
call fcn.100027e0
mov ecx, dword [eax]
mov byte [ebp - 4], 9
cmp ecx, ebx
je 0x10066bf6
call fcn.100598b3
jmp 0x10066bf8
xor eax, eax
push eax
mov ecx, edi
call fcn.10005569
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 8
cmp ecx, ebx
je 0x10066c10
call fcn.10003111
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.utf_8
call fcn.1000586e
mov esi, dword [ebp - 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
mov byte [ebp - 4], 0xa
call fcn.10006227
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.10051b16
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.10051ea4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 0xe
call fcn.10004bfe
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.10003516
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.10051b1f
push edi
push ebx
push 0x100666ab
call fcn.100a57da
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8