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

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x102e2c9f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x102e2c9a
push eax
call sym.php5.dll_xmlFreeParserInputBuffer
add esp, 4
or eax, 0xffffffff
pop esi
ret
push ebx
mov ebx, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x14]
or ebx, 0x10000
mov dword [esp + 0x20], ebx
mov dword [esi + 4], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0xbc], ebx
mov dword [esi + 8], 0
test edi, edi
je 0x102e2cf9
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x102e2cf2
test byte [esi + 0xc], 1
je 0x102e2cf2
push eax
call sym.php5.dll_xmlFreeParserInputBuffer
add esp, 4
dec dword [esi + 0xc]
mov dword [esi + 0x1c], 0
or dword [esi + 0xc], 1
mov dword [esi + 0x1c], edi
cmp dword [esi + 0x54], 0
jne 0x102e2d10
push 0x64
call fcn.102e8e00
add esp, 4
mov dword [esi + 0x54], eax
test eax, eax
je 0x102e2d2e
cmp dword [esi + 0x18], 0
jne 0x102e2d27
push 0x80
call dword [sym.php5.dll_xmlMalloc]
add esp, 4
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x102e2d4f
call sym.php5.dll___xmlGenericError
mov esi, eax
call sym.php5.dll___xmlGenericErrorContext
push str.xmlTextReaderSetup_:_malloc_failed_n
push dword [eax]
mov eax, dword [esi]
call eax
add esp, 8
or eax, 0xffffffff
pop edi
pop ebx
pop esi
ret
push 2
push eax
call sym.php5.dll_xmlSAXVersion
mov ecx, dword [esi + 0x18]
add esp, 8
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x20], eax
mov dword [ecx + 0x38], 0x102e3120
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x3c]
mov dword [esi + 0x24], eax
mov dword [ecx + 0x3c], 0x102dfe30
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x6c], 0xdeedbeaf
jne 0x102e2da5
mov eax, dword [ecx + 0x74]
mov dword [esi + 0x28], eax
mov dword [ecx + 0x74], 0x102e3180
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
mov dword [esi + 0x2c], eax
mov dword [ecx + 0x78], 0x102dfe50
jmp 0x102e2db3
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov ecx, dword [esi + 0x18]
push ebp
mov eax, dword [ecx + 0x44]
mov ebp, dword [esp + 0x1c]
mov dword [esi + 0x30], eax
mov dword [ecx + 0x44], 0x102df760
mov eax, dword [esi + 0x18]
mov dword [eax + 0x48], 0x102df760
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x64]
mov dword [esi + 0x34], eax
mov dword [ecx + 0x64], 0x102df740
mov dword [esi], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
test edi, edi
je 0x102e2f1f
mov eax, dword [esi + 0x1c]
push dword [eax + 0x10]
call fcn.102e9810
add esp, 4
cmp eax, 4
jae 0x102e2e1c
push 4
push edi
call sym.php5.dll_xmlParserInputBufferRead
add esp, 8
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x102e2e88
mov eax, dword [esi + 0x1c]
push dword [eax + 0x10]
call fcn.102e9810
add esp, 4
push ebp
cmp eax, 4
jb 0x102e2e6b
mov eax, dword [esi + 0x1c]
push 4
push dword [eax + 0x10]
call fcn.102e8d20
add esp, 4
push eax
push 0
push dword [esi + 0x18]
call sym.php5.dll_xmlCreatePushParserCtxt
add esp, 0x14
mov dword [esi + 0x14], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 4
jmp 0x102e2ef7
push 0
push 0
push 0
push dword [esi + 0x18]
call sym.php5.dll_xmlCreatePushParserCtxt
add esp, 0x14
mov dword [esi + 0x14], eax
mov dword [esi + 0x38], 0
jmp 0x102e2ef0
push eax
call sym.php5.dll_xmlCtxtReset
push 0
call sym.php5.dll_xmlAllocParserInputBuffer
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x102e2f17
push dword [esi + 0x14]
call sym.php5.dll_xmlNewInputStream
mov edi, eax
add esp, 4
test edi, edi
jne 0x102e2ec0
push ebx
call sym.php5.dll_xmlFreeParserInputBuffer
add esp, 4
or eax, 0xffffffff
pop ebp
pop edi
pop ebx
pop esi
ret
test ebp, ebp
jne 0x102e2ec9
mov dword [edi + 4], ebp
jmp 0x102e2ed5
push ebp
call sym.php5.dll_xmlCanonicPath
add esp, 4
mov dword [edi + 4], eax
mov dword [edi], ebx
push edi
push dword [ebx + 0x10]
call fcn.102e9440
push edi
push dword [esi + 0x14]
call sym.php5.dll_inputPush
mov ebx, dword [esp + 0x34]
add esp, 0x10
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x14], 0
jne 0x102e2f1f
call sym.php5.dll___xmlGenericError
mov esi, eax
call sym.php5.dll___xmlGenericErrorContext
push str.xmlTextReaderSetup_:_malloc_failed_n
push dword [eax]
mov eax, dword [esi]
call eax
add esp, 8
pop ebp
pop edi
pop ebx
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esi + 0x58]
test eax, eax
je 0x102e2f4a
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x128]
test edx, edx
je 0x102e2f42
cmp eax, edx
je 0x102e2f70
push eax
call sym.php5.dll_xmlDictFree
add esp, 4
jmp 0x102e2f64
mov dword [ecx + 0x128], eax
jmp 0x102e2f70
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x128], 0
jne 0x102e2f64
call sym.php5.dll_xmlDictCreate
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x128], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x128]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 0x110], esi
mov eax, dword [esi + 0x14]
mov dword [eax + 0x118], 1
mov eax, dword [esi + 0x14]
mov dword [eax + 0x16c], 1
mov eax, dword [esi + 0x14]
mov dword [eax + 0x134], 1
mov eax, dword [esi + 0x14]
mov dword [eax + 0x1b4], 5
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x102e2fca
push eax
call sym.php5.dll_xmlXIncludeFreeContext
add esp, 4
mov dword [esi + 0xa4], 0
test ebx, 0x400
je 0x102e2ffc
push 0xffffffffffffffff
push str.include
push dword [esi + 0x58]
mov dword [esi + 0x9c], 1
call sym.php5.dll_xmlDictLookup
add esp, 0xc
mov dword [esi + 0xa0], eax
sub ebx, 0x400
jmp 0x102e3006
mov dword [esi + 0x9c], 0
cmp dword [esi + 0xb4], 0
mov dword [esi + 0xa8], 0
jne 0x102e302d
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
cmp dword [esi + 0xac], 0
jle 0x102e307e
jmp 0x102e3040
dec dword [esi + 0xac]
mov ecx, dword [esi + 0xac]
mov eax, dword [esi + 0xb4]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x102e3075
push eax
call sym.php5.dll_xmlFreePattern
mov ecx, dword [esi + 0xac]
mov eax, dword [esi + 0xb4]
add esp, 4
mov dword [eax + ecx*4], 0
cmp dword [esi + 0xac], 0
jg 0x102e3040
test bl, 0x10
je 0x102e308a
mov dword [esi + 8], 1
push ebx
push dword [esi + 0x14]
call sym.php5.dll_xmlCtxtUseOptions
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x102e30b7
push eax
call sym.php5.dll_xmlFindCharEncodingHandler
add esp, 4
test eax, eax
je 0x102e30b7
push eax
push dword [esi + 0x14]
call sym.php5.dll_xmlSwitchToEncoding
add esp, 8
test ebp, ebp
je 0x102e30dd
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x102e30dd
cmp dword [eax + 4], 0
jne 0x102e30dd
push ebp
call sym.php5.dll_xmlStrdup
mov ecx, dword [esi + 0x14]
add esp, 4
mov ecx, dword [ecx + 0x24]
mov dword [ecx + 4], eax
pop ebp
pop edi
pop ebx
mov dword [esi + 4], 0
xor eax, eax
pop esi
ret