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

Disassembly:
sub esp, 0x80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
mov esi, dword [esp + 0x88]
test esi, esi
je 0x1005f1ac
cmp dword [esi + 4], 0x12
je 0x1005f1ac
push ebp
push 0x1f4
mov dword [esp + 0x20], 0x1f4
call dword [sym.libxml2.dll_xmlMallocAtomic]
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x1005ecbc
mov eax, str.getting_node_path
call fcn.10059b30
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.100ca320
add esp, 0x80
ret
push edi
push 0x1f4
call dword [sym.libxml2.dll_xmlMallocAtomic]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1005ed00
mov eax, str.getting_node_path
call fcn.10059b30
push ebp
call dword [sym.libxml2.dll_xmlFree]
add esp, 4
pop edi
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.100ca320
add esp, 0x80
ret
mov byte [ebp], 0
push ebx
mov eax, dword [esi + 4]
xor ebx, ebx
mov edx, 8
mov ecx, 0x100cb664
mov dword [esp + 0x10], 0x100cb278
mov dword [esp + 0x14], 0x100d3b38
cmp eax, 9
je 0x1005f072
cmp eax, 0xd
je 0x1005f072
cmp eax, 1
jne 0x1005ee66
mov eax, dword [esi + 0x24]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
xor ebp, ebp
mov dword [esp + 0x10], ecx
test eax, eax
je 0x1005ed90
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1005ed83
push ecx
push eax
push str._s:_s
lea eax, [esp + 0x34]
push 0x63
push eax
call dword [sym.imp.MSVCR90.dll__snprintf]
lea ecx, [esp + 0x3c]
add esp, 0x14
mov byte [esp + 0x8b], 0
mov dword [esp + 0x10], ecx
jmp 0x1005ed90
mov ebp, 1
mov dword [esp + 0x10], 0x100dfe08
mov edi, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x18], edx
test edi, edi
je 0x1005edf4
mov edi, edi
cmp dword [edi + 4], 1
jne 0x1005ede5
test ebp, ebp
jne 0x1005ede4
mov eax, dword [edi + 8]
mov ecx, dword [esi + 8]
push eax
push ecx
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je 0x1005ede5
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
je 0x1005ede4
test eax, eax
je 0x1005ede5
test ecx, ecx
je 0x1005ede5
mov edx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
push edx
push eax
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je 0x1005ede5
inc ebx
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x1005eda0
test ebx, ebx
jne 0x1005ef9d
mov edi, dword [esi + 0x18]
test edi, edi
je 0x1005f088
nop
test ebx, ebx
jne 0x1005ee5c
cmp dword [edi + 4], 1
jne 0x1005ee4d
test ebp, ebp
jne 0x1005ee48
mov ecx, dword [edi + 8]
mov edx, dword [esi + 8]
push ecx
push edx
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je 0x1005ee4d
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
je 0x1005ee48
test eax, eax
je 0x1005ee4d
test ecx, ecx
je 0x1005ee4d
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je 0x1005ee4d
mov ebx, 1
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x1005ee00
test ebx, ebx
je 0x1005f088
mov ebx, 1
jmp 0x1005f088
cmp eax, edx
jne 0x1005eec9
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], str.comment__
test eax, eax
je 0x1005ee99
cmp dword [eax + 4], edx
jne 0x1005ee8a
inc ebx
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x1005ee84
test ebx, ebx
jne 0x1005ef9d
mov esi, dword [esi + 0x18]
test esi, esi
je 0x1005f088
test ebx, ebx
jne 0x1005ee5c
cmp dword [esi + 4], edx
jne 0x1005eeb2
mov ebx, 1
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x1005eea4
test ebx, ebx
je 0x1005f088
lea ebx, [esi + 1]
jmp 0x1005f088
cmp eax, 3
je 0x1005f015
cmp eax, 4
je 0x1005f015
cmp eax, 7
jne 0x1005efa3
mov ecx, dword [esi + 8]
push ecx
push str.processing_instruction__s_
lea edx, [esp + 0x30]
push 0x63
push edx
mov dword [esp + 0x24], 0x100cb664
call dword [sym.imp.MSVCR90.dll__snprintf]
mov byte [esp + 0x9b], 0
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
add esp, 0x10
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
test edi, edi
je 0x1005ef4d
mov ebp, 7
cmp dword [edi + 4], ebp
jne 0x1005ef42
mov edx, dword [edi + 8]
mov eax, dword [esi + 8]
push edx
push eax
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je 0x1005ef42
inc ebx
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x1005ef28
test ebx, ebx
jne 0x1005ef9d
mov edi, dword [esi + 0x18]
test edi, edi
je 0x1005f088
mov ebp, 7
lea ecx, [ecx]
test ebx, ebx
jne 0x1005ee5c
cmp dword [edi + 4], ebp
jne 0x1005ef86
mov ecx, dword [edi + 8]
mov edx, dword [esi + 8]
push ecx
push edx
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je 0x1005ef86
mov ebx, 1
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x1005ef60
test ebx, ebx
je 0x1005f088
lea ebx, [edi + 1]
jmp 0x1005f088
inc ebx
jmp 0x1005f088
cmp eax, 2
jne 0x1005f00c
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], 0x100dfe40
mov dword [esp + 0x10], ecx
test eax, eax
je 0x1005f003
mov eax, dword [eax + 0xc]
push ecx
test eax, eax
je 0x1005efde
push eax
push str._s:_s
lea eax, [esp + 0x34]
push 0x63
push eax
call dword [sym.imp.MSVCR90.dll__snprintf]
add esp, 0x14
jmp 0x1005eff3
push 0x100cb3cc
lea ecx, [esp + 0x30]
push 0x63
push ecx
call dword [sym.imp.MSVCR90.dll__snprintf]
add esp, 0x10
lea edx, [esp + 0x28]
mov byte [esp + 0x8b], 0
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
jmp 0x1005f088
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
jmp 0x1005f088
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], str.text__
mov dword [esp + 0x18], edx
test eax, eax
je 0x1005f04d
nop
mov ecx, dword [eax + 4]
cmp ecx, 3
je 0x1005f03d
cmp ecx, 4
jne 0x1005f03e
inc ebx
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x1005f030
test ebx, ebx
jne 0x1005ef9d
mov esi, dword [esi + 0x18]
test esi, esi
je 0x1005f088
mov eax, dword [esi + 4]
cmp eax, 3
je 0x1005ee5c
cmp eax, 4
je 0x1005ee5c
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x1005f054
jmp 0x1005f088
cmp byte [ebp], 0x2f
je 0x1005f15a
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
mov ebp, dword [esp + 0x20]
xor eax, eax
test ebp, ebp
je 0x1005f09f
cmp byte [ebp], 0
je 0x1005f09f
inc eax
cmp byte [eax + ebp], 0
jne 0x1005f098
mov esi, dword [esp + 0x24]
add eax, 0x78
cmp eax, esi
jbe 0x1005f0fd
xor eax, eax
test ebp, ebp
je 0x1005f0bd
cmp byte [ebp], 0
je 0x1005f0bd
inc eax
cmp byte [eax + ebp], 0
jne 0x1005f0b6
lea esi, [eax + esi*2 + 0x78]
push esi
push ebp
mov dword [esp + 0x2c], esi
call dword [sym.libxml2.dll_xmlRealloc]
add esp, 8
test eax, eax
je 0x1005f17c
mov edi, dword [esp + 0x1c]
mov ebp, eax
push esi
push edi
mov dword [esp + 0x28], ebp
call dword [sym.libxml2.dll_xmlRealloc]
add esp, 8
test eax, eax
je 0x1005f18d
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x1005f101
mov edi, dword [esp + 0x1c]
push ebp
test ebx, ebx
jne 0x1005f122
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push str._s_s_s
push esi
push edi
call dword [sym.imp.MSVCR90.dll__snprintf]
add esp, 0x18
jmp 0x1005f13d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ebx
push edx
push eax
push str._s_s__d__s
push esi
push edi
call dword [sym.imp.MSVCR90.dll__snprintf]
add esp, 0x1c
push edi
push 0x100cb3cc
push esi
push ebp
call dword [sym.imp.MSVCR90.dll__snprintf]
mov esi, dword [esp + 0x28]
add esp, 0x10
test esi, esi
jne 0x1005ed05
push edi
call dword [sym.libxml2.dll_xmlFree]
add esp, 4
mov eax, ebp
pop ebx
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.100ca320
add esp, 0x80
ret
mov eax, str.getting_node_path
call fcn.10059b30
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x1005f198
mov eax, str.getting_node_path
call fcn.10059b30
push edi
call dword [sym.libxml2.dll_xmlFree]
push ebp
call dword [sym.libxml2.dll_xmlFree]
add esp, 8
xor eax, eax
jmp 0x1005f166
mov ecx, dword [esp + 0x80]
pop esi
xor ecx, esp
xor eax, eax
call fcn.100ca320
add esp, 0x80
ret