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

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], 1
mov dword [esp + 4], 0
push ebp
push esi
push edi
test ebx, ebx
je 0x4d0323
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x4d0323
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d0323
mov edi, dword [esp + 0x40]
push eax
push edi
push ebp
push ebx
call fcn.004bc670
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
test esi, esi
je 0x4d0323
cmp dword [esp + 0x44], 0
je 0x4cfcca
cmp edi, 8
mov ecx, str._0__1_
mov eax, str.xs:nonNegativeInteger
cmove eax, ecx
push eax
xor eax, eax
cmp edi, 8
push 1
sete al
lea eax, [eax*2 - 1]
push eax
push 0
push dword [esp + 0x4c]
push ebx
call fcn.004bbec0
mov dword [esp + 0x30], eax
cmp edi, 8
mov ecx, 0x683068
mov eax, str._xs:nonNegativeInteger__unbounded_
cmove eax, ecx
mov ecx, 0x40000000
push eax
push 1
mov eax, 1
cmovne eax, ecx
push eax
xor eax, eax
cmp edi, 8
sete al
push eax
push dword [esp + 0x64]
push ebx
call fcn.004bbd80
push eax
push dword [esp + 0x4c]
mov dword [esp + 0x58], eax
push dword [esp + 0x74]
push 0
push ebx
call fcn.004c95c0
add esp, 0x44
push dword [esp + 0x20]
push dword [esp + 0x1c]
push dword [esp + 0x44]
push ebx
call fcn.004bc720
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4d0323
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x2c]
test esi, esi
je 0x4cfd1f
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4cfc9b
push 0x66f100
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4cfcc1
push str.maxOccurs
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4cfcc1
push str.minOccurs
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4cfcc1
jmp 0x4cfcb0
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cfcc1
push esi
push 0
push 0xbdb
push ebx
call fcn.004c9a70
add esp, 0x10
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4cfc56
jmp 0x4cfd1f
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x2c]
test esi, esi
je 0x4cfd1f
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4cfcf2
push 0x66f100
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4cfd18
jmp 0x4cfd07
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cfd18
push esi
push 0
push 0xbdb
push ebx
call fcn.004c9a70
add esp, 0x10
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4cfcd5
mov esi, dword [esp + 0x3c]
push 0x66f100
push esi
push ebx
call fcn.004ca150
mov esi, dword [esi + 0xc]
add esp, 0xc
test esi, esi
je 0x4cfd81
cmp dword [esi + 0x24], 0
je 0x4cfd81
push str.annotation
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cfd81
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cfd81
push 1
push esi
push ebx
call fcn.004ca5b0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [ecx + 4], eax
mov esi, dword [esi + 0x18]
cmp edi, 8
jne 0x4cfe91
xor ebp, ebp
test esi, esi
je 0x4d02e3
cmp dword [esi + 0x24], 0
je 0x4cfe6c
push str.element
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cfe6c
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cfe6c
push 0
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x44]
push ebx
call fcn.004cbff0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4cfe5c
cmp dword [esp + 0x1c], 0
je 0x4cfdf8
inc dword [esp + 0x10]
cmp dword [edi + 0x10], 1
jle 0x4cfe21
push 0
push 0
push 0
push str.Invalid_value_for_minOccurs__must_be_0_or_1_
push esi
push 0
push 0xc13
push ebx
call fcn.004c97a0
add esp, 0x20
mov dword [edi + 0x10], 1
cmp dword [edi + 0x14], 1
jle 0x4cfe4a
push 0
push 0
push 0
push str.Invalid_value_for_maxOccurs__must_be_0_or_1_
push esi
push 0
push 0xc13
push ebx
call fcn.004c97a0
add esp, 0x20
mov dword [edi + 0x14], 1
test ebp, ebp
jne 0x4cfe57
mov eax, dword [esp + 0x14]
mov dword [eax + 0xc], edi
jmp 0x4cfe5a
mov dword [ebp + 8], edi
mov ebp, edi
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4cfd94
jmp 0x4d02e3
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push ebp
push 0
push 0
push eax
mov dword [esp + 0x44], 0
call fcn.004c6c50
push str._annotation____annotation___element_
jmp 0x4d02b8
xor edi, edi
mov dword [esp + 0x28], edi
test esi, esi
je 0x4d02e3
cmp dword [esi + 0x24], 0
je 0x4d0298
push str.element
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cfed9
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4cffbd
cmp dword [esi + 0x24], 0
je 0x4d0298
push str.group
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cff13
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4cffbd
cmp dword [esi + 0x24], 0
je 0x4d0298
push 0x68484c
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cff49
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4cffbd
cmp dword [esi + 0x24], 0
je 0x4d0298
push str.choice
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4cff7f
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
jne 0x4cffbd
cmp dword [esi + 0x24], 0
je 0x4d0298
push str.sequence
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d0298
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d0298
cmp dword [esi + 0x24], 0
je 0x4d026a
push str.element
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d0023
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d0023
push 0
lea eax, [esp + 0x20]
push eax
push esi
push ebp
push ebx
call fcn.004cbff0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4d0290
cmp dword [esp + 0x1c], 0
je 0x4d026a
inc dword [esp + 0x10]
jmp 0x4d026a
cmp dword [esi + 0x24], 0
je 0x4d026a
push str.group
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d01a9
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d01a9
push esi
push ebp
push ebx
call fcn.004d0330
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4d0076
inc dword [esp + 0x10]
cmp dword [ebx + 0x64], 0
je 0x4d026a
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x4d026a
mov eax, dword [ecx + 4]
cmp dword [eax], 0x11
jne 0x4d026a
test edi, edi
je 0x4d0290
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4d026a
mov edx, dword [ecx + 0x10]
cmp dword [eax + 0xc], edx
jne 0x4d026a
mov ecx, dword [ecx + 0x14]
cmp dword [eax + 0x10], ecx
jne 0x4d026a
cmp dword [ebx + 0x7c], 0
je 0x4d00f9
push edx
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
call fcn.004c7450
push esi
mov edi, eax
mov dword [esp + 0x44], 0
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.004c71b0
push str.The_redefining_model_group_definition__s_must_not_contain_more_than_one_reference_to_the_redefined_definition
jmp 0x4d0138
cmp dword [edi + 0x10], 1
jne 0x4d0109
cmp dword [edi + 0x14], 1
je 0x4d019b
push edx
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
call fcn.004c7450
push esi
mov edi, eax
mov dword [esp + 0x44], 0
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.004c71b0
push str.The_redefining_model_group_definition__s_must_not_contain_a_reference_to_the_redefined_definition_with_a_maxOccurs_minOccurs_other_than_1
push dword [esp + 0x50]
call sym.KomManager.exe_xmlStrcat
push 0x682304
push eax
mov dword [esp + 0x5c], eax
call sym.KomManager.exe_xmlStrcat
push 0
push 0
push 0
push edi
push eax
push 0
push esi
push 0xc09
push 2
push ebx
mov dword [esp + 0x84], eax
call fcn.004c43d0
mov eax, dword [esp + 0x84]
add esp, 0x50
test eax, eax
je 0x4d0187
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4d0199
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
xor edi, edi
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], edi
inc dword [ebx + 0x7c]
jmp 0x4d026a
cmp dword [esi + 0x24], 0
je 0x4d026a
push 0x68484c
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d01ef
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d01ef
push esi
push ebp
push ebx
call fcn.004ca960
add esp, 0xc
jmp 0x4d0268
cmp dword [esi + 0x24], 0
je 0x4d026a
push str.choice
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d0227
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d0227
push 1
push 7
jmp 0x4d025d
cmp dword [esi + 0x24], 0
je 0x4d026a
push str.sequence
push dword [esi + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d026a
mov eax, dword [esi + 0x24]
push dword [0x6f6804]
push dword [eax + 8]
call sym.KomManager.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4d026a
push 1
push 6
push esi
push ebp
push ebx
call fcn.004cfb30
add esp, 0x14
mov edi, eax
test edi, edi
je 0x4d0290
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4d0289
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edi
mov dword [eax + 0xc], edi
mov esi, dword [esi + 0x18]
jmp 0x4cfe97
mov dword [eax + 8], edi
mov dword [esp + 0x28], edi
mov esi, dword [esi + 0x18]
jmp 0x4cfe97
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push ebp
push 0
push 0
push eax
mov dword [esp + 0x44], 0
call fcn.004c6c50
push str._annotation____element__group__choice__sequence__any__
push dword [esp + 0x48]
push str._s:_The_content_is_not_valid._Expected_is__s._n
push 0xbd9
push esi
push ebp
push ebx
call fcn.004c98e0
mov eax, dword [esp + 0x60]
add esp, 0x2c
test eax, eax
je 0x4d02e3
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
cmp dword [esp + 0x20], 0
jne 0x4d02f1
cmp dword [esp + 0x18], 0
je 0x4d0323
cmp dword [esp + 0x10], 0
je 0x4d030d
push dword [esp + 0x14]
mov eax, dword [ebx + 0x1c]
add eax, 0x14
push 0xa
push eax
call fcn.004bc610
add esp, 0xc
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x14]
cmovne eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret