Function at 0x493220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c804e
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x140]
mov eax, dword [esp + 0x138]
mov esi, ecx
mov ecx, dword [esp + 0x13c]
push ebx
mov dword [esp + 0x1c], ecx
call fcn.004913c0
add esp, 4
mov ecx, esi
mov ebp, eax
call fcn.00448580
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x1c], eax
je 0x493586
cmp byte [ebp], 0
je 0x493586
push ebx
push 1
mov eax, 0x4e2b4c
mov ecx, ebp
call fcn.00491800
add esp, 8
test al, al
je 0x493582
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4932da
push ebx
push ebp
mov edi, eax
call fcn.004911b0
mov eax, edi
mov edx, dword [eax]
mov dword [esi + 4], edx
mov eax, dword [eax + 4]
mov dword [esi + 8], eax
xor edi, edi
lea ecx, [esi + 0x44]
push 0x4dfabe
add ebp, 5
mov dword [esp + 0x20], ecx
call fcn.00418420
lea ecx, [esi + 0x60]
push 0x4dfabe
mov dword [esp + 0x24], ecx
call fcn.00418420
lea ecx, [esi + 0x7c]
push 0x4dfabe
mov dword [esp + 0x28], ecx
call fcn.00418420
cmp ebp, edi
je 0x4935b7
jmp 0x493320
mov al, byte [ebp]
test al, al
je 0x4935b7
cmp al, 0x3e
je 0x49357d
push ebx
mov eax, ebp
call fcn.004913c0
mov ebp, eax
push ebx
push 1
mov eax, str.version
mov ecx, ebp
call fcn.00491800
add esp, 0xc
test al, al
je 0x4933e6
or esi, 0xffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], vtable.TiXmlAttribute.0
call fcn.004032a0
lea ecx, [esp + 0x58]
call fcn.004032a0
mov dword [esp + 0x38], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], edi
mov ecx, dword [esp + 0x18]
push ebx
push ecx
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x13c], edi
call fcn.00492d30
lea ecx, [esp + 0x28]
mov ebp, eax
call fcn.0040fc20
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00418420
lea ecx, [esp + 0x58]
mov dword [esp + 0x130], esi
call fcn.004033a0
lea ecx, [esp + 0x3c]
call fcn.004033a0
mov dword [esp + 0x28], vtable.TiXmlBase.0
cmp ebp, edi
jne 0x493320
jmp 0x4935b7
push ebx
push 1
mov eax, str.encoding
mov ecx, ebp
call fcn.00491800
add esp, 8
test al, al
je 0x4934ac
or esi, 0xffffffff
lea ecx, [esp + 0x90]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x7c], vtable.TiXmlAttribute.0
call fcn.004032a0
lea ecx, [esp + 0xac]
call fcn.004032a0
mov dword [esp + 0x8c], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], edi
mov edx, dword [esp + 0x18]
push ebx
push edx
push ebp
lea ecx, [esp + 0x88]
mov dword [esp + 0x13c], 1
call fcn.00492d30
lea ecx, [esp + 0x7c]
mov ebp, eax
call fcn.0040fc20
mov ecx, dword [esp + 0x20]
push eax
call fcn.00418420
lea ecx, [esp + 0xac]
mov dword [esp + 0x130], esi
call fcn.004033a0
lea ecx, [esp + 0x90]
call fcn.004033a0
mov dword [esp + 0x7c], vtable.TiXmlBase.0
jmp 0x4933d9
push ebx
push 1
mov eax, str.standalone
mov ecx, ebp
call fcn.00491800
add esp, 8
test al, al
je 0x49352f
lea esi, [esp + 0xd0]
call fcn.00490e50
mov eax, dword [esp + 0x18]
push ebx
push eax
push ebp
mov ecx, esi
mov dword [esp + 0x13c], 2
call fcn.00492d30
mov ecx, esi
mov ebp, eax
call fcn.0040fc20
mov ecx, dword [esp + 0x24]
push eax
call fcn.00418420
lea ecx, [esp + 0x100]
mov dword [esp + 0x130], 0xffffffff
call fcn.004033a0
lea ecx, [esp + 0xe4]
call fcn.004033a0
mov dword [esp + 0xd0], vtable.TiXmlBase.0
xor edi, edi
jmp 0x4933d9
cmp ebp, edi
je 0x4935b7
mov al, byte [ebp]
test al, al
mov byte [esp + 0x17], al
je 0x4933d9
cmp al, 0x3e
je 0x4933d9
movzx ecx, al
push ecx
call fcn.004a6790
add esp, 4
test eax, eax
jne 0x4933d9
mov al, byte [esp + 0x17]
cmp al, 0xa
je 0x4933d9
cmp al, 0xd
je 0x4933d9
add ebp, 1
jne 0x493537
jmp 0x4935b7
lea eax, [ebp + 1]
jmp 0x4935b9
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4935b7
cmp byte [eax + 0x44], 0
jne 0x4935b7
mov byte [eax + 0x44], 1
mov dword [eax + 0x48], 0xc
mov edx, dword [str.Error_parsing_Declaration.]
push edx
lea ecx, [eax + 0x4c]
call fcn.00418420
mov eax, dword [esp + 0x1c]
or ecx, 0xffffffff
mov dword [eax + 0x70], ecx
mov dword [eax + 0x6c], ecx
xor eax, eax
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004a1723
add esp, 0x120
ret 0xc