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

Disassembly:
push 0xffffffffffffffff
push 0x4395b8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44e040]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xa4]
call fcn.00418c00
xor ebx, ebx
add esp, 4
mov ebp, eax
mov edi, esi
cmp esi, ebx
je 0x41a379
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test eax, eax
jne 0x41a513
mov edi, dword [edi + 0x10]
cmp edi, ebx
jne 0x41a361
xor edi, edi
cmp ebp, ebx
je 0x41a72e
cmp byte [ebp], bl
je 0x41a72e
mov ecx, dword [esp + 0xa8]
push ecx
push 1
mov eax, str.__xml
mov ecx, ebp
call fcn.00418ef0
add esp, 8
test al, al
je 0x41a72e
mov edi, dword [esp + 0xa4]
cmp edi, ebx
je 0x41a3d1
mov edx, dword [esp + 0xa8]
push edx
push ebp
call fcn.00418a10
mov eax, dword [edi]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
mov dword [esi + 8], ecx
add esi, 0x2c
push 0x441db9
xor ecx, ecx
add ebp, 5
mov dword [esp + 0x20], esi
call fcn.004169d0
mov edi, dword [esp + 0x18]
lea esi, [edi + 0x30]
push 0x441db9
xor ecx, ecx
mov dword [esp + 0x1c], esi
call fcn.004169d0
lea esi, [edi + 0x34]
push 0x441db9
xor ecx, ecx
mov dword [esp + 0x24], esi
call fcn.004169d0
cmp ebp, ebx
je 0x41a76d
lea esp, [esp]
mov al, byte [ebp]
cmp al, bl
je 0x41a76d
cmp al, 0x3e
je 0x41a729
mov esi, dword [esp + 0xa8]
push esi
mov eax, ebp
call fcn.00418c00
mov ebp, eax
push esi
push 1
mov eax, str.version
mov ecx, ebp
call fcn.00418ef0
add esp, 0xc
test al, al
je 0x41a523
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, 0x451240
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.00419f60
mov esi, dword [esp + 0x3c]
add esi, 8
mov ebp, eax
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a4b6
sub eax, edi
push esi
mov esi, dword [esp + 0x20]
mov ecx, eax
call fcn.004169d0
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x3c]
cmp eax, 0x451240
je 0x41a4ea
push eax
call fcn.00421709
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, 0x451240
je 0x41a4fe
push eax
call fcn.00421709
add esp, 4
mov dword [esp + 0x24], vtable.TiXmlBase.0
cmp ebp, ebx
jne 0x41a420
jmp 0x41a76d
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov edi, eax
jmp 0x41a37b
push esi
push 1
mov eax, str.encoding
mov ecx, ebp
call fcn.00418ef0
add esp, 8
test al, al
je 0x41a5f5
or eax, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov eax, 0x451240
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.00419f60
mov esi, dword [esp + 0x60]
add esi, 8
mov ebp, eax
mov eax, esi
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a5a0
sub eax, edi
push esi
mov esi, dword [esp + 0x1c]
mov ecx, eax
call fcn.004169d0
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x60]
cmp eax, 0x451240
je 0x41a5d4
push eax
call fcn.00421709
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, 0x451240
je 0x41a5e8
push eax
call fcn.00421709
add esp, 4
mov dword [esp + 0x48], vtable.TiXmlBase.0
jmp 0x41a506
push esi
push 1
mov eax, str.standalone
mov ecx, ebp
call fcn.00418ef0
add esp, 8
test al, al
je 0x41a6db
or eax, 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
mov eax, 0x451240
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.00419f60
mov esi, dword [esp + 0x84]
add esi, 8
mov ebp, eax
mov eax, esi
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a680
sub eax, edi
push esi
mov esi, dword [esp + 0x24]
mov ecx, eax
call fcn.004169d0
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x84]
cmp eax, 0x451240
je 0x41a6b7
push eax
call fcn.00421709
add esp, 4
mov eax, dword [esp + 0x80]
cmp eax, 0x451240
je 0x41a6ce
push eax
call fcn.00421709
add esp, 4
mov dword [esp + 0x6c], vtable.TiXmlBase.0
jmp 0x41a506
cmp ebp, ebx
je 0x41a76d
mov al, byte [ebp]
mov byte [esp + 0x17], al
cmp al, bl
je 0x41a506
cmp al, 0x3e
je 0x41a506
movzx edx, al
push edx
call fcn.004235db
add esp, 4
test eax, eax
jne 0x41a506
mov al, byte [esp + 0x17]
cmp al, 0xa
je 0x41a506
cmp al, 0xd
je 0x41a506
add ebp, 1
jne 0x41a6e3
jmp 0x41a76d
lea eax, [ebp + 1]
jmp 0x41a76f
cmp edi, ebx
je 0x41a76d
cmp byte [edi + 0x2c], bl
jne 0x41a76d
mov byte [edi + 0x2c], 1
mov dword [edi + 0x30], 0xb
mov edx, dword [str.Error_parsing_Declaration.]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a750
sub eax, esi
push edx
lea esi, [edi + 0x34]
mov ecx, eax
call fcn.004169d0
or eax, 0xffffffff
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
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