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

Disassembly:
push 0xffffffffffffffff
push 0x100d1128
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1011ac70]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
push ebp
push eax
call fcn.1004d0e0
add esp, 8
mov ecx, edi
mov esi, eax
call fcn.1004aef0
xor ebx, ebx
cmp esi, ebx
mov ecx, eax
mov dword [esp + 0x18], ecx
je 0x1004eb90
cmp byte [esi], bl
je 0x1004eb90
push ebp
push 1
push str.__xml
push esi
call fcn.1004d230
add esp, 0x10
test al, al
je 0x1004eb8c
mov ecx, dword [esp + 0xa4]
cmp ecx, ebx
je 0x1004e8dd
push ebp
push esi
call fcn.1004cec0
mov eax, ecx
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov edx, dword [eax + 4]
mov dword [edi + 8], edx
push ebx
lea ecx, [edi + 0x2c]
push 0x10102ef4
add esi, 5
mov dword [esp + 0x20], ecx
call fcn.1004ab10
push ebx
lea ecx, [edi + 0x30]
push 0x10102ef4
mov dword [esp + 0x24], ecx
call fcn.1004ab10
push ebx
lea ecx, [edi + 0x34]
push 0x10102ef4
mov dword [esp + 0x28], ecx
call fcn.1004ab10
cmp esi, ebx
je 0x1004ebd2
mov edi, edi
mov al, byte [esi]
cmp al, bl
je 0x1004ebd2
cmp al, 0x3e
je 0x1004eb87
push ebp
push esi
call fcn.1004d0e0
push ebp
push 1
mov esi, eax
push 0x100d51e4
push esi
call fcn.1004d230
add esp, 0x18
test al, al
je 0x1004e9e7
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, 0x1012173c
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 eax, dword [esp + 0xa4]
push ebp
push eax
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0xa4], ebx
call fcn.1004e4c0
mov edi, dword [esp + 0x3c]
add edi, 8
mov esi, eax
mov eax, edi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004e9b0
sub eax, ecx
mov ecx, dword [esp + 0x18]
push eax
push edi
call fcn.1004ab10
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.1004b2c0
cmp esi, ebx
jne 0x1004e920
jmp 0x1004ebd2
push ebp
push 1
push str.encoding
push esi
call fcn.1004d230
add esp, 0x10
test al, al
je 0x1004ea8a
or eax, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov eax, 0x1012173c
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 ecx, dword [esp + 0xa4]
push ebp
push ecx
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0xa4], 1
call fcn.1004e4c0
mov edi, dword [esp + 0x60]
add edi, 8
mov esi, eax
mov eax, edi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004ea60
sub eax, ecx
mov ecx, dword [esp + 0x1c]
push eax
push edi
call fcn.1004ab10
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x48]
jmp 0x1004e9d5
push ebp
push 1
push str.standalone
push esi
call fcn.1004d230
add esp, 0x10
test al, al
je 0x1004eb3a
or eax, 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
mov eax, 0x1012173c
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 edx, dword [esp + 0xa4]
push ebp
push edx
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0xa4], 2
call fcn.1004e4c0
mov edi, dword [esp + 0x84]
add edi, 8
mov esi, eax
mov eax, edi
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004eb10
sub eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push edi
call fcn.1004ab10
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x6c]
jmp 0x1004e9d5
cmp esi, ebx
je 0x1004ebd2
mov al, byte [esi]
cmp al, bl
mov byte [esp + 0x17], al
je 0x1004e9da
cmp al, 0x3e
je 0x1004e9da
movzx eax, al
push eax
call fcn.1007666f
add esp, 4
test eax, eax
jne 0x1004e9da
mov al, byte [esp + 0x17]
cmp al, 0xa
je 0x1004e9da
cmp al, 0xd
je 0x1004e9da
add esi, 1
jne 0x1004eb42
jmp 0x1004ebd2
lea eax, [esi + 1]
jmp 0x1004ebd4
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x1004ebd2
cmp byte [ecx + 0x2c], bl
jne 0x1004ebd2
mov byte [ecx + 0x2c], 1
mov dword [ecx + 0x30], 0xc
mov esi, dword [str.Error_parsing_Declaration.]
mov eax, esi
lea edi, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004ebb0
sub eax, edi
push eax
push esi
add ecx, 0x34
call fcn.1004ab10
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