Function at 0x40aea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4706ec
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x485c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], vtable.tinyxml2::XMLVisitor.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
mov dword [ecx], vtable.tinyxml2::XMLPrinter.0
mov edx, dword [ebp - 0x38]
mov byte [edx + 4], 0
mov eax, dword [ebp - 0x38]
mov byte [eax + 5], 1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x10], 0xffffffff
mov edx, dword [ebp - 0x38]
mov byte [edx + 0x14], 1
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp + 0xc]
mov byte [eax + 0x15], cl
mov edx, dword [ebp - 0x38]
add edx, 0x98
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x2c], 0xa
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x30], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
add ecx, 0xcc
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 4
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x18], 0x14
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x1c], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
add eax, 0xec
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
mov edx, dword [ebp - 0x20]
mov dword [edx], ecx
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x18], 0x14
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
jmp 0x40afba
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x40
jge 0x40afd6
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x10]
mov byte [eax + 0x16], 0
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x10]
mov byte [ecx + 0x56], 0
jmp 0x40afb1
mov dword [ebp - 0x14], 0
jmp 0x40afe8
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 5
jge 0x40b017
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xc
movsx ecx, byte [eax + 0x4765f4]
cmp ecx, 0x40
jge 0x40b015
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xc
movsx eax, byte [edx + 0x4765f4]
mov ecx, dword [ebp - 0x38]
mov byte [ecx + eax + 0x16], 1
jmp 0x40afdf
mov edx, dword [ebp - 0x38]
mov byte [edx + 0x7c], 1
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x92], 1
mov ecx, dword [ebp - 0x38]
mov byte [ecx + 0x94], 1
mov edx, dword [ebp - 0x38]
add edx, 0xcc
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1c]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0040c9e0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x1c]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1c]
add ecx, 1
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8