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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, eax
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x24], edx
mov edx, dword [esi + 0x74]
mov dword [ebp - 0x28], 0
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
xor eax, eax
test edx, edx
je 0x4a19d4
mov ebx, edx
lea esi, [esi]
sub esp, 0xc
mov edx, dword [ebx + 0x20]
push edx
call fcn.004b1e90
mov edx, eax
add esp, 0x10
inc edx
je 0x4a1d1d
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x4a19f6
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x24]
cmp dword [eax + edx*4 - 4], ecx
je 0x4a19e0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4a19a0
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
cmp eax, 2
je 0x4a1a2d
dec eax
je 0x4a1ad6
dec edx
mov dword [ebx + 0x10], edx
test edx, edx
jne 0x4a19cb
mov eax, dword [ebp - 0x24]
cmp dword [ebx + 8], eax
jne 0x4a19cb
cmp dword [esi + 0x74], ebx
je 0x4a1a1a
sub esp, 0xc
mov edx, str.xmlSchemaXPathProcessHistory
mov eax, esi
push str.The_state_object_to_be_removed_is_not_the_first_in_the_list
call fcn.00492350
add esp, 0x10
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x78]
mov dword [esi + 0x74], edx
mov dword [ebx + 4], eax
mov dword [esi + 0x78], ebx
mov ebx, edx
jmp 0x4a19ce
mov edi, dword [ebp - 0x2c]
cmp dword [edi], 5
je 0x4a1b4e
cmp dword [edi + 0x58], 0x2d
je 0x4a1b4e
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edi
test edi, edi
je 0x4a1c4e
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4a1d2a
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp - 0x34]
sub edx, ecx
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x4a1bf5
cmp edx, 9
jg 0x4a1c42
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x1c], 0xa
mov edx, dword [ebp - 0x34]
sub esp, 0xc
mov eax, dword [edx + 0x1c]
shl eax, 2
push eax
call dword [0x69a2cc]
mov ecx, dword [ebp - 0x34]
add esp, 0x10
mov edi, eax
test eax, eax
mov dword [ecx + 0x18], eax
je 0x4a22b0
mov ecx, dword [ecx + 0x1c]
xor eax, eax
shl ecx, 2
cld
shr ecx, 2
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x18]
jmp 0x4a1c04
mov edi, dword [ebx + 0x18]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x44], 0
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 4]
sub edx, eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4a1b97
cmp dword [edi + 0x1c], edx
jle 0x4a1b97
lea edx, [eax + edx*4]
mov dword [ebp - 0x44], edx
mov eax, dword [edx]
test eax, eax
jne 0x4a1db2
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx], 0x17
je 0x4a1b9f
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4a1b46
mov edi, dword [ebp - 0x44]
mov eax, dword [edi]
test eax, eax
je 0x4a1b46
sub esp, 0xc
push eax
call dword [0x69a2d0]
mov dword [edi], 0
add esp, 0x10
mov edx, dword [ebx + 0x10]
jmp 0x4a19ee
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x34]
cmp eax, 4
sete dl
cmp eax, 6
sete al
or eax, edx
test al, 1
je 0x4a1c4e
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x68]
mov dword [ebp - 0x30], ecx
test ecx, ecx
jne 0x4a1a51
sub esp, 0xc
push str.field_resolves_to_a_CT_with_simple_content_but_the_CT_is_missing_the_ST_definition
mov edx, str.xmlSchemaXPathProcessHistory
mov eax, esi
call fcn.00492350
or eax, 0xffffffff
jmp 0x4a19d4
mov edx, dword [ebp - 0x4c]
cmp dword [edx], 0x17
jne 0x4a1b46
sub esp, 0xc
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push 0
call fcn.00491240
mov edx, 0x755
push eax
mov eax, dword [ebp - 0x4c]
push str.Not_all_fields_of__s_evaluate_to_a_node
push eax
mov eax, esi
push 0
call fcn.00492450
mov eax, dword [ebp - 0x20]
add esp, 0x20
test eax, eax
je 0x4a1b23
sub esp, 0xc
push eax
call dword [0x69a2d0]
add esp, 0x10
mov dword [ebp - 0x20], 0
jmp 0x4a1b23
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x1c]
cmp edx, dword [ebp - 0x3c]
jle 0x4a1d6b
mov edx, dword [ebp - 0x3c]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4a1fa4
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x4a1cb7
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4a1f3f
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*4], ecx
mov edx, dword [ebx + 0x10]
jmp 0x4a19ee
mov eax, edx
add eax, eax
mov dword [edi + 0x1c], eax
jmp 0x4a1a97
mov eax, dword [ebx + 0x18]
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x10]
call fcn.00491240
mov edx, 0x755
mov dword [esp], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0xc]
push eax
push str.The_XPath__s_of_a_field_of__s_does_evaluate_to_a_node_of_non_simple_type
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, esi
push 0
call fcn.00492450
mov eax, dword [ebp - 0x10]
add esp, 0x20
test eax, eax
je 0x4a1b46
sub esp, 0xc
push eax
call dword [0x69a2d0]
add esp, 0x10
mov dword [ebp - 0x10], 0
jmp 0x4a1b46
mov edi, dword [ebp - 0x34]
sub esp, 0x10
mov dword [ebp - 0x14], 0
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x14]
call fcn.00491240
mov edx, 0x755
mov dword [esp], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0xc]
push eax
push str.The_XPath__s_of_a_field_of__s_evaluates_to_a_node_set_with_more_than_one_member
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, esi
push 0
call fcn.00492450
mov eax, dword [ebp - 0x14]
add esp, 0x20
test eax, eax
je 0x4a1b46
sub esp, 0xc
push eax
call dword [0x69a2d0]
add esp, 0x10
mov dword [ebp - 0x14], 0
jmp 0x4a1b46
sub esp, 0xc
push str.calling_xmlStreamPop__
jmp 0x4a1b83
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4a1a5c
sub esp, 0xc
mov edx, 0x755
push 0
push 0
push str.Warning:_No_precomputed_value_available__the_value_was_either_invalid_or_something_strange_happend
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, esi
push 0
call fcn.00492450
mov edx, dword [ebx + 0x10]
add esp, 0x20
dec edx
mov dword [ebx + 0x10], edx
jmp 0x4a19f2
lea eax, [edx + edx]
mov edi, edx
mov dword [ecx + 0x1c], eax
push eax
push eax
lea eax, [edx*8]
push eax
mov edx, dword [ecx + 0x18]
push edx
call dword [0x69a2c4]
mov edx, eax
mov eax, dword [ebp - 0x34]
add esp, 0x10
test edx, edx
mov dword [eax + 0x18], edx
je 0x4a22c9
mov ecx, dword [eax + 0x1c]
mov eax, edx
jmp 0x4a1da9
mov dword [eax + edi*4], 0
inc edi
cmp ecx, edi
jg 0x4a1da1
jmp 0x4a1c04
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x54]
cmp dword [ebp - 0x50], edx
jge 0x4a1dde
mov ecx, dword [ebp - 0x50]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x4a2009
mov edx, dword [ebp - 0x50]
inc edx
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x54]
cmp dword [ebp - 0x50], edx
jl 0x4a1dc1
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x64], ecx
test ecx, ecx
je 0x4a1ff9
mov edi, dword [ebp - 0x4c]
cmp dword [edi], 0x18
je 0x4a1e3d
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4a1e3d
mov dword [ebp - 0x50], 0
xor edx, edx
mov edi, dword [ebp - 0x64]
mov eax, dword [edi]
mov edi, dword [ebp - 0x50]
mov eax, dword [eax + edi*4]
xor edi, edi
cmp edi, dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], eax
jl 0x4a1f02
cmp edx, 1
je 0x4a1e34
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp ecx, dword [ebp - 0x50]
jg 0x4a1e07
cmp ecx, dword [ebp - 0x50]
jne 0x4a221e
sub esp, 0xc
push 0x10
call dword [0x69a2cc]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x48], eax
je 0x4a22f0
cld
xor eax, eax
mov ecx, 4
mov edi, dword [ebp - 0x48]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx], 0x18
je 0x4a2141
mov edx, dword [esi + 0x80]
test edx, edx
je 0x4a2014
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x84]
cmp ecx, eax
jle 0x4a2088
mov edi, dword [ebp - 0x48]
mov dword [edx + eax*4], edi
inc eax
mov dword [esi + 0x84], eax
mov dword [edi + 0xc], 0xffffffff
mov edi, dword [ebp - 0x48]
mov eax, dword [esi + 0x3c]
mov edx, dword [ebp - 0x44]
mov dword [edi], eax
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], 0
mov eax, dword [ebp - 0x64]
mov edx, edi
call fcn.00493c30
inc eax
jne 0x4a1b23
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx], 0x18
jne 0x4a1b8f
sub esp, 0xc
mov eax, dword [edi + 4]
push eax
call dword [0x69a2d0]
mov dword [esp], edi
call dword [0x69a2d0]
add esp, 0x10
or eax, 0xffffffff
jmp 0x4a19d4
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax + edi*4]
mov eax, dword [edx + edi*4]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 4]
call fcn.004a0c50
mov edx, eax
cmp eax, 0xffffffff
je 0x4a1b8f
test eax, eax
je 0x4a207d
inc edi
cmp edi, dword [ebp - 0x54]
jl 0x4a1f02
mov edi, dword [ebp - 0x64]
mov ecx, dword [edi + 4]
jmp 0x4a1e23
sub esp, 0xc
push 8
call dword [0x69a2cc]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
je 0x4a2313
mov edx, dword [esi + 0x6c]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov dword [eax], edi
mov eax, dword [edx + 0x18]
mov dword [ecx + 4], eax
mov dword [edx + 0x18], 0
mov edx, dword [esi + 0x8c]
test edx, edx
je 0x4a2047
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0x90]
cmp ecx, eax
jle 0x4a20f0
mov edi, dword [ebp - 0x28]
mov dword [edx + eax*4], edi
inc eax
mov dword [esi + 0x90], eax
jmp 0x4a1c2e
mov edx, dword [ebp - 0x34]
sub esp, 0xc
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
shl eax, 2
push eax
call dword [0x69a2cc]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x38], eax
je 0x4a22e4
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
cld
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x20]
xor eax, eax
shl ecx, 2
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edi + 0x18]
mov dword [eax + edx*4], ecx
jmp 0x4a1c23
call fcn.00493be0
mov dword [ebp - 0x64], eax
mov dword [edi + 0x20], eax
jmp 0x4a1dec
mov edi, dword [ebp - 0x4c]
cmp dword [edi], 0x17
jmp 0x4a1b21
sub esp, 0xc
push 0x50
call dword [0x69a2cc]
add esp, 0x10
mov edx, eax
mov dword [esi + 0x80], eax
test eax, eax
je 0x4a2347
mov dword [esi + 0x88], 0x14
mov eax, dword [esi + 0x84]
jmp 0x4a1e91
sub esp, 0xc
push pe_nt_image_headers32
call dword [0x69a2cc]
add esp, 0x10
mov edx, eax
mov dword [esi + 0x8c], eax
test eax, eax
je 0x4a22d5
mov dword [esi + 0x94], 0x28
mov eax, dword [esi + 0x90]
jmp 0x4a1f92
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 4]
jmp 0x4a1e28
lea eax, [ecx + ecx]
mov dword [esi + 0x88], eax
push eax
push eax
lea eax, [ecx*8]
push eax
push edx
call dword [0x69a2c4]
add esp, 0x10
mov edx, eax
test eax, eax
mov dword [esi + 0x80], eax
jne 0x4a203c
sub esp, 0xc
mov edx, str.re_allocating_the_IDC_node_table_item_list
push 0
mov eax, esi
call fcn.00491d40
pop edi
mov esi, dword [ebp - 0x48]
push esi
call dword [0x69a2d0]
mov eax, dword [ebp - 0x44]
pop ebx
mov ecx, dword [eax]
push ecx
call dword [0x69a2d0]
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
mov dword [edx], 0
jmp 0x4a19d4
lea eax, [ecx + ecx]
mov dword [esi + 0x94], eax
push eax
push eax
lea eax, [ecx*8]
push eax
push edx
call dword [0x69a2c4]
add esp, 0x10
mov edx, eax
test eax, eax
mov dword [esi + 0x8c], eax
jne 0x4a2072
sub esp, 0xc
mov edx, str.re_allocating_the_IDC_key_storage_list
push 0
mov eax, esi
call fcn.00491d40
mov eax, dword [ebp - 0x28]
add esp, 0x10
call fcn.004a14c0
or eax, 0xffffffff
jmp 0x4a19d4
mov eax, dword [esi + 0x6c]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x60], edx
push edx
push 0xffffffffffffffff
mov edi, dword [eax + 0xc]
push edi
mov ecx, dword [esi + 0x9c]
push ecx
call fcn.00463bd0
add esp, 0x10
mov dword [ebp - 0x5c], eax
or eax, 0xffffffff
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a21c9
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4a2197
mov edi, dword [ebp - 0x60]
push eax
push 0xffffffffffffffff
push edi
mov ecx, dword [esi + 0x9c]
push ecx
call fcn.00463bd0
add esp, 0x10
mov dword [ebp - 0x60], eax
or eax, 0xffffffff
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x4a21c9
mov eax, dword [esi + 0xb4]
xor edi, edi
mov edx, dword [eax + 4]
cmp edx, 0
jle 0x4a2201
mov ecx, dword [eax]
mov dword [ebp - 0x68], edx
jmp 0x4a21b6
add edi, 2
cmp dword [ebp - 0x68], edi
jle 0x4a2201
mov edx, dword [ebp - 0x5c]
cmp dword [ecx + edi*4], edx
jne 0x4a21ae
mov edx, dword [ebp - 0x60]
cmp dword [ecx + edi*4 + 4], edx
jne 0x4a21ae
mov eax, edi
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0xc], eax
inc eax
jne 0x4a1ea5
sub esp, 0xc
mov esi, dword [ebp - 0x48]
push esi
call dword [0x69a2d0]
mov ecx, dword [ebp - 0x44]
pop ebx
mov ecx, dword [ecx]
push ecx
call dword [0x69a2d0]
mov edi, dword [ebp - 0x44]
or eax, 0xffffffff
mov dword [edi], 0
jmp 0x4a19d4
mov edx, dword [ebp - 0x5c]
mov edi, dword [eax + 4]
call fcn.00493c30
mov eax, dword [esi + 0xb4]
mov edx, dword [ebp - 0x60]
call fcn.00493c30
mov eax, edi
jmp 0x4a21c9
sub esp, 0x10
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00491240
mov edx, dword [ebp - 0x44]
mov dword [esp], eax
push eax
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [edx]
lea edx, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.004a1830
add esp, 0x10
mov edx, 0x755
push eax
mov eax, dword [ebp - 0x4c]
push str.Duplicate_key_sequence__s_in__s
push eax
mov eax, esi
push 0
call fcn.00492450
mov eax, dword [ebp - 0x1c]
add esp, 0x20
test eax, eax
je 0x4a228c
sub esp, 0xc
push eax
call dword [0x69a2d0]
mov dword [ebp - 0x1c], 0
add esp, 0x10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4a1b23
sub esp, 0xc
push eax
call dword [0x69a2d0]
add esp, 0x10
mov dword [ebp - 0x18], 0
jmp 0x4a1b23
sub esp, 0xc
mov edx, str.allocating_an_array_of_key_sequences
push 0
xor eax, eax
call fcn.00491d40
or eax, 0xffffffff
jmp 0x4a19d4
sub esp, 0xc
mov edx, str.reallocating_an_array_of_key_sequences
push 0
jmp 0x4a22ba
sub esp, 0xc
mov edx, str.allocating_the_IDC_key_storage_list
push 0
jmp 0x4a2127
sub esp, 0xc
mov edx, str.allocating_an_IDC_key_sequence
push 0
jmp 0x4a22ba
sub esp, 0xc
xor eax, eax
mov edx, str.allocating_an_IDC_node_table_item
push 0
call fcn.00491d40
mov edi, dword [ebp - 0x44]
pop eax
mov eax, dword [edi]
push eax
call dword [0x69a2d0]
jmp 0x4a21f3
sub esp, 0xc
mov edx, str.allocating_a_IDC_key
xor eax, eax
push 0
call fcn.00491d40
pop eax
mov eax, dword [ebp - 0x38]
push eax
call dword [0x69a2d0]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x18]
mov dword [eax + ecx*4], 0
or eax, 0xffffffff
jmp 0x4a19d4
sub esp, 0xc
mov edx, str.allocating_the_IDC_node_table_item_list
push 0
jmp 0x4a20bb