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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, eax
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x10]
mov ebp, dword [esi + 0xc]
xor ebx, ebx
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp eax, ebx
push edi
mov edi, dword [esi + 0x18]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x20], edx
je 0x100afcae
cmp dword [eax], 1
jne 0x100afcae
mov eax, dword [esp + 0x74]
push eax
call sym.libxml2.dll_valuePop
add esp, 4
cmp edi, ebx
mov dword [esp + 0x40], eax
je 0x100af49a
mov ecx, dword [esp + 0x20]
push edi
push ecx
call sym.libxml2.dll_xmlXPathNsLookup
add esp, 8
cmp eax, ebx
mov dword [esp + 0x3c], eax
jne 0x100af49a
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
call fcn.100a8910
mov edx, dword [esp + 0x74]
push 0x13
push edx
call sym.libxml2.dll_xmlXPathErr
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
lea eax, [ebp - 1]
cmp eax, 0xc
mov dword [esp + 0x24], 0x100a7710
ja case.default.0x100af4ae
jmp dword [eax*4 + 0x100afcc8]
mov eax, sym.libxml2.dll_xmlXPathNextAncestor
jmp 0x100af566
mov eax, sym.libxml2.dll_xmlXPathNextAncestorOrSelf
jmp 0x100af566
mov eax, sym.libxml2.dll_xmlXPathNextAttribute
jmp 0x100af55a
cmp dword [esi + 0x28], 1
mov dword [esp + 0x7c], ebx
jne 0x100af4e5
mov dword [esp + 0x54], 0x100a98d0
mov eax, dword [esp + 0x5c]
cmp eax, 5
je 0x100af4f3
cmp eax, 3
jne 0x100af4fe
cmp dword [esp + 0x48], ebx
mov eax, 0x100a97e0
je 0x100af503
mov eax, sym.libxml2.dll_xmlXPathNextChild
mov dword [esp + 0x24], 0x100a78f0
jmp 0x100af56a
mov dword [esp + 0x7c], ebx
mov eax, sym.libxml2.dll_xmlXPathNextDescendant
jmp 0x100af56a
mov dword [esp + 0x7c], ebx
mov eax, sym.libxml2.dll_xmlXPathNextDescendantOrSelf
jmp 0x100af56a
mov dword [esp + 0x7c], ebx
mov eax, sym.libxml2.dll_xmlXPathNextFollowing
jmp 0x100af56a
mov dword [esp + 0x7c], ebx
mov eax, sym.libxml2.dll_xmlXPathNextFollowingSibling
jmp 0x100af56a
mov eax, sym.libxml2.dll_xmlXPathNextNamespace
jmp 0x100af55a
mov eax, sym.libxml2.dll_xmlXPathNextParent
jmp 0x100af566
mov eax, 0x100a9e20
jmp 0x100af566
mov eax, sym.libxml2.dll_xmlXPathNextPrecedingSibling
jmp 0x100af566
mov eax, sym.libxml2.dll_xmlXPathNextSelf
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x24], 0x100a78f0
mov dword [esp + 0x78], ebx
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x100af589
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
call fcn.100a8910
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
cmp eax, ebx
mov dword [esp + 0x68], eax
je 0x100afc80
cmp dword [eax], ebx
jle 0x100afc80
mov esi, dword [esi + 8]
xor ebp, ebp
cmp esi, 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x14], ebx
je 0x100af60e
mov eax, dword [esp + 0x74]
imul esi, esi, 0x2c
mov ecx, dword [eax + 0x20]
mov edi, dword [ecx + 8]
lea edx, [esp + 0x10]
add esi, edi
mov ebp, esi
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x38], ebp
call fcn.100aae50
add esp, 8
test eax, eax
je 0x100af60e
mov eax, dword [ebp + 4]
cmp eax, 0xffffffff
je 0x100af600
imul eax, eax, 0x2c
add eax, edi
mov ebp, eax
mov dword [esp + 0x64], 1
jmp 0x100af60a
xor ebp, ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x30], ebp
cmp dword [esp + 0x80], ebx
je 0x100af623
cmp ebp, ebx
mov dword [esp + 0x4c], 1
je 0x100af627
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
xor edi, edi
mov esi, dword [esp + 0x68]
mov ecx, dword [esi]
mov eax, dword [esp + 0x44]
cmp eax, ecx
mov ecx, dword [esp + 0x38]
jl 0x100af65e
test ecx, ecx
je 0x100afba9
mov edx, dword [esp + 0x54]
test edx, edx
je 0x100af69a
test ecx, ecx
jne 0x100af67e
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + eax*4]
inc eax
push ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], eax
push 0
jmp 0x100af684
mov eax, dword [esp + 0x58]
push eax
push ecx
call edx
add esp, 8
test eax, eax
mov dword [esp + 0x38], eax
je 0x100af644
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], eax
jmp 0x100af6ac
mov edx, dword [esi + 8]
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x20]
inc eax
mov dword [edx + 4], ecx
mov dword [esp + 0x44], eax
test edi, edi
jne 0x100af6d1
push 0xc
call dword [sym.libxml2.dll_xmlMalloc]
add esp, 4
test eax, eax
je 0x100afb93
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov edi, eax
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x4c]
lea ecx, [ecx]
mov eax, dword [esp + 0x74]
push esi
push eax
call dword [esp + 0x20]
mov esi, eax
add esp, 8
test esi, esi
je 0x100afab7
mov eax, dword [esp + 0x78]
test eax, eax
je 0x100af732
mov ecx, dword [eax]
test ecx, ecx
je 0x100af732
cmp ecx, esi
je 0x100afab7
mov edx, dword [esp + 0x28]
and edx, 0x800000ff
jns 0x100af721
dec edx
or edx, 0xffffff00
inc edx
jne 0x100af732
mov edx, esi
call fcn.100a6b40
test eax, eax
jge 0x100afab7
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x100af76b
mov edx, dword [eax]
test edx, edx
je 0x100af76b
cmp edx, esi
je 0x100afab7
mov eax, dword [esp + 0x28]
and eax, 0x800000ff
jns 0x100af75a
dec eax
or eax, 0xffffff00
inc eax
jne 0x100af76b
mov ecx, esi
call fcn.100a6b40
test eax, eax
jge 0x100afab7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
inc edx
cmp eax, 5
mov dword [esp + 0x28], edx
ja case.0x100af7a4.5
jmp dword [eax*4 + 0x100afcfc]
mov eax, dword [esp + 0x48]
test eax, eax
mov eax, dword [esi + 4]
jne 0x100af7ab
dec eax
cmp eax, 0x14
ja case.0x100af7a4.5
movzx ecx, byte [eax + 0x100afd1c]
jmp dword [ecx*4 + 0x100afd14]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jne 0x100af7f6
cmp ecx, 0x12
mov eax, dword [esp + 0x14]
jne 0x100af8af
test eax, eax
je 0x100af7e8
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne case.0x100af7a4.5
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
push esi
push edx
push edi
call sym.libxml2.dll_xmlXPathNodeSetAddNs
add esp, 0xc
jmp 0x100af8ce
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push esi
push eax
jmp 0x100af9ab
cmp ecx, 3
jne case.0x100af7a4.5
cmp eax, 4
jmp 0x100afa0c
cmp dword [esi + 4], 7
jne case.0x100af7a4.5
mov eax, dword [esp + 0x2c]
test eax, eax
je case.0x100af7a4.1
mov ecx, dword [esi + 8]
push ecx
mov edx, eax
push edx
jmp 0x100af89b
mov eax, dword [esp + 0x60]
cmp eax, 3
jne 0x100af838
cmp dword [esi + 4], 2
jmp 0x100afa0c
cmp eax, 9
mov eax, dword [esi + 4]
jne 0x100af876
cmp eax, 0x12
jne case.0x100af7a4.5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100af9a2
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne case.0x100af7a4.5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push esi
push ecx
push edi
call sym.libxml2.dll_xmlXPathNodeSetAddNs
add esp, 0xc
jmp 0x100af8ce
cmp eax, 1
jne case.0x100af7a4.5
mov eax, dword [esp + 0x50]
test eax, eax
je case.0x100af7a4.1
mov eax, dword [esi + 0x24]
test eax, eax
je case.0x100af7a4.5
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x3c]
push edx
push eax
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je case.0x100af7a4.5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100afa85
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne case.0x100af7a4.5
push esi
push edi
call sym.libxml2.dll_xmlXPathNodeSetAddUnique
add esp, 8
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100afa94
mov dword [esp + 0x1c], edi
xor edi, edi
jmp 0x100afaa3
call sym.libxml2.dll___xmlGenericError
mov ebx, eax
call sym.libxml2.dll___xmlGenericErrorContext
mov ecx, dword [eax]
push 0x3006
push str...xpath.c
push str.Unimplemented_block_at__s:_d_n
push ecx
call dword [ebx]
add esp, 0x10
jmp 0x100af6d9
mov eax, dword [esp + 0x60]
cmp eax, 3
jne 0x100af91e
mov eax, dword [esi + 4]
cmp eax, 2
jmp 0x100af92e
cmp eax, 9
mov eax, dword [esi + 4]
jne 0x100af92b
cmp eax, 0x12
jmp 0x100af92e
cmp eax, 1
jne case.0x100af7a4.5
dec eax
je 0x100afa2d
dec eax
je 0x100af9db
sub eax, 0x10
jne case.0x100af7a4.5
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x100af7a4.5
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je case.0x100af7a4.5
mov edx, ecx
push edx
push eax
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je case.0x100af7a4.5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100af9a2
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jne case.0x100af7a4.5
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push esi
push eax
push edi
call sym.libxml2.dll_xmlXPathNodeSetAddNs
add esp, 0xc
jmp 0x100af8ce
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push esi
push ecx
push edi
mov dword [esp + 0x40], 1
call sym.libxml2.dll_xmlXPathNodeSetAddNs
add esp, 0xc
test ebx, ebx
je case.0x100af7a4.5
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100afc25
mov dword [esp + 0x1c], edi
xor edi, edi
jmp 0x100afba9
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x2c]
push edx
push eax
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je case.0x100af7a4.5
mov eax, dword [esp + 0x50]
test eax, eax
mov eax, dword [esi + 0x24]
jne 0x100afa17
test eax, eax
je case.0x100af7a4.1
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne case.0x100af7a4.5
jmp case.0x100af7a4.1
test eax, eax
je case.0x100af7a4.5
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x3c]
push ecx
push edx
jmp 0x100af89b
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je case.0x100af7a4.5
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x100afa55
mov eax, dword [esi + 0x24]
test eax, eax
jmp 0x100afa0c
mov eax, dword [esi + 0x24]
test eax, eax
je case.0x100af7a4.5
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x3c]
push edx
push eax
call sym.libxml2.dll_xmlStrEqual
add esp, 8
test eax, eax
je case.0x100af7a4.5
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100af8b7
push esi
push edi
call sym.libxml2.dll_xmlXPathNodeSetAddUnique
add esp, 8
jmp 0x100af9bc
push 0
push edi
push eax
call dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x100af644
jmp 0x100afba9
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100afb65
mov ebx, dword [edi]
test ebx, ebx
jle 0x100af644
mov eax, dword [esp + 0x64]
test eax, eax
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x74]
push ebp
je 0x100afaf1
mov eax, dword [esp + 0x14]
push eax
push eax
mov eax, dword [esp + 0x3c]
push ebx
push edi
call fcn.100af160
jmp 0x100afafe
mov ecx, dword [esp + 0x34]
push ebx
push edi
push ecx
push esi
call fcn.100aef80
mov ecx, dword [esi + 8]
add esp, 0x14
test ecx, ecx
jne 0x100afba1
test eax, eax
jne 0x100afb1c
mov ecx, ebp
call fcn.100a7b90
jmp 0x100af644
cmp dword [edi], 0
jle 0x100af644
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x100afb3f
cmp ebx, eax
je 0x100afb37
push 1
push edi
push esi
jmp 0x100afb49
mov dword [esp + 0x1c], edi
xor edi, edi
jmp 0x100afb54
xor edx, edx
cmp ebx, eax
setne dl
push edx
push edi
push esi
call dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x100af644
jmp 0x100afba9
cmp dword [edi], 0
jle 0x100af644
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100afb7f
mov dword [esp + 0x1c], edi
jmp 0x100af642
push 0
push edi
push eax
call dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x100af644
mov eax, str.creating_nodeset_n
xor esi, esi
call fcn.100a5250
xor edi, edi
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp eax, ecx
je 0x100afbd8
cmp dword [ebx + 0x1c], ecx
je 0x100afbd8
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x10]
mov dword [edx + 8], 1
mov eax, dword [eax + 0x10]
mov edx, dword [ebx + 0x1c]
mov dword [eax + 0x1c], edx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 8], ecx
mov ebp, dword [esp + 0x20]
mov eax, ebp
call fcn.100a8910
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x100afc45
test edi, edi
je 0x100afc39
cmp dword [edi], 0
jne 0x100afc39
mov esi, edi
jmp 0x100afc45
mov dword [esp + 0x28], 0
call sym.libxml2.dll___xmlGenericError
mov esi, eax
call sym.libxml2.dll___xmlGenericErrorContext
mov eax, dword [eax]
push 0x2fbf
push str...xpath.c
push str.Internal_error_at__s:_d_n
push eax
call dword [esi]
add esp, 0x10
jmp 0x100afba9
push 0
push edi
push eax
call dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x100afba9
push 0
call sym.libxml2.dll_xmlXPathNodeSetCreate
add esp, 4
mov esi, eax
test edi, edi
je 0x100afc56
cmp edi, esi
je 0x100afc56
push edi
call sym.libxml2.dll_xmlXPathFreeNodeSet
add esp, 4
mov ecx, esi
mov eax, ebp
call fcn.100ab370
push eax
mov eax, dword [esp + 0x78]
push eax
call sym.libxml2.dll_valuePush
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
mov dword [ebp + 4], ecx
pop ebp
pop ebx
add esp, 0x60
ret
mov esi, dword [esp + 0x20]
mov ebx, ecx
mov eax, esi
call fcn.100a8910
xor ecx, ecx
mov eax, esi
call fcn.100ab370
mov edx, dword [esp + 0x74]
push eax
push edx
call sym.libxml2.dll_valuePush
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x74]
push 0xb
push eax
call sym.libxml2.dll_xmlXPathErr
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret