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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
xor ebx, ebx
cmp ebp, ebx
jne 0x10079d43
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10079d3d
push eax
call sym.libxml2.dll_xmlFreeParserInputBuffer
add esp, 4
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x14]
or eax, 0x10000
push edi
mov dword [esp + 0x24], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0xbc], eax
mov dword [ebp + 8], ebx
cmp esi, ebx
je 0x10079d92
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x10079d85
test byte [ebp + 0xc], 1
je 0x10079d85
push eax
call sym.libxml2.dll_xmlFreeParserInputBuffer
add esp, 4
dec dword [ebp + 0xc]
mov dword [ebp + 0x1c], ebx
mov edi, 1
or dword [ebp + 0xc], edi
mov dword [ebp + 0x1c], esi
jmp 0x10079d97
mov edi, 1
cmp dword [ebp + 0x54], ebx
jne 0x10079db2
mov edi, 0x64
call fcn.10001130
mov dword [ebp + 0x54], eax
mov edi, 1
cmp eax, ebx
je 0x10079dcf
cmp dword [ebp + 0x18], ebx
jne 0x10079dc8
push 0x80
call dword [sym.libxml2.dll_xmlMalloc]
add esp, 4
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jne 0x10079e2f
call fcn.10059ad0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call edi
cmp dword [0x100fbd44], eax
jne 0x10079deb
mov esi, 0x1010c1f8
jmp 0x10079df8
call sym.libxml2.dll_xmlGetGlobalState
mov esi, eax
add esi, 0x17c
call fcn.10059ad0
call edi
cmp dword [0x100fbd44], eax
jne 0x10079e0e
mov eax, 0x100fac24
jmp 0x10079e18
call sym.libxml2.dll_xmlGetGlobalState
add eax, 0x174
mov ecx, dword [esi]
mov edx, dword [eax]
push str.xmlTextReaderSetup_:_malloc_failed_n
push ecx
call edx
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
push 2
push eax
call sym.libxml2.dll_xmlSAXVersion
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x38]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x38], 0x10075c60
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 0x3c]
mov dword [ebp + 0x24], edx
mov dword [eax + 0x3c], 0x10075cc0
mov eax, dword [ebp + 0x18]
add esp, 8
cmp dword [eax + 0x6c], 0xdeedbeaf
jne 0x10079e85
mov ecx, dword [eax + 0x74]
mov dword [ebp + 0x28], ecx
mov dword [eax + 0x74], 0x10075ce0
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 0x78]
mov dword [ebp + 0x2c], edx
mov dword [eax + 0x78], 0x10075d60
jmp 0x10079e8b
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x44]
mov dword [ebp + 0x30], ecx
mov ecx, 0x10075d80
mov dword [eax + 0x44], ecx
mov edx, dword [ebp + 0x18]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x64]
mov dword [ebp + 0x34], ecx
mov dword [eax + 0x64], 0x10075da0
mov dword [ebp], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
cmp esi, ebx
je 0x10079fe9
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x10]
push eax
call sym.libxml2.dll_xmlBufUse
add esp, 4
cmp eax, 4
jae 0x10079ee2
push 4
push esi
call sym.libxml2.dll_xmlParserInputBufferRead
add esp, 8
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jne 0x10079f4f
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x10]
push edx
call sym.libxml2.dll_xmlBufUse
add esp, 4
cmp eax, 4
jb 0x10079f33
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x10]
push eax
push 4
push edx
call sym.libxml2.dll_xmlBufContent
add esp, 4
push eax
mov eax, dword [ebp + 0x18]
push ebx
push eax
call sym.libxml2.dll_xmlCreatePushParserCtxt
add esp, 0x14
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], 4
jmp 0x10079fc1
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
push ebx
push ebx
push ebx
push edx
call sym.libxml2.dll_xmlCreatePushParserCtxt
add esp, 0x14
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x38], ebx
jmp 0x10079fbe
push eax
call sym.libxml2.dll_xmlCtxtReset
push ebx
call sym.libxml2.dll_xmlAllocParserInputBuffer
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x10079fe1
mov eax, dword [ebp + 0x14]
push eax
call sym.libxml2.dll_xmlNewInputStream
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x10079f87
push edi
call sym.libxml2.dll_xmlFreeParserInputBuffer
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x10079f94
mov dword [esi + 4], ebx
jmp 0x10079fa0
push eax
call sym.libxml2.dll_xmlCanonicPath
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [edi + 0x10]
mov edx, esi
call fcn.10002290
mov ecx, dword [ebp + 0x14]
push esi
push ecx
call sym.libxml2.dll_inputPush
add esp, 8
mov edi, 1
mov dword [ebp + 0x3c], ebx
cmp dword [ebp + 0x14], ebx
jne 0x10079fe9
call sym.libxml2.dll___xmlGenericError
mov esi, eax
call sym.libxml2.dll___xmlGenericErrorContext
mov edx, dword [eax]
mov eax, dword [esi]
push str.xmlTextReaderSetup_:_malloc_failed_n
push edx
call eax
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov edx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x14]
cmp edx, ebx
je 0x1007a020
mov ecx, dword [eax + 0x128]
cmp ecx, ebx
je 0x1007a018
cmp edx, ecx
je 0x1007a042
push edx
call sym.libxml2.dll_xmlDictFree
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x128]
add esp, 4
mov dword [ebp + 0x58], edx
jmp 0x1007a042
mov dword [eax + 0x128], edx
jmp 0x1007a042
cmp dword [eax + 0x128], ebx
jne 0x1007a036
call sym.libxml2.dll_xmlDictCreate
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x128]
mov dword [ebp + 0x58], eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x110], ebp
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x118], edi
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x16c], edi
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x134], edi
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1b4], 5
mov eax, dword [ebp + 0xa4]
cmp eax, ebx
je 0x1007a08c
push eax
call sym.libxml2.dll_xmlXIncludeFreeContext
add esp, 4
mov dword [ebp + 0xa4], ebx
mov esi, 0x400
test dword [esp + 0x24], esi
je 0x1007a0bc
mov eax, dword [ebp + 0x58]
push 0xffffffffffffffff
push str.include
push eax
mov dword [ebp + 0x9c], edi
call sym.libxml2.dll_xmlDictLookup
add esp, 0xc
sub dword [esp + 0x24], esi
mov dword [ebp + 0xa0], eax
jmp 0x1007a0c2
mov dword [ebp + 0x9c], ebx
mov dword [ebp + 0xa8], ebx
cmp dword [ebp + 0xb4], ebx
jne 0x1007a0dc
mov dword [ebp + 0xac], ebx
mov dword [ebp + 0xb0], ebx
cmp dword [ebp + 0xac], ebx
jle 0x1007a120
dec dword [ebp + 0xac]
mov eax, dword [ebp + 0xac]
mov ecx, dword [ebp + 0xb4]
cmp dword [ecx + eax*4], ebx
lea eax, [ecx + eax*4]
je 0x1007a118
mov edx, dword [eax]
push edx
call sym.libxml2.dll_xmlFreePattern
mov eax, dword [ebp + 0xac]
mov ecx, dword [ebp + 0xb4]
add esp, 4
mov dword [ecx + eax*4], ebx
cmp dword [ebp + 0xac], ebx
jg 0x1007a0e4
mov eax, dword [esp + 0x24]
test al, 0x10
je 0x1007a12b
mov dword [ebp + 8], edi
mov esi, dword [ebp + 0x14]
xor edi, edi
call fcn.100415a0
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1007a157
push eax
call sym.libxml2.dll_xmlFindCharEncodingHandler
add esp, 4
cmp eax, ebx
je 0x1007a157
mov edx, dword [ebp + 0x14]
push eax
push edx
call sym.libxml2.dll_xmlSwitchToEncoding
add esp, 8
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x1007a180
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x24]
cmp eax, ebx
je 0x1007a180
cmp dword [eax + 4], ebx
jne 0x1007a180
push ecx
call sym.libxml2.dll_xmlStrdup
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x24]
add esp, 4
mov dword [edx + 4], eax
pop edi
pop esi
mov dword [ebp + 4], ebx
pop ebp
xor eax, eax
pop ebx
ret