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

Disassembly:
push 0xffffffffffffffff
push 0x5c57c8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x630160]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
push edi
call fcn.00416bc0
add esp, 4
mov ebp, eax
mov esi, ebx
test ebx, ebx
je 0x4183d8
nop
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
test eax, eax
jne 0x418566
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x4183c0
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
test ebp, ebp
je 0x41877f
cmp byte [ebp], 0
je 0x41877f
push edi
push 1
mov eax, str.__xml
mov ecx, ebp
call fcn.00416eb0
add esp, 8
test al, al
je 0x41877f
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x41842f
push edi
push ebp
mov edi, esi
call fcn.004169d0
mov eax, dword [esi]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 8], ecx
lea edi, [ebx + 0x2c]
xor esi, esi
mov ebx, 0x62336f
add ebp, 5
mov dword [esp + 0x18], edi
call fcn.00414d20
mov edi, dword [esp + 0x1c]
add edi, 0x30
mov dword [esp + 0x20], edi
call fcn.00414d20
mov edi, dword [esp + 0x1c]
add edi, 0x34
mov dword [esp + 0x1c], edi
call fcn.00414d20
xor ebx, ebx
cmp ebp, ebx
je 0x4187c0
nop
mov al, byte [ebp]
cmp al, bl
je 0x4187c0
cmp al, 0x3e
je 0x41877a
mov esi, dword [esp + 0xa8]
push esi
mov eax, ebp
call fcn.00416bc0
mov ebp, eax
push esi
push 1
mov eax, str.version
mov ecx, ebp
call fcn.00416eb0
add esp, 0xc
test al, al
je 0x41857a
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, 0x6558c4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], vtable.TiXmlAttribute.0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov edx, dword [esp + 0xa4]
push esi
push edx
push ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0xa4], ebx
call fcn.00417fc0
mov edi, dword [esp + 0x3c]
add edi, 8
mov ebp, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418506
sub eax, esi
mov ebx, edi
mov edi, dword [esp + 0x18]
mov esi, eax
call fcn.00414d20
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x3c]
cmp eax, 0x6558c4
je 0x41853b
push eax
call fcn.0041960a
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, 0x6558c4
je 0x41854f
push eax
call fcn.0041960a
add esp, 4
mov dword [esp + 0x24], vtable.TiXmlBase.0
xor ebx, ebx
cmp ebp, ebx
jne 0x418470
jmp 0x4187c0
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x4183e4
push esi
push 1
mov eax, str.encoding
mov ecx, ebp
call fcn.00416eb0
add esp, 8
test al, al
je 0x418646
or eax, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov eax, 0x6558c4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], vtable.TiXmlAttribute.0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0xa4]
push esi
push eax
push ebp
lea ecx, [esp + 0x54]
mov dword [esp + 0xa4], 1
call fcn.00417fc0
mov edi, dword [esp + 0x60]
add edi, 8
mov ebp, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4185f0
sub eax, esi
mov ebx, edi
mov edi, dword [esp + 0x20]
mov esi, eax
call fcn.00414d20
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x60]
cmp eax, 0x6558c4
je 0x418625
push eax
call fcn.0041960a
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, 0x6558c4
je 0x418639
push eax
call fcn.0041960a
add esp, 4
mov dword [esp + 0x48], vtable.TiXmlBase.0
jmp 0x418557
push esi
push 1
mov eax, str.standalone
mov ecx, ebp
call fcn.00416eb0
add esp, 8
test al, al
je 0x41872c
or eax, 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
mov eax, 0x6558c4
mov dword [esp + 0x78], ebx
mov dword [esp + 0x6c], vtable.TiXmlAttribute.0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0xa4]
push esi
push ecx
push ebp
lea ecx, [esp + 0x78]
mov dword [esp + 0xa4], 2
call fcn.00417fc0
mov edi, dword [esp + 0x84]
add edi, 8
mov ebp, eax
mov eax, edi
lea esi, [eax + 1]
jmp 0x4186d0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4186d0
sub eax, esi
mov ebx, edi
mov edi, dword [esp + 0x1c]
mov esi, eax
call fcn.00414d20
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x84]
cmp eax, 0x6558c4
je 0x418708
push eax
call fcn.0041960a
add esp, 4
mov eax, dword [esp + 0x80]
cmp eax, 0x6558c4
je 0x41871f
push eax
call fcn.0041960a
add esp, 4
mov dword [esp + 0x6c], vtable.TiXmlBase.0
jmp 0x418557
cmp ebp, ebx
je 0x4187c0
mov al, byte [ebp]
mov byte [esp + 0x17], al
cmp al, bl
je 0x418559
cmp al, 0x3e
je 0x418559
movzx edx, al
push edx
call fcn.0041a2c9
add esp, 4
test eax, eax
jne 0x418559
mov al, byte [esp + 0x17]
cmp al, 0xa
je 0x418559
cmp al, 0xd
je 0x418559
add ebp, 1
jne 0x418734
jmp 0x4187c0
lea eax, [ebp + 1]
jmp 0x4187c2
test esi, esi
je 0x4187c0
cmp byte [esi + 0x2c], 0
jne 0x4187c0
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 0xb
mov ebx, dword [str.Error_parsing_Declaration.]
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4187a0
sub eax, edx
lea edi, [esi + 0x34]
mov esi, eax
call fcn.00414d20
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
mov dword [eax + 0x40], ecx
mov dword [eax + 0x3c], ecx
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0xc