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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0xc], eax
push edi
mov eax, dword [esi + 0x10]
mov edi, eax
mov ebp, dword [esi + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
call sym.KomManager.exe_xmlInitParser
mov eax, dword [ebx + 4]
cmp eax, 0xd
je 0x4b859e
cmp eax, 9
jne 0x4b86a5
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4b85aa
mov dword [ebx + 0x3c], ecx
jmp 0x4b85cb
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x4b85b5
mov edi, ecx
jmp 0x4b85cb
mov ecx, dword [ebx + 0x4c]
cmp ecx, 1
je 0x4b85cb
push ecx
call sym.KomManager.exe_xmlGetCharEncodingName
mov edi, eax
add esp, 4
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x20]
cmp eax, 0xd
jne 0x4b85d8
test cl, 0x30
je 0x4b85dd
test cl, 0x40
je 0x4b864e
test edi, edi
je 0x4b85ed
push edi
push ebx
call sym.KomManager.exe_htmlSetMetaEncoding
add esp, 8
jmp 0x4b8600
push ebx
call sym.KomManager.exe_htmlGetMetaEncoding
add esp, 4
mov edi, str.HTML
test eax, eax
cmovne edi, eax
cmp dword [esp + 0x24], 0
jne 0x4b8621
cmp dword [ebp + 0xc], 0
jne 0x4b8621
cmp dword [ebp + 0x14], 0
jne 0x4b8621
push edi
push esi
call fcn.004b94e0
add esp, 8
test eax, eax
js 0x4b869e
mov eax, dword [esi + 0x20]
and eax, 1
push eax
push edi
push ebx
push ebp
call sym.KomManager.exe_htmlDocContentDumpFormatOutput
add esp, 0x10
cmp dword [esi + 0x10], 0
je 0x4b8813
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ebx + 0x3c], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x10
ret
cmp eax, 9
je 0x4b865c
test cl, 0x30
je 0x4b880c
push edi
call sym.KomManager.exe_xmlParseCharEncoding
add esp, 4
test edi, edi
je 0x4b86d8
cmp dword [esp + 0x24], 0
jne 0x4b86d8
cmp dword [ebp + 0xc], 0
jne 0x4b86d8
cmp dword [ebp + 0x14], 0
jne 0x4b86d8
test byte [esi + 0x20], 2
jne 0x4b86d8
cmp eax, 1
je 0x4b86b8
test eax, eax
je 0x4b86b8
cmp eax, 0x16
je 0x4b86b8
push edi
push esi
call fcn.004b94e0
add esp, 8
test eax, eax
jns 0x4b86b0
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x3c], eax
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
mov dword [esp + 0x14], 1
cmp dword [esi + 0x74], 0x4b71f0
jne 0x4b86c8
mov dword [esi + 0x74], 0
cmp dword [esi + 0x78], 0x4b71f0
jne 0x4b86d8
mov dword [esi + 0x78], 0
mov eax, dword [esi + 0x20]
test al, 2
jne 0x4b876e
push str.__xml_version
push 0xe
push ebp
call sym.KomManager.exe_xmlOutputBufferWrite
mov eax, dword [ebx + 0x38]
add esp, 0xc
test eax, eax
je 0x4b8708
push eax
push dword [ebp + 0x10]
call fcn.0046a140
add esp, 8
jmp 0x4b8718
push str._1.0_
push 5
push ebp
call sym.KomManager.exe_xmlOutputBufferWrite
add esp, 0xc
test edi, edi
je 0x4b8735
push str._encoding
push 0xa
push ebp
call sym.KomManager.exe_xmlOutputBufferWrite
push edi
push dword [ebp + 0x10]
call fcn.0046a140
add esp, 0x14
mov eax, dword [ebx + 0x28]
sub eax, 0
je 0x4b874b
sub eax, 1
jne 0x4b875b
push str._standalone_yes_
push 0x11
jmp 0x4b8752
push str._standalone_no_
push 0x10
push ebp
call sym.KomManager.exe_xmlOutputBufferWrite
add esp, 0xc
push 0x681df4
push 3
push ebp
call sym.KomManager.exe_xmlOutputBufferWrite
mov eax, dword [esi + 0x20]
add esp, 0xc
mov edi, dword [esp + 0x28]
mov ebx, eax
shr ebx, 4
and ebx, 1
test al, 8
jne 0x4b87a2
push edi
call sym.KomManager.exe_xmlGetIntSubset
add esp, 4
test eax, eax
je 0x4b87a2
push dword [eax + 0x34]
push dword [eax + 0x38]
call sym.KomManager.exe_xmlIsXHTML
mov ebx, eax
add esp, 8
xor eax, eax
test ebx, ebx
cmovs ebx, eax
mov edi, dword [edi + 0xc]
test edi, edi
je 0x4b87e3
nop dword [eax]
mov dword [esi + 0x24], 0
push edi
push esi
test ebx, ebx
je 0x4b87c4
call fcn.004b77f0
jmp 0x4b87c9
call fcn.004b8a90
add esp, 8
push 0x66eac4
push 1
push ebp
call sym.KomManager.exe_xmlOutputBufferWrite
mov edi, dword [edi + 0x18]
add esp, 0xc
test edi, edi
jne 0x4b87b0
cmp dword [esp + 0x14], 0
je 0x4b8808
cmp dword [esp + 0x24], 0
jne 0x4b8808
push esi
call fcn.004b9340
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x78], eax
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x3c], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret