Function at 0x4e9680
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
xor ebp, ebp
push esi
call sym.KomManager.exe_xmlParseURI
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4e96dc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
push esi
push str.invalid_value_URI__s_n
mov ecx, dword [edx + 0x10]
push ebx
push ebx
push ebx
mov eax, dword [ecx + eax*4]
push ebx
push esi
push ebx
mov eax, dword [eax + 0xc]
inc dword [edx + 0x34]
push ebx
push 2
push 0x645
push 0xb
push eax
push edx
push ebx
push ebx
push ebx
call sym.KomManager.exe___xmlRaiseError
add esp, 0x44
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4e96ec
mov ebp, eax
mov dword [ebx + 0x20], 0
mov esi, dword [esp + 0x28]
push edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4e972a
mov edi, dword [esp + 0x34]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x4e972a
cmp dword [ecx + 4], 0
je 0x4e972a
test ebp, ebp
je 0x4e971a
push ebp
call dword [sym.KomManager.exe_xmlFree]
mov eax, dword [esi + 0x10]
add esp, 4
mov eax, dword [eax + edi*4]
push dword [eax + 4]
call sym.KomManager.exe_xmlStrdup
add esp, 4
mov ebp, eax
push ebx
call sym.KomManager.exe_xmlSaveUri
mov edi, eax
push ebx
mov dword [esp + 0x18], edi
call sym.KomManager.exe_xmlFreeURI
add esp, 8
test edi, edi
jne 0x4e9775
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4e9756
mov edx, dword [esp + 0x34]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0xc]
jmp 0x4e9758
xor eax, eax
push dword [esp + 0x30]
push str.invalid_value_URI__s_n
push 0x645
push eax
push esi
call fcn.004e9350
add esp, 0x14
jmp 0x4e9919
mov al, byte [edi]
test al, al
je 0x4e9b95
cmp al, 0x23
je 0x4e9b95
mov eax, dword [esi]
test eax, eax
je 0x4e97a1
push dword [eax + 0x48]
push edi
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4e9b95
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4e97dc
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
push dword [eax]
push edi
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4e97d6
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
mov edi, dword [eax + 8]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4e9b9b
mov edi, dword [esp + 0x10]
inc ebx
cmp ebx, dword [esi + 8]
jl 0x4e97a8
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x4e97ed
or eax, 2
mov dword [esi + 0x3c], eax
call sym.KomManager.exe_xmlInitParser
call sym.KomManager.exe_xmlNewParserCtxt
mov ebx, eax
test ebx, ebx
jne 0x4e9833
push str.cannot_allocate_parser_context
push str.Memory_allocation_failed_:__s_n
push eax
push eax
push eax
push eax
inc dword [esi + 0x34]
push str.cannot_allocate_parser_context
push eax
push eax
push 2
push 2
push 0xb
push eax
push esi
push eax
push eax
push eax
call sym.KomManager.exe___xmlRaiseError
add esp, 0x44
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x4e9900
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x110], eax
mov eax, dword [esi]
test eax, eax
je 0x4e986f
cmp dword [eax + 0x50], 0
je 0x4e986f
mov ecx, dword [ebx + 0x128]
test ecx, ecx
je 0x4e985d
push ecx
call sym.KomManager.exe_xmlDictFree
mov eax, dword [esi]
add esp, 4
mov eax, dword [eax + 0x50]
push eax
mov dword [ebx + 0x128], eax
call sym.KomManager.exe_xmlDictReference
add esp, 4
mov eax, dword [esi + 0x3c]
or eax, 4
push eax
push ebx
call sym.KomManager.exe_xmlCtxtUseOptions
push ebx
push 0
push edi
call sym.KomManager.exe_xmlLoadExternalEntity
add esp, 0x14
test eax, eax
jne 0x4e989d
push ebx
call sym.KomManager.exe_xmlFreeParserCtxt
add esp, 4
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x4e9900
push eax
push ebx
call sym.KomManager.exe_inputPush
add esp, 8
cmp dword [ebx + 0xb4], 0
jne 0x4e98bf
push edi
call sym.KomManager.exe_xmlParserGetDirectory
add esp, 4
mov dword [ebx + 0xb4], eax
or dword [ebx + 0x114], 2
push ebx
call sym.KomManager.exe_xmlParseDocument
add esp, 4
cmp dword [ebx + 0xc], 0
je 0x4e98de
mov edi, dword [ebx + 8]
mov dword [esp + 0x14], edi
jmp 0x4e98f7
mov eax, dword [ebx + 8]
xor edi, edi
mov dword [esp + 0x14], edi
test eax, eax
je 0x4e98f4
push eax
call sym.KomManager.exe_xmlFreeDoc
add esp, 4
mov dword [ebx + 8], edi
push ebx
call sym.KomManager.exe_xmlFreeParserCtxt
add esp, 4
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x3c], eax
test edi, edi
jne 0x4e9936
push ebx
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
test ebp, ebp
je 0x4e9ce1
push ebp
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + edx*4]
mov dword [eax + 8], edi
push dword [edi + 0x48]
push ebx
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4e996d
push ebx
call dword [sym.KomManager.exe_xmlFree]
push dword [edi + 0x48]
call sym.KomManager.exe_xmlStrdup
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
jmp 0x4e9971
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
inc ebx
cmp ebx, dword [esi + 8]
jge 0x4e99ae
nop dword [eax + eax]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
push dword [eax]
push ecx
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4e99a1
mov ecx, dword [esp + 0x10]
inc ebx
cmp ebx, dword [esi + 8]
jl 0x4e9980
jmp 0x4e99ae
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + ecx*4]
inc dword [eax + 0x18]
cmp dword [edi + 0x2c], 0
mov ebx, dword [esi]
mov dword [esp + 0x1c], ebx
je 0x4e9a79
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4e99f6
push ebx
call sym.KomManager.exe_xmlDocGetRootElement
add esp, 4
test eax, eax
je 0x4e9a79
push 0
push 0
push dword [eax + 8]
push ebx
call sym.KomManager.exe_xmlCreateIntSubset
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x4e9a79
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x4e9a1f
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4e9a1f
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], esi
push ecx
push 0x4e84f0
push eax
mov dword [esp + 0x2c], ebx
call sym.KomManager.exe_xmlHashScan
add esp, 0xc
mov ebx, dword [edi + 0x30]
test ebx, ebx
je 0x4e9a79
cmp dword [ebx + 0x30], 0
je 0x4e9a79
mov eax, dword [esp + 0x1c]
push dword [ebx + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
push dword [eax + 0x34]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4e9a79
mov eax, dword [esp + 0x18]
push dword [ebx + 0x38]
push dword [eax + 0x38]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4e9a79
lea eax, [esp + 0x20]
push eax
push 0x4e84f0
push dword [ebx + 0x30]
call sym.KomManager.exe_xmlHashScan
add esp, 0xc
push edi
call sym.KomManager.exe_xmlXIncludeNewContext
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4e9b9b
mov ecx, dword [esi + 0x44]
mov dword [ebx + 0x44], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi + 8]
shl eax, 2
push eax
mov dword [ebx + 8], ecx
call dword [sym.KomManager.exe_xmlMalloc]
add esp, 4
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x4e9ae9
push str.processing_doc
push str.Memory_allocation_failed_:__s_n
push eax
push eax
push eax
push eax
inc dword [esi + 0x34]
push str.processing_doc
push eax
push eax
push 2
push 2
push 0xb
push edi
push esi
push eax
push eax
push eax
call sym.KomManager.exe___xmlRaiseError
push ebx
call dword [sym.KomManager.exe_xmlFree]
add esp, 0x48
jmp 0x4e9b9b
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
push dword [esi + 0x40]
call sym.KomManager.exe_xmlStrdup
mov dword [ebx + 0x40], eax
xor edx, edx
mov eax, dword [esi + 8]
add esp, 4
mov dword [ebx + 4], eax
cmp dword [esi + 8], edx
jle 0x4e9b31
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x10]
mov eax, dword [eax + edx*4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edx*4]
inc edx
inc dword [eax + 0x18]
cmp edx, dword [esi + 8]
jl 0x4e9b16
mov eax, dword [esi + 0x3c]
push edi
mov dword [ebx + 0x3c], eax
call sym.KomManager.exe_xmlDocGetRootElement
push eax
push edi
push ebx
call fcn.004e9130
xor ecx, ecx
add esp, 0x10
cmp dword [esi + 8], ecx
jle 0x4e9b69
nop
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + ecx*4]
dec dword [eax + 0x18]
mov eax, dword [ebx + 0x10]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, dword [esi + 8]
jl 0x4e9b50
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x2c], eax
push ebx
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], 0
call sym.KomManager.exe_xmlXIncludeFreeContext
add esp, 4
jmp 0x4e9b9b
xor edi, edi
mov dword [esp + 0x14], edi
test ebp, ebp
jne 0x4e9bec
mov eax, dword [esp + 0x34]
lea ebx, [eax*4]
mov dword [esp + 0x14], ebx
test edi, edi
jne 0x4e9bcf
mov eax, dword [esi]
push dword [eax + 0xc]
call sym.KomManager.exe_xmlCopyNodeList
mov ecx, dword [esi + 0x10]
add esp, 4
mov edi, ebx
mov ecx, dword [ecx + ebx]
mov dword [ecx + 0x10], eax
jmp 0x4e9fc0
push dword [edi + 0xc]
push edi
push dword [esi]
push esi
call fcn.004e8b00
mov ecx, dword [esi + 0x10]
add esp, 0x10
mov ecx, dword [ecx + ebx]
mov dword [ecx + 0x10], eax
jmp 0x4e9e28
test edi, edi
jne 0x4e9c01
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x34]
mov ecx, dword [esi]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0xc]
jmp 0x4e9c05
mov ecx, edi
xor eax, eax
push 0
push eax
push ecx
call sym.KomManager.exe_xmlXPtrNewContext
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x4e9c6e
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x34]
push ebx
push str.could_not_create_XPointer_context_n
push ebx
mov eax, dword [eax + ecx*4]
push ebx
push ebx
push ebx
mov eax, dword [eax + 0xc]
inc dword [esi + 0x34]
push ebx
push ebx
push ebx
push 2
push 0x64c
push 0xb
push eax
push esi
push ebx
push ebx
push ebx
call sym.KomManager.exe___xmlRaiseError
mov ebx, dword [esp + 0x54]
push ebx
call dword [sym.KomManager.exe_xmlFree]
add esp, 0x48
push ebp
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push ebx
push ebp
call sym.KomManager.exe_xmlXPtrEval
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x4e9c8f
push ebp
push str.XPointer_evaluation_failed:__s_n
push 0x64c
jmp 0x4e9cb3
mov eax, dword [ecx]
cmp eax, 9
ja case.0x4e9ca1.6
movzx eax, byte [eax + 0x4ea018]
jmp dword [eax*4 + 0x4ea00c]
push ebp
push str.XPointer_is_not_a_range:__s_n
push 0x64d
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + ecx*4]
push dword [eax + 0xc]
push esi
call fcn.004e9350
push ebx
call sym.KomManager.exe_xmlXPathFreeContext
mov ebx, dword [esp + 0x28]
push ebx
call dword [sym.KomManager.exe_xmlFree]
push ebp
call dword [sym.KomManager.exe_xmlFree]
add esp, 0x20
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret
mov eax, dword [ecx + 4]
test eax, eax
je 0x4e9cf8
cmp dword [eax], 0
jg case.0x4e9ca1.6
push ebx
call sym.KomManager.exe_xmlXPathFreeContext
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.KomManager.exe_xmlFree]
push ebp
call dword [sym.KomManager.exe_xmlFree]
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4e9dcf
xor ebx, ebx
cmp dword [eax], ebx
jle 0x4e9dcf
mov edi, eax
nop dword [eax]
mov eax, dword [edi + 8]
mov eax, dword [eax + ebx*4]
test eax, eax
je case.0x4e9d5a.1
mov eax, dword [eax + 4]
dec eax
cmp eax, 0x14
ja case.0x4e9d5a.1
movzx eax, byte [eax + 0x4ea034]
jmp dword [eax*4 + 0x4ea024]
push ebp
push str.XPointer_selects_an_attribute:__s_n
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x3c]
push 0x64d
mov eax, dword [eax + ecx*4]
push dword [eax + 0xc]
push esi
call fcn.004e9350
jmp 0x4e9db1
push ebp
push str.XPointer_selects_a_namespace:__s_n
jmp 0x4e9d67
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x34]
push ebp
push str.XPointer_selects_unexpected_nodes:__s_n
push 0x64d
mov eax, dword [eax + ecx*4]
push dword [eax + 0xc]
push esi
call fcn.004e9350
mov eax, dword [edi + 8]
mov dword [eax + ebx*4], 0
mov eax, dword [edi + 8]
add esp, 0x14
mov dword [eax + ebx*4], 0
inc ebx
cmp ebx, dword [edi]
jl 0x4e9d40
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
lea ebx, [eax*4]
mov dword [esp + 0x14], ebx
test edi, edi
jne 0x4e9df6
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx]
mov dword [eax + 0x10], edi
jmp 0x4e9e15
push ecx
push edi
push dword [esi]
push esi
call fcn.004e8f30
mov ecx, dword [esi + 0x10]
push dword [esp + 0x28]
mov ecx, dword [ecx + ebx]
mov dword [ecx + 0x10], eax
call sym.KomManager.exe_xmlXPathFreeObject
add esp, 0x14
push dword [esp + 0x20]
call sym.KomManager.exe_xmlXPathFreeContext
push ebp
call dword [sym.KomManager.exe_xmlFree]
add esp, 8
test edi, edi
je 0x4e9fbc
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4e9fbc
test dword [esi + 0x3c], 0x40000
jne 0x4e9fbc
test dword [edi + 0x58], 0x40000
mov edi, dword [esp + 0x14]
jne 0x4e9fc0
mov eax, dword [esi + 0x10]
push str.http:__www.w3.org_XML_1998_namespace
push str.base
mov eax, dword [eax + edi]
push dword [eax + 0xc]
call sym.KomManager.exe_xmlGetNsProp
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x4e9ecd
push dword [esi + 0x40]
push ebx
call sym.KomManager.exe_xmlBuildRelativeURI
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4e9eaf
mov eax, dword [esi + 0x10]
push ebx
push str.trying_to_build_relative_URI_from__s_n
push 0x645
mov eax, dword [eax + edi]
push dword [eax + 0xc]
push esi
call fcn.004e9350
add esp, 0x14
jmp 0x4e9fc0
push 0x2f
push ebp
call sym.KomManager.exe_xmlStrchr
add esp, 8
test eax, eax
jne 0x4e9ecd
push ebp
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
jmp 0x4e9fc0
mov eax, dword [esi + 0x10]
mov eax, dword [eax + edi]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4e9fb2
nop
cmp dword [edi + 4], 1
jne 0x4e9fa7
push edi
push dword [edi + 0x20]
call sym.KomManager.exe_xmlNodeGetBase
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x4e9f0f
push ebp
push edi
call sym.KomManager.exe_xmlNodeSetBase
add esp, 8
jmp 0x4e9fa7
mov eax, dword [edi + 0x20]
push dword [eax + 0x48]
push ecx
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4e9f2e
push ebp
push edi
call sym.KomManager.exe_xmlNodeSetBase
add esp, 8
jmp 0x4e9f9a
push str.http:__www.w3.org_XML_1998_namespace
push str.base
push edi
call sym.KomManager.exe_xmlGetNsProp
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4e9f9a
push ebp
push ebx
call sym.KomManager.exe_xmlBuildURI
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4e9f7c
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
push ebx
push str.trying_to_rebuild_base_from__s_n
push 0x645
mov eax, dword [eax + ecx]
push dword [eax + 0xc]
push esi
call fcn.004e9350
add esp, 0x14
jmp 0x4e9f90
push eax
push edi
call sym.KomManager.exe_xmlNodeSetBase
push dword [esp + 0x28]
call dword [sym.KomManager.exe_xmlFree]
add esp, 0xc
push ebx
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
push dword [esp + 0x1c]
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4e9ee0
push ebp
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
cmp eax, dword [esi + 8]
jge 0x4e9ff2
mov eax, dword [esi + 0x10]
mov eax, dword [edi + eax]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4e9ff2
cmp dword [eax + 0x18], 1
jg 0x4e9ff2
push ecx
call sym.KomManager.exe_xmlFreeDoc
mov eax, dword [esi + 0x10]
add esp, 4
mov eax, dword [eax + edi]
mov dword [eax + 8], 0
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret