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

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x44], 0
mov eax, dword [esi + 0x10]
mov ebp, dword [esi + 0xc]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x70], ebx
test eax, eax
je 0x4a5c92
cmp dword [eax], 1
jne 0x4a5c92
push edi
call sym.KomManager.exe_valuePop
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], ecx
test eax, eax
je 0x4a53a7
push eax
push ebx
call sym.KomManager.exe_xmlXPathNsLookup
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
jne 0x4a53a3
push dword [esp + 0x50]
push ebx
call fcn.004a66d0
push 0x13
push edi
call sym.KomManager.exe_xmlXPathErr
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x50]
lea eax, [ebp - 1]
mov dword [esp + 0x34], 0x49c780
cmp eax, 0xc
ja case.default.0x4a53bb
jmp dword [eax*4 + 0x4a5ca8]
xor eax, eax
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextAncestor
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
jmp 0x4a54ff
xor eax, eax
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextAncestorOrSelf
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
jmp 0x4a54ff
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextAttribute
jmp 0x4a54f1
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
cmp eax, 5
je 0x4a5411
cmp eax, 3
jne 0x4a5420
cmp dword [esp + 0x58], 0
mov dword [esp + 0x20], 0x49cad0
je 0x4a5428
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextChild
mov eax, dword [esp + 0x74]
mov dword [esp + 0x34], 0x49c990
mov dword [esp + 0x24], eax
jmp 0x4a5503
xor eax, eax
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextDescendant
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
jmp 0x4a5503
xor eax, eax
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextDescendantOrSelf
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
jmp 0x4a5503
xor eax, eax
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextFollowing
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
jmp 0x4a5503
xor eax, eax
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextFollowingSibling
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
jmp 0x4a5503
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextNamespace
jmp 0x4a54f1
xor eax, eax
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextParent
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
jmp 0x4a54ff
xor eax, eax
mov dword [esp + 0x20], 0x49cbb0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
jmp 0x4a54ff
xor eax, eax
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextPrecedingSibling
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
jmp 0x4a54ff
mov dword [esp + 0x20], sym.KomManager.exe_xmlXPathNextSelf
xor eax, eax
mov dword [esp + 0x34], 0x49c990
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x60], eax
test eax, eax
je 0x4a5c5b
cmp dword [eax], 0
jle 0x4a5c5b
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x18], edx
cmp ecx, 0xffffffff
je 0x4a55cf
mov eax, dword [edi + 0x20]
mov edx, dword [eax + 8]
lea eax, [ecx + ecx*4]
lea ecx, [edx + eax*8]
mov eax, dword [ecx]
mov dword [esp + 0x2c], ecx
cmp eax, 0x10
je 0x4a5559
cmp eax, 0x11
jne 0x4a55cd
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
je 0x4a55cd
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
test eax, eax
je 0x4a55cd
cmp dword [eax], 0xc
jne 0x4a55cd
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4a55cd
cmp dword [eax], 3
jne 0x4a55cd
movsd xmm1, qword [eax + 0x10]
cvttsd2si ebx, xmm1
mov dword [esp + 0x10], ebx
movd xmm0, ebx
mov ebx, dword [esp + 0x70]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x4a55cd
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x4a55bd
lea eax, [eax + eax*4]
mov dword [esp + 0x5c], 1
lea edx, [edx + eax*8]
mov dword [esp + 0x2c], edx
jmp 0x4a55cf
xor edx, edx
mov dword [esp + 0x18], 1
mov dword [esp + 0x2c], edx
jmp 0x4a55cf
mov edx, ecx
cmp dword [esp + 0x7c], 0
je 0x4a55e2
mov dword [esp + 0x1c], 1
test edx, edx
je 0x4a55ea
mov dword [esp + 0x1c], 0
mov eax, dword [ebx + 4]
xor ebp, ebp
mov dword [esp + 0x64], eax
mov esi, edi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x14], eax
jmp 0x4a5610
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x6c]
nop word [eax + eax]
mov eax, dword [esp + 0x60]
cmp ecx, dword [eax]
jge 0x4a5b11
cmp dword [esi + 8], 0
jne 0x4a5b11
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [ebx + 4], eax
mov dword [esp + 0x3c], ecx
test ebp, ebp
jne 0x4a565c
push 0xc
call dword [sym.KomManager.exe_xmlMalloc]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4a5afc
xorps xmm0, xmm0
movq qword [ebp], xmm0
mov dword [ebp + 8], 0
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x38], ebx
push edi
push esi
call dword [esp + 0x28]
mov edi, eax
add esp, 8
test edi, edi
je 0x4a59d1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a56b7
mov ecx, dword [eax]
test ecx, ecx
je 0x4a56b7
cmp ecx, edi
je 0x4a59d1
mov edx, dword [esp + 0x30]
mov eax, edx
and eax, 0x800000ff
jns 0x4a56a3
dec eax
or eax, 0xffffff00
add eax, 1
jne 0x4a56bb
push edi
push ecx
call fcn.0049e140
add esp, 8
test eax, eax
jns 0x4a59d1
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a56f7
mov ecx, dword [eax]
test ecx, ecx
je 0x4a56f7
cmp ecx, edi
je 0x4a59d1
mov eax, edx
and eax, 0x800000ff
jns 0x4a56e3
dec eax
or eax, 0xffffff00
add eax, 1
jne 0x4a56f7
push ecx
push edi
call fcn.0049e140
add esp, 8
test eax, eax
jns 0x4a59d1
inc dword [esp + 0x30]
mov eax, dword [esp + 0x54]
cmp eax, 5
ja case.0x4a572b.5
jmp dword [eax*4 + 0x4a5cdc]
mov ecx, dword [esp + 0x58]
mov eax, dword [edi + 4]
test ecx, ecx
jne 0x4a578c
dec eax
cmp eax, 0x14
ja case.0x4a572b.5
movzx eax, byte [eax + 0x4a5d00]
jmp dword [eax*4 + 0x4a5cf4]
cmp dword [esp + 0x4c], 9
jne 0x4a577f
cmp dword [esp + 0x18], 0
je 0x4a5761
inc ebx
cmp ebx, dword [esp + 0x10]
jne case.0x4a572b.5
mov ebx, dword [esp + 0x70]
push edi
push dword [ebx + 4]
push ebp
call sym.KomManager.exe_xmlXPathNodeSetAddNs
add esp, 0xc
jmp 0x4a5834
mov eax, dword [esp + 0x70]
push edi
mov dword [esp + 0x3c], 1
push dword [eax + 4]
push ebp
call sym.KomManager.exe_xmlXPathNodeSetAddNs
add esp, 0xc
jmp 0x4a59b1
mov dword [esp + 0x38], 1
jmp case.0x4a572b.1
cmp eax, ecx
jne 0x4a57a8
cmp eax, 0x12
jne case.0x4a572b.1
cmp dword [esp + 0x18], 0
je 0x4a5761
inc ebx
cmp ebx, dword [esp + 0x10]
je 0x4a574b
jmp case.0x4a572b.5
cmp ecx, 3
jne case.0x4a572b.5
cmp eax, 4
jne case.0x4a572b.5
jmp case.0x4a572b.1
cmp dword [edi + 4], 7
jne case.0x4a572b.5
mov eax, dword [esp + 0x48]
test eax, eax
je case.0x4a572b.1
push dword [edi + 8]
push eax
jmp 0x4a5800
mov eax, dword [esp + 0x4c]
cmp eax, 3
jne 0x4a5856
cmp dword [edi + 4], 2
jne case.0x4a572b.5
cmp dword [esp + 0x40], 0
je case.0x4a572b.1
mov eax, dword [edi + 0x24]
test eax, eax
je case.0x4a572b.5
push dword [eax + 8]
push dword [esp + 0x48]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je case.0x4a572b.5
cmp dword [esp + 0x18], 0
je 0x4a59a7
inc ebx
cmp ebx, dword [esp + 0x10]
jne case.0x4a572b.5
push edi
push ebp
call sym.KomManager.exe_xmlXPathNodeSetAddUnique
mov ebx, dword [esp + 0x78]
add esp, 8
test eax, eax
jns 0x4a583f
mov dword [esi + 8], 0xf
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a5a21
mov dword [esp + 0x14], ebp
xor ebp, ebp
jmp 0x4a5a30
cmp eax, 9
jne 0x4a5880
cmp dword [edi + 4], 0x12
jne case.0x4a572b.5
cmp dword [esp + 0x18], 0
je 0x4a5761
inc ebx
cmp ebx, dword [esp + 0x10]
je 0x4a574b
jmp case.0x4a572b.5
cmp dword [edi + 4], 1
jmp 0x4a57e1
call sym.KomManager.exe___xmlGenericError
mov esi, eax
call sym.KomManager.exe___xmlGenericErrorContext
push 0x30ac
push str.d:projectsgrandchaselibrarylibxmlxpath.c
push str.Unimplemented_block_at__s:_d_n
push dword [eax]
mov eax, dword [esi]
call eax
mov esi, dword [esp + 0x7c]
add esp, 0x10
jmp case.0x4a572b.5
mov eax, dword [esp + 0x4c]
cmp eax, 3
jne 0x4a58d0
cmp dword [edi + 4], 2
jne case.0x4a572b.5
mov eax, 2
jmp 0x4a58f2
cmp eax, 9
jne 0x4a58e6
cmp dword [edi + 4], 0x12
jne case.0x4a572b.5
mov eax, 0x12
jmp 0x4a58f2
mov eax, dword [edi + 4]
cmp eax, 1
jne case.0x4a572b.5
sub eax, 1
je 0x4a597e
sub eax, 1
je 0x4a594a
sub eax, 0x10
jne case.0x4a572b.5
mov eax, dword [edi + 0xc]
test eax, eax
je case.0x4a572b.5
mov ecx, dword [esp + 0x48]
test ecx, ecx
je case.0x4a572b.5
push ecx
push eax
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je case.0x4a572b.5
cmp dword [esp + 0x18], 0
je 0x4a5761
inc ebx
cmp ebx, dword [esp + 0x10]
je 0x4a574b
jmp case.0x4a572b.5
push dword [edi + 8]
push dword [esp + 0x4c]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je case.0x4a572b.5
cmp dword [esp + 0x40], 0
mov eax, dword [edi + 0x24]
jne 0x4a57f1
test eax, eax
je case.0x4a572b.1
cmp dword [eax + 0xc], 0
jne case.0x4a572b.5
jmp case.0x4a572b.1
push dword [edi + 8]
push dword [esp + 0x4c]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je case.0x4a572b.5
cmp dword [esp + 0x40], 0
jne 0x4a57ee
cmp dword [edi + 0x24], 0
jne case.0x4a572b.5
jmp case.0x4a572b.1
push edi
push ebp
call sym.KomManager.exe_xmlXPathNodeSetAddUnique
add esp, 8
test eax, eax
jns 0x4a59bc
mov dword [esi + 8], 0xf
cmp dword [esp + 0x1c], 0
jne 0x4a5b6c
cmp dword [esi + 8], 0
je 0x4a5664
cmp dword [esi + 8], 0
jne 0x4a5bc5
mov edx, dword [esp + 0x2c]
mov esi, dword [ebp]
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
test edx, edx
je 0x4a5ac1
test esi, esi
jle 0x4a5603
cmp dword [esp + 0x5c], 0
mov edi, dword [esp + 0x6c]
je 0x4a5a44
push dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
push ebx
push ebx
push esi
push ebp
push edx
push edi
call fcn.004a18e0
mov ebx, dword [esp + 0x54]
add esp, 0x1c
jmp 0x4a5a55
push 0
push ebp
push eax
call dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x14], eax
cmp dword [esp + 0x7c], 0
jne 0x4a5b11
mov ecx, dword [esp + 0x3c]
jmp 0x4a5610
mov ebx, dword [esp + 0x38]
push ebx
push esi
push ebp
push edx
push edi
call fcn.004a1c60
add esp, 0x14
cmp dword [edi + 8], 0
mov ecx, eax
jne 0x4a5bce
test ecx, ecx
jne 0x4a5a78
push ebx
push ebp
call fcn.004a5d20
mov ebx, dword [esp + 0x78]
add esp, 8
jmp 0x4a55ff
cmp dword [ebp], 0
mov ebx, dword [esp + 0x70]
jle 0x4a55ff
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x4a5aa0
cmp esi, ecx
je 0x4a5a98
push 1
push ebp
push edx
jmp 0x4a5aaa
mov dword [esp + 0x14], ebp
xor ebp, ebp
jmp 0x4a5ab5
xor eax, eax
cmp esi, ecx
setne al
push eax
push ebp
push edx
call dword [esp + 0x40]
mov dword [esp + 0x20], eax
add esp, 0xc
cmp dword [esp + 0x7c], 0
jne 0x4a5b15
jmp 0x4a55ff
test esi, esi
mov esi, dword [esp + 0x6c]
jle 0x4a5610
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a5ae4
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebp
xor ebp, ebp
jmp 0x4a5610
push 0
push ebp
push eax
call dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4a5610
push str.creating_nodeset_n
push 0
call fcn.004a4bb0
add esp, 8
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
cmp dword [edx + 8], 0
je 0x4a5b4a
cmp dword [edx + 0x1c], 0
je 0x4a5b4a
mov eax, dword [edi + 0x10]
mov dword [eax + 8], 1
mov ecx, dword [edi + 0x10]
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov dword [edx + 0x1c], 0
mov dword [edx + 8], 0
push edx
push ebx
call fcn.004a66d0
add esp, 8
test esi, esi
jne 0x4a5c0e
test ebp, ebp
je 0x4a5bdf
cmp dword [ebp], esi
jne 0x4a5bdf
mov esi, ebp
jmp 0x4a5c0e
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a5b82
mov edi, dword [esp + 0x6c]
mov esi, ebp
mov ebx, dword [esp + 0x70]
xor ebp, ebp
jmp 0x4a5b19
push 0
push ebp
push eax
call dword [esp + 0x40]
mov edi, dword [esp + 0x78]
add esp, 0xc
mov ebx, dword [esp + 0x70]
mov esi, eax
jmp 0x4a5b19
mov dword [esp + 0x30], 0
call sym.KomManager.exe___xmlGenericError
mov esi, eax
call sym.KomManager.exe___xmlGenericErrorContext
push 0x305b
push str.d:projectsgrandchaselibrarylibxmlxpath.c
push str.Internal_error_at__s:_d_n
push dword [eax]
mov eax, dword [esi]
call eax
add esp, 0x10
mov ebx, dword [esp + 0x70]
jmp 0x4a5b11
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x30], 0
jmp 0x4a5b15
push 0xc
call dword [sym.KomManager.exe_xmlMalloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4a5c00
push str.creating_nodeset_n
push eax
call fcn.004a4bb0
add esp, 8
jmp 0x4a5c0e
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
test ebp, ebp
je 0x4a5c1f
cmp ebp, esi
je 0x4a5c1f
push ebp
call sym.KomManager.exe_xmlXPathFreeNodeSet
add esp, 4
push esi
push ebx
call fcn.0049e040
push eax
push edi
call sym.KomManager.exe_valuePush
mov ecx, dword [ebx + 0x78]
add esp, 0x10
mov eax, dword [esp + 0x64]
mov dword [ebx + 4], eax
test ecx, ecx
je 0x4a5c4f
push ecx
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
mov dword [ebx + 0x78], 0
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push ecx
push ebx
call fcn.004a66d0
push 0
push ebx
call fcn.0049e040
push eax
push edi
call sym.KomManager.exe_valuePush
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push ecx
push ebx
call fcn.004a66d0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push 0xb
push edi
call sym.KomManager.exe_xmlXPathErr
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret