Function at 0x485830
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x40
mov eax, dword [0x6f7d14]
xor eax, esp
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
cmp dword [0x6fdfb4], ebx
jne 0x48587c
call sym.KomManager.exe_xmlSchemaInitTypes
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x485895
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0062fc3e
add esp, 0x40
ret
push edi
test esi, esi
mov edi, 0x6cb025
cmovne edi, esi
test edx, edx
je 0x4858a6
mov dword [edx], ebx
mov esi, edi
cmp dword [esp + 0x64], ebx
jne 0x4858ea
test edi, edi
je 0x4858ea
mov eax, dword [ecx + 0x58]
cmp eax, 1
je 0x4858ea
cmp eax, 0x2d
je 0x4858ea
cmp eax, 0x2e
je 0x4858ea
push edi
cmp eax, 2
jne 0x4858d1
call sym.KomManager.exe_xmlSchemaWhiteSpaceReplace
jmp 0x4858d6
call sym.KomManager.exe_xmlSchemaCollapseString
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x20], eax
cmovne esi, eax
mov edi, dword [ecx + 0x58]
cmp edi, 0x2e
ja case.default.0x4858fd
movzx eax, byte [edi + 0x486fd0]
jmp dword [eax*4 + 0x486f60]
cmp dword [esp + 0x74], ebx
je 0x486f36
test edx, edx
je 0x486f36
push 0x2e
call fcn.00485430
mov edi, eax
add esp, 4
test edi, edi
je case.0x4858fd.0
push esi
call sym.KomManager.exe_xmlStrdup
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 8], eax
mov dword [ecx], edi
jmp 0x486f36
mov edi, dword [esp + 0x68]
cmp dword [esp + 0x6c], ebx
jne 0x4859b3
mov ecx, esi
cmp edi, 2
jne 0x48597a
mov al, byte [esi]
test al, al
je 0x4859b3
cmp al, 0xd
je 0x485ef3
cmp al, 0xa
je 0x485ef3
cmp al, 9
je 0x485ef3
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x485958
jmp 0x4859b3
cmp edi, 3
jne 0x4859b3
mov al, byte [esi]
test al, al
je 0x4859b3
cmp al, 0xd
je 0x485ef3
cmp al, 0xa
je 0x485ef3
cmp al, 9
je 0x485ef3
mov dl, byte [ecx + 1]
inc ecx
cmp al, 0x20
jne 0x4859ad
cmp dl, al
je 0x485ef3
mov al, dl
test dl, dl
jne 0x485985
cmp dword [esp + 0x74], ebx
je 0x486f36
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x486f36
cmp dword [esp + 0x70], 0
je 0x485a15
cmp edi, 3
jne 0x4859ee
push esi
call sym.KomManager.exe_xmlSchemaCollapseString
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
cmovne esi, eax
push 1
jmp 0x486811
cmp edi, 2
jne 0x485a0c
push esi
call sym.KomManager.exe_xmlSchemaWhiteSpaceReplace
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
cmovne esi, eax
push 1
jmp 0x486811
mov eax, dword [esp + 0x20]
test eax, eax
cmovne esi, eax
push 1
jmp 0x486811
cmp dword [esp + 0x6c], ebx
je 0x485a4b
cmp dword [esp + 0x70], ebx
je 0x485a73
cmp dword [esp + 0x68], 3
push esi
jne 0x485a37
call sym.KomManager.exe_xmlSchemaCollapseString
jmp 0x485a3c
call sym.KomManager.exe_xmlSchemaWhiteSpaceReplace
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x485a73
mov esi, eax
jmp 0x485a73
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x485a73
cmp al, 0xd
je 0x485ef3
cmp al, 0xa
je 0x485ef3
cmp al, 9
je 0x485ef3
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x485a53
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x486f36
push 2
jmp 0x486811
lea edi, [esp + 0x30]
test esi, esi
je 0x485ef3
mov al, byte [esi]
test al, al
je 0x485ef3
cmp dword [esp + 0x6c], ebx
je 0x485ab8
cmp al, 0x20
je 0x485ab2
cmp al, 9
jb 0x485aae
cmp al, 0xa
jbe 0x485ab2
cmp al, 0xd
jne 0x485ab8
mov al, byte [esi + 1]
inc esi
jmp 0x485aa2
mov dword [esp + 0x14], ebx
cmp al, 0x2d
jne 0x485aca
mov dword [esp + 0x14], 1
jmp 0x485ace
cmp al, 0x2b
jne 0x485ad2
mov al, byte [esi + 1]
inc esi
test al, al
je 0x485ef3
xor ebx, ebx
or ebp, 0xffffffff
xor edx, edx
cmp al, 0x30
jne 0x485af0
lea edx, [ebx + 1]
mov al, byte [esi + 1]
inc esi
cmp al, 0x30
je 0x485ae8
test al, al
je 0x485b30
mov cl, byte [esi]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x485b09
mov byte [edi], cl
inc ebx
inc edi
inc esi
cmp ebx, 0x18
jb 0x485af4
jmp 0x485b30
cmp cl, 0x2e
jne 0x485b30
inc esi
mov ebp, ebx
mov cl, byte [esi]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x485b24
mov byte [edi], cl
inc ebx
inc edi
inc esi
cmp ebx, 0x18
jb 0x485b11
test ebx, ebx
jne 0x485b30
test edx, edx
je 0x485ef3
cmp dword [esp + 0x6c], 0
je 0x485b4c
mov al, byte [esi]
cmp al, 0x20
je 0x485b49
cmp al, 9
jb 0x485b45
cmp al, 0xa
jbe 0x485b49
cmp al, 0xd
jne 0x485b4c
inc esi
jmp 0x485b37
cmp byte [esi], 0
jne 0x485ef3
cmp dword [esp + 0x10], 0
je 0x486f36
push 3
call fcn.00485430
mov esi, eax
add esp, 4
test esi, esi
je 0x486f36
test ebx, ebx
je 0x485bb5
cmp ebp, 0xffffffff
je 0x485b8d
cmp ebx, ebp
je 0x485b8d
cmp byte [edi - 1], 0x30
jne 0x485b8d
dec ebx
dec edi
cmp ebx, ebp
jne 0x485b81
test ebx, ebx
je 0x485bb5
lea eax, [esp + 0x30]
mov byte [edi], 0
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00485530
add esp, 0x10
mov eax, dword [esi + 0x18]
and eax, 0xfffffffe
or eax, dword [esp + 0x14]
mov dword [esi + 0x18], eax
test ebx, ebx
jne 0x485bd5
mov eax, dword [esp + 0x10]
mov byte [esi + 0x19], 1
mov dword [eax], esi
jmp 0x486f36
mov byte [esi + 0x19], bl
mov eax, dword [esi + 0x18]
and eax, 0xffffff01
cmp ebp, 0xffffffff
jne 0x485bf3
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [eax], esi
jmp 0x486f36
sub ebx, ebp
add ebx, ebx
and ebx, 0xfe
or ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], ebx
mov dword [eax], esi
jmp 0x486f36
push dword [esp + 0x6c]
push edx
push esi
push edi
call fcn.00487000
add esp, 0x10
mov ebx, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x485c30
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0062fc3e
add esp, 0x40
ret
push dword [esp + 0x6c]
push edx
push esi
push ecx
call fcn.00487690
jmp 0x485c19
xor ebp, ebp
mov dword [esp + 0x18], ebx
xor edi, edi
mov ecx, esi
cmp dword [esp + 0x6c], ebx
je 0x485c78
mov al, byte [ecx]
cmp al, 0x20
je 0x485c75
cmp al, 9
jb 0x485c71
cmp al, 0xa
jbe 0x485c75
cmp al, 0xd
jne 0x485c78
inc ecx
jmp 0x485c63
mov al, byte [ecx]
cmp al, 0x4e
jne 0x485cf6
cmp byte [ecx + 1], 0x61
jne 0x485cf6
cmp byte [ecx + 2], al
jne 0x485cf6
cmp byte [ecx + 3], bl
jne 0x485ef3
test edx, edx
je 0x486f36
mov eax, dword [esp + 0x14]
cmp eax, dword [0x6fdff0]
jne 0x485cd6
push 0xd
call fcn.00485430
add esp, 4
test eax, eax
je 0x485cca
movsd xmm0, qword [sym.KomManager.exe_xmlXPathNAN]
cvtpd2ps xmm0, xmm0
movss dword [eax + 8], xmm0
jmp 0x486f30
push 0
call sym.KomManager.exe_xmlSchemaFreeValue
jmp 0x4862d6
push 0xe
call fcn.00485430
add esp, 4
test eax, eax
je 0x485cca
movsd xmm0, qword [sym.KomManager.exe_xmlXPathNAN]
movsd qword [eax + 8], xmm0
jmp 0x486f30
mov bl, al
cmp al, 0x2d
jne 0x485d07
mov bl, byte [ecx + 1]
mov dword [esp + 0x18], 1
lea edx, [ecx + 1]
cmovne edx, ecx
cmp bl, 0x49
jne 0x485dd4
cmp byte [edx + 1], 0x4e
jne 0x485dd4
cmp byte [edx + 2], 0x46
jne 0x485dd4
cmp byte [edx + 3], 0
jne 0x485ef3
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x486f36
mov eax, dword [esp + 0x14]
cmp eax, dword [0x6fdff0]
jne 0x485d94
push 0xd
call fcn.00485430
add esp, 4
test eax, eax
je 0x485cca
cmp dword [esp + 0x18], edi
je 0x485d7c
movsd xmm0, qword [sym.KomManager.exe_xmlXPathNINF]
cvtpd2ps xmm0, xmm0
movss dword [eax + 8], xmm0
mov dword [ebx], eax
jmp 0x486f36
movsd xmm0, qword [sym.KomManager.exe_xmlXPathPINF]
cvtpd2ps xmm0, xmm0
movss dword [eax + 8], xmm0
mov dword [ebx], eax
jmp 0x486f36
push 0xe
call fcn.00485430
add esp, 4
test eax, eax
je 0x485cca
cmp dword [esp + 0x18], edi
je 0x485dc0
movsd xmm0, qword [sym.KomManager.exe_xmlXPathNINF]
movsd qword [eax + 8], xmm0
mov dword [ebx], eax
jmp 0x486f36
movsd xmm0, qword [sym.KomManager.exe_xmlXPathPINF]
movsd qword [eax + 8], xmm0
mov dword [ebx], eax
jmp 0x486f36
mov cl, bl
mov eax, edx
cmp dword [esp + 0x18], edi
jne 0x485de9
cmp bl, 0x2b
jne 0x485de9
mov cl, byte [edx + 1]
lea eax, [edx + 1]
test cl, cl
je 0x485ef3
cmp cl, 0x2b
je 0x485ef3
cmp cl, 0x2d
je 0x485ef3
cmp cl, 0x30
jb 0x485e23
mov dl, cl
nop word [eax + eax]
mov cl, dl
cmp dl, 0x39
ja 0x485e23
mov cl, byte [eax + 1]
inc eax
inc ebp
mov dl, cl
cmp cl, 0x30
jae 0x485e10
cmp cl, 0x2e
jne 0x485e40
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x30
jb 0x485e40
cmp cl, 0x39
ja 0x485e40
mov cl, byte [eax + 1]
inc eax
inc edi
cmp cl, 0x30
jae 0x485e31
test ebp, ebp
jne 0x485e4c
test edi, edi
je 0x485ef3
mov cl, byte [eax]
cmp cl, 0x65
je 0x485e58
cmp cl, 0x45
jne 0x485e7e
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x2d
je 0x485e66
cmp cl, 0x2b
jne 0x485e6a
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x30
jb 0x485e7e
nop
cmp cl, 0x39
ja 0x485e7e
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x30
jae 0x485e70
cmp dword [esp + 0x6c], 0
je 0x485e9e
mov cl, byte [eax]
cmp cl, 0x20
je 0x485e9b
cmp cl, 9
jb 0x485e96
cmp cl, 0xa
jbe 0x485e9b
cmp cl, 0xd
jne 0x485e9e
inc eax
jmp 0x485e85
cmp byte [eax], 0
jne 0x485ef3
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x486f36
mov eax, dword [esp + 0x14]
cmp eax, dword [0x6fdff0]
jne 0x485f1d
push 0xd
call fcn.00485430
mov edi, eax
add esp, 4
test edi, edi
je case.0x4858fd.0
lea ecx, [edi + 8]
push ecx
push 0x67d628
push esi
call fcn.00421490
add esp, 0xc
cmp eax, 1
je 0x48682f
push edi
call sym.KomManager.exe_xmlSchemaFreeValue
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x485f05
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0062fc3e
add esp, 0x40
ret
push 0xe
call fcn.00485430
mov edi, eax
add esp, 4
test edi, edi
je case.0x4858fd.0
lea ecx, [edi + 8]
push ecx
push 0x67d62c
push esi
call fcn.00421490
add esp, 0xc
cmp eax, 1
jne 0x485eea
mov dword [ebx], edi
jmp 0x486f36
cmp dword [esp + 0x6c], ebx
je 0x486017
nop dword [eax]
mov al, byte [esi]
cmp al, 0x20
je 0x485f72
cmp al, 9
jb 0x485f6e
cmp al, 0xa
jbe 0x485f72
cmp al, 0xd
jne 0x485f75
inc esi
jmp 0x485f60
cmp al, 0x30
je 0x485fe6
cmp al, 0x31
jne 0x485f84
mov edi, 1
jmp 0x485fe8
cmp al, 0x74
jne 0x485fb1
mov al, byte [esi + 1]
cmp al, 0x72
jne 0x485ef3
mov al, byte [esi + 2]
add esi, 3
cmp al, 0x75
jne 0x485ef3
cmp byte [esi], 0x65
jne 0x485ef3
mov edi, 1
jmp 0x485fe8
cmp al, 0x66
jne 0x485ef3
mov al, byte [esi + 1]
cmp al, 0x61
jne 0x485ef3
mov al, byte [esi + 2]
cmp al, 0x6c
jne 0x485ef3
mov al, byte [esi + 3]
add esi, 4
cmp al, 0x73
jne 0x485ef3
cmp byte [esi], 0x65
jne 0x485ef3
xor edi, edi
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4860a3
cmp al, 0x20
je 0x486004
cmp al, 9
jb 0x486000
cmp al, 0xa
jbe 0x486004
cmp al, 0xd
jne 0x48600a
mov al, byte [esi + 1]
inc esi
jmp 0x485ff4
test al, al
jne 0x485ef3
jmp 0x4860a3
mov al, byte [esi]
cmp al, 0x30
jne 0x486022
cmp byte [esi + 1], bl
jmp 0x48609b
cmp al, 0x31
jne 0x486036
cmp byte [esi + 1], bl
jne 0x485ef3
mov edi, 1
jmp 0x4860a3
cmp al, 0x74
jne 0x486068
cmp byte [esi + 1], 0x72
jne 0x485ef3
cmp byte [esi + 2], 0x75
jne 0x485ef3
cmp byte [esi + 3], 0x65
jne 0x485ef3
cmp byte [esi + 4], bl
jne 0x485ef3
mov edi, 1
jmp 0x4860a3
cmp al, 0x66
jne 0x485ef3
cmp byte [esi + 1], 0x61
jne 0x485ef3
cmp byte [esi + 2], 0x6c
jne 0x485ef3
cmp byte [esi + 3], 0x73
jne 0x485ef3
cmp byte [esi + 4], 0x65
jne 0x485ef3
cmp byte [esi + 5], bl
jne 0x485ef3
xor edi, edi
test edx, edx
je 0x486f36
push 0xf
call fcn.00485430
add esp, 4
test eax, eax
je case.0x4858fd.0
mov dword [eax + 8], edi
jmp 0x486f30
mov edx, esi
cmp dword [esp + 0x6c], ebx
jne 0x486109
mov al, byte [esi]
test al, al
je 0x486109
cmp al, 0xd
je 0x485ef3
cmp al, 0xa
je 0x485ef3
cmp al, 9
je 0x485ef3
mov cl, byte [edx + 1]
inc edx
cmp al, 0x20
jne 0x486103
test cl, cl
je 0x485ef3
cmp cl, al
je 0x485ef3
mov al, cl
test cl, cl
jne 0x4860d3
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x486f36
push 0x10
jmp 0x486811
cmp dword [esp + 0x6c], ebx
je 0x486134
push esi
call sym.KomManager.exe_xmlSchemaCollapseString
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
cmovne esi, eax
push esi
call sym.KomManager.exe_xmlCheckLanguageID
add esp, 4
cmp eax, 1
jne 0x485ef3
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x486f36
push 0x11
jmp 0x486811
push 1
push esi
call sym.KomManager.exe_xmlValidateNMToken
add esp, 8
test eax, eax
jne 0x485ef3
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x486f36
push 0x12
jmp 0x486811
push ebp
push edx
push esi
push dword [0x6fe06c]
call fcn.004856c0
xor ebx, ebx
add esp, 0x10
test eax, eax
setle bl
jmp case.default.0x4858fd
push 1
push esi
call sym.KomManager.exe_xmlValidateName
mov ebx, eax
add esp, 8
test ebx, ebx
jne case.default.0x4858fd
mov ebp, dword [esp + 0x10]
test ebp, ebp
je case.default.0x4858fd
test esi, esi
je case.default.0x4858fd
push 0x14
call fcn.00485430
mov edi, eax
add esp, 4
test edi, edi
je case.0x4858fd.0
nop dword [eax]
mov cl, byte [esi]
cmp cl, 0x20
je 0x4861f6
cmp cl, 9
jb 0x4861f1
cmp cl, 0xa
jbe 0x4861f6
cmp cl, 0xd
jne 0x4861f9
inc esi
jmp 0x4861e0
mov eax, esi
test cl, cl
je 0x48621c
nop
cmp cl, 0x20
je 0x48621c
cmp cl, 9
jb 0x48620f
cmp cl, 0xa
jbe 0x48621c
cmp cl, 0xd
je 0x48621c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x486200
sub eax, esi
push eax
push esi
call sym.KomManager.exe_xmlStrndup
mov dword [edi + 8], eax
add esp, 8
mov dword [ebp], edi
jmp case.default.0x4858fd
xor eax, eax
xor edi, edi
push 1
push esi
mov dword [esp + 0x20], eax
call sym.KomManager.exe_xmlValidateQName
mov ebx, eax
add esp, 8
test ebx, ebx
jne case.default.0x4858fd
test ebp, ebp
je 0x4862b4
lea eax, [esp + 0x14]
push eax
push esi
call sym.KomManager.exe_xmlSplitQName2
push dword [esp + 0x1c]
mov edi, eax
push ebp
push dword [ebp + 0x20]
call sym.KomManager.exe_xmlSearchNs
add esp, 0x14
test eax, eax
jne 0x48629b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4862b4
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
test edi, edi
je 0x485ef3
push edi
call dword [sym.KomManager.exe_xmlFree]
jmp 0x485ef0
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4862b4
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
cmp dword [esp + 0x10], 0
je 0x486332
push 0x15
call fcn.00485430
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x486301
test edi, edi
je case.0x4858fd.0
push edi
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4862eb
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0062fc3e
add esp, 0x40
ret
test edi, edi
jne 0x486310
push esi
call sym.KomManager.exe_xmlStrdup
add esp, 4
mov edi, eax
mov dword [ebp + 8], edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x486327
push eax
call sym.KomManager.exe_xmlStrdup
add esp, 4
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
jmp case.default.0x4858fd
test edi, edi
je case.default.0x4858fd
push edi
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
jmp case.default.0x4858fd
push 1
push esi
call sym.KomManager.exe_xmlValidateNCName
mov ebx, eax
add esp, 8
test ebx, ebx
jne case.default.0x4858fd
mov ebp, dword [esp + 0x10]
test ebp, ebp
je case.default.0x4858fd
push 0x16
call fcn.00485430
mov edi, eax
add esp, 4
test edi, edi
je case.0x4858fd.0
push esi
call sym.KomManager.exe_xmlStrdup
mov dword [edi + 8], eax
add esp, 4
mov dword [ebp], edi
jmp case.default.0x4858fd
push 1
push esi
call sym.KomManager.exe_xmlValidateNCName
mov ebx, eax
add esp, 8
test ebx, ebx
jne case.default.0x4858fd
cmp dword [esp + 0x10], eax
je 0x4863d3
push 0x17
call fcn.00485430
mov edi, eax
add esp, 4
test edi, edi
je case.0x4858fd.0
push esi
call sym.KomManager.exe_xmlStrdup
mov dword [edi + 8], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [eax], edi
test ebp, ebp
je case.default.0x4858fd
cmp dword [ebp + 4], 2
jne case.default.0x4858fd
cmp dword [ebp + 0x28], 2
je case.default.0x4858fd
push esi
call fcn.00485640
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x20]
push ebp
test edi, edi
je 0x486419
push edi
push eax
push 0
call sym.KomManager.exe_xmlAddID
push edi
mov esi, eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 0x14
jmp 0x486427
push esi
push eax
push 0
call sym.KomManager.exe_xmlAddID
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x486433
lea ebx, [esi + 2]
jmp case.default.0x4858fd
mov dword [ebp + 0x28], 2
jmp case.default.0x4858fd
push 1
push esi
call sym.KomManager.exe_xmlValidateNCName
mov ebx, eax
add esp, 8
test ebx, ebx
jne case.default.0x4858fd
cmp dword [esp + 0x10], eax
je 0x486480
push 0x18
call fcn.00485430
mov edi, eax
add esp, 4
test edi, edi
je case.0x4858fd.0
push esi
call sym.KomManager.exe_xmlStrdup
mov dword [edi + 8], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [eax], edi
test ebp, ebp
je case.default.0x4858fd
cmp dword [ebp + 4], 2
jne case.default.0x4858fd
push esi
call fcn.00485640
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x20]
push ebp
test edi, edi
je 0x4864c4
push edi
push eax
push 0
call sym.KomManager.exe_xmlAddRef
push edi
call dword [sym.KomManager.exe_xmlFree]
add esp, 0x14
mov dword [ebp + 0x28], 3
jmp case.default.0x4858fd
push esi
push eax
push 0
call sym.KomManager.exe_xmlAddRef
add esp, 0x10
mov dword [ebp + 0x28], 3
jmp case.default.0x4858fd
push ebp
push edx
push esi
push dword [0x6fe058]
call fcn.004856c0
add esp, 0x10
test eax, eax
jns 0x4864fb
mov ebx, 2
jmp case.default.0x4858fd
xor ebx, ebx
test ebp, ebp
je case.default.0x4858fd
cmp dword [ebp + 4], 2
jne case.default.0x4858fd
mov dword [ebp + 0x28], 4
jmp case.default.0x4858fd
push 1
push esi
call sym.KomManager.exe_xmlValidateNCName
add esp, 8
mov ebx, eax
test ebp, ebp
je 0x4865c9
cmp dword [ebp + 0x20], 0
je 0x4865c9
test ebx, ebx
jne case.default.0x4858fd
push esi
call fcn.00485640
mov edi, eax
add esp, 4
mov eax, dword [ebp + 0x20]
test edi, edi
je 0x486569
push edi
push eax
call sym.KomManager.exe_xmlGetDocEntity
push edi
mov esi, eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 0xc
jmp 0x486575
push esi
push eax
call sym.KomManager.exe_xmlGetDocEntity
add esp, 8
mov esi, eax
test esi, esi
je 0x4865bf
cmp dword [esi + 0x30], 3
jne 0x4865bf
cmp dword [esp + 0x10], 0
je 0x4865a9
call sym.KomManager.exe___xmlGenericErrorContext
mov esi, dword [eax]
call sym.KomManager.exe___xmlGenericError
push 0xb13
push str.d:projectsgrandchaselibrarylibxmlxmlschemastypes.c
push str.Unimplemented_block_at__s:_d_n
mov eax, dword [eax]
push esi
call eax
add esp, 0x10
cmp dword [ebp + 4], 2
jne case.default.0x4858fd
mov dword [ebp + 0x28], 5
jmp case.default.0x4858fd
mov ebx, 4
jmp case.default.0x4858fd
mov ebx, 3
jmp case.default.0x4858fd
test ebp, ebp
je 0x486613
cmp dword [ebp + 0x20], ebx
je 0x486613
push ebp
push edx
push esi
push dword [0x6fe060]
call fcn.004856c0
add esp, 0x10
test eax, eax
jg 0x4865fb
mov ebx, 1
jmp case.default.0x4858fd
xor ebx, ebx
cmp dword [ebp + 4], 2
jne case.default.0x4858fd
mov dword [ebp + 0x28], 6
jmp case.default.0x4858fd
mov eax, dword [esp + 0x20]
test eax, eax
je 0x486625
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0062fc3e
add esp, 0x40
ret
xor eax, eax
xor edi, edi
push 1
push esi
mov dword [esp + 0x1c], eax
call sym.KomManager.exe_xmlValidateQName
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4866cf
test ebp, ebp
je 0x4865c9
lea eax, [esp + 0x18]
push eax
push esi
call sym.KomManager.exe_xmlSplitQName2
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4866a3
push eax
push ebp
push dword [ebp + 0x20]
call sym.KomManager.exe_xmlSearchNs
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x486690
lea ebx, [eax + 1]
jmp 0x4866a7
test ecx, ecx
je 0x4866a7
push dword [eax + 8]
call sym.KomManager.exe_xmlStrdup
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
test edi, edi
je 0x4866bd
test ecx, ecx
je 0x4866b3
test ebx, ebx
je 0x4866bd
push edi
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4866cf
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
test ebp, ebp
je 0x4865c9
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4865c9
test ebx, ebx
jne case.default.0x4858fd
push esi
push eax
push ebx
call sym.KomManager.exe_xmlValidateNotationUse
add esp, 0xc
cmp eax, 1
jne 0x4865f1
cmp dword [esp + 0x10], ebx
je case.default.0x4858fd
push 0x1c
call fcn.00485430
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x486744
test edi, edi
jne 0x486727
push esi
call sym.KomManager.exe_xmlStrdup
add esp, 4
mov edi, eax
mov dword [ebp + 8], edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x486327
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
jmp case.default.0x4858fd
test edi, edi
je 0x486752
push edi
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x4858fd.0
push eax
jmp 0x4862d0
cmp byte [esi], bl
je 0x486803
cmp dword [esp + 0x6c], ebx
je 0x486784
push esi
call sym.KomManager.exe_xmlSchemaCollapseString
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
cmovne esi, eax
push esi
call sym.KomManager.exe_xmlStrdup
mov ebx, eax
add esp, 4
mov edx, ebx
mov cl, byte [ebx]
test cl, cl
je 0x4867e0
lea eax, [ecx - 0x20]
cmp al, 0x5e
ja 0x4867d5
cmp cl, 0x20
je 0x4867d5
cmp cl, 0x3c
je 0x4867d5
cmp cl, 0x3e
je 0x4867d5
cmp cl, 0x22
je 0x4867d5
cmp cl, 0x7b
je 0x4867d5
cmp cl, 0x7d
je 0x4867d5
cmp cl, 0x7c
je 0x4867d5
cmp cl, 0x5c
je 0x4867d5
cmp cl, 0x5e
je 0x4867d5
cmp cl, 0x60
je 0x4867d5
cmp cl, 0x27
jne 0x4867d8
mov byte [edx], 0x5f
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x486797
push ebx
call sym.KomManager.exe_xmlParseURI
push ebx
mov edi, eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 8
test edi, edi
je 0x485ef3
push edi
call sym.KomManager.exe_xmlFreeURI
add esp, 4
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x486f36
push 0x1d
call fcn.00485430
mov edi, eax
add esp, 4
test edi, edi
je case.0x4858fd.0
push esi
call sym.KomManager.exe_xmlStrdup
add esp, 4
mov dword [edi + 8], eax
mov dword [ebx], edi
jmp 0x486f36
xor ebx, ebx
test esi, esi
je 0x485ef3
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x48685d
mov al, byte [esi]
cmp al, 0x20
je 0x48685a
cmp al, 9
jb 0x486856
cmp al, 0xa
jbe 0x48685a
cmp al, 0xd
jne 0x48685d
inc esi
jmp 0x486848
mov edi, esi
nop
mov cl, byte [esi]
cmp cl, 0x30
jb 0x48686c
cmp cl, 0x39
jbe 0x48687d
cmp cl, 0x41
jb 0x486876
cmp cl, 0x46
jbe 0x48687d
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x486881
inc ebx
inc esi
jmp 0x486860
test edx, edx
je 0x48689f
cmp cl, 0x20
je 0x486899
cmp cl, 9
jb 0x486894
cmp cl, 0xa
jbe 0x486899
cmp cl, 0xd
jne 0x48689f
mov cl, byte [esi + 1]
inc esi
jmp 0x486885
test cl, cl
jne 0x485ef3
test bl, 1
jne 0x485ef3
cmp dword [esp + 0x10], 0
je 0x486f36
push 0x2b
call fcn.00485430
mov esi, eax
add esp, 4
test esi, esi
je case.0x4858fd.0
push ebx
push edi
call sym.KomManager.exe_xmlStrndup
mov edi, eax
add esp, 8
test edi, edi
jne 0x4868fe
push str.allocating_hexbin_data
push eax
push ebp
push 2
push 0xf
call sym.KomManager.exe___xmlSimpleError
push esi
call dword [sym.KomManager.exe_xmlFree]
add esp, 0x18
jmp 0x485ef3
mov eax, ebx
mov ecx, edi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
test ebx, ebx
jle 0x486920
nop dword [eax]
mov al, byte [ecx]
dec ebx
cmp al, 0x61
jb 0x48691b
sub al, 0x20
mov byte [ecx], al
inc ecx
test ebx, ebx
jg 0x486910
mov eax, dword [esp + 0x10]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
mov dword [eax], esi
jmp 0x486f36
xor ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov edi, esi
test esi, esi
je 0x485ef3
mov bl, byte [esi]
test bl, bl
je 0x4869ca
mov byte [esp + 0x14], bl
xor ebp, ebp
push dword [esp + 0x14]
call fcn.00482dc0
add esp, 4
test eax, eax
js 0x48696b
cmp eax, 0x40
jge 0x486977
inc ebp
mov bl, byte [edi + 1]
inc edi
mov byte [esp + 0x14], bl
test bl, bl
jne 0x486955
xor ecx, ecx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x24]
test bl, bl
je 0x4869ca
mov byte [esp + 0x14], bl
nop dword [eax]
push dword [esp + 0x14]
call fcn.00482dc0
add esp, 4
test eax, eax
js 0x4869a9
cmp eax, 0x40
jl 0x485ef3
mov edx, dword [esp + 0x18]
cmp eax, 0x40
mov al, byte [edi + 1]
mov byte [esp + 0x14], al
lea ecx, [edx + 1]
cmovne ecx, edx
inc edi
mov dword [esp + 0x18], ecx
test al, al
jne 0x486990
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x1c]
mov eax, ebx
cdq
and edx, 3
add eax, edx
sar eax, 2
lea eax, [eax + eax*2]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x4869ff
mov eax, ebx
and eax, reloc.WS2_32.dll_closesocket
jns 0x4869f4
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x485ef3
jmp 0x486a8c
cmp ecx, 1
jne 0x486a45
mov eax, ebx
and eax, reloc.WS2_32.dll_closesocket
jns 0x486a12
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
jne 0x485ef3
movzx eax, byte [edi]
push eax
call fcn.00482dc0
add esp, 4
test eax, eax
js 0x486a30
cmp eax, 0x3f
jle 0x486a33
dec edi
jmp 0x486a1b
test eax, 0xffffffc3
jne 0x485ef3
add dword [esp + 0x14], 2
jmp 0x486a8c
cmp ecx, 2
jne 0x485ef3
mov eax, ebx
and eax, reloc.WS2_32.dll_closesocket
jns 0x486a5c
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 2
jne 0x485ef3
movzx eax, byte [edi]
push eax
call fcn.00482dc0
add esp, 4
test eax, eax
js 0x486a7a
cmp eax, 0x3f
jle 0x486a7d
dec edi
jmp 0x486a65
test eax, 0xffffffcf
jne 0x485ef3
inc dword [esp + 0x14]
cmp dword [esp + 0x10], 0
je 0x486f36
push 0x2c
call fcn.00485430
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je case.0x4858fd.0
mov ecx, dword [esp + 0x18]
inc ecx
add ecx, ebx
push ecx
call dword [sym.KomManager.exe_xmlMallocAtomic]
mov edi, eax
add esp, 4
test edi, edi
jne 0x486ae7
push str.allocating_base64_data
push eax
push ebp
push 2
push 0xf
call sym.KomManager.exe___xmlSimpleError
mov ebp, dword [esp + 0x30]
push ebp
call dword [sym.KomManager.exe_xmlFree]
add esp, 0x18
jmp 0x485ef3
mov ebp, dword [esp + 0x1c]
mov dword [ebp + 8], edi
mov bl, byte [esi]
test bl, bl
je 0x486b1f
mov byte [esp + 0x1c], bl
nop dword [eax + eax]
push dword [esp + 0x1c]
call fcn.00482dc0
add esp, 4
test eax, eax
js 0x486b13
mov byte [edi], bl
inc edi
mov bl, byte [esi + 1]
inc esi
mov byte [esp + 0x1c], bl
test bl, bl
jne 0x486b00
mov eax, dword [esp + 0x14]
mov byte [edi], 0
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
jmp 0x486f36
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
test esi, esi
je 0x485ef3
mov ebx, dword [esp + 0x6c]
mov ecx, esi
test ebx, ebx
je 0x486b6b
mov al, byte [esi]
mov ecx, esi
cmp al, 0x20
je 0x486b62
cmp al, 9
jb 0x486b5e
cmp al, 0xa
jbe 0x486b62
cmp al, 0xd
jne 0x486b6b
lea esi, [ecx + 1]
mov dword [esp + 0x18], esi
jmp 0x486b4e
mov al, byte [esi]
cmp al, 0x2d
jne 0x486b7b
mov dword [esp + 0x14], 1
jmp 0x486b7f
cmp al, 0x2b
jne 0x486b86
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00485530
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
js 0x485ef3
mov ecx, dword [esp + 0x18]
test ebx, ebx
je 0x486bcb
mov al, byte [ecx]
cmp al, 0x20
je 0x486bc8
cmp al, 9
jb 0x486bc4
cmp al, 0xa
jbe 0x486bc8
cmp al, 0xd
jne 0x486bcb
inc ecx
jmp 0x486bb6
cmp byte [ecx], 0
jne 0x485ef3
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
cmp edi, 0x1f
jne 0x486c05
cmp dword [esp + 0x14], 0
jne 0x486c57
test esi, esi
jne 0x485ef3
test ebx, ebx
jne 0x485ef3
test ebp, ebp
je 0x486c57
jmp 0x485ef3
cmp edi, 0x22
jne 0x486c11
cmp dword [esp + 0x14], 1
jmp 0x486c1b
cmp edi, 0x20
jne 0x486c33
cmp dword [esp + 0x14], 0
je 0x485ef3
test esi, esi
jne 0x486c57
test ebx, ebx
jne 0x486c57
test ebp, ebp
je 0x485ef3
jmp 0x486c57
cmp edi, 0x21
jne 0x486c57
cmp dword [esp + 0x14], 1
jne 0x486c57
test esi, esi
jne 0x485ef3
test ebx, ebx
jne 0x485ef3
test ebp, ebp
jne 0x485ef3
cmp dword [esp + 0x10], 0
je 0x486f36
push edi
call fcn.00485430
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x486f36
mov edx, dword [esp + 0x2c]
mov eax, 1
test edx, edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
cmove edx, eax
mov dword [ecx + 0x10], esi
mov eax, dword [ecx + 0x18]
and eax, 0xfffffffe
or eax, dword [esp + 0x14]
and eax, 0xffffff01
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x10]
mov byte [ecx + 0x19], dl
mov dword [eax], ecx
jmp 0x486f36
xor edi, edi
mov dword [esp + 0x18], esi
test esi, esi
je 0x485ef3
mov al, byte [esi]
cmp al, 0x2d
jne 0x486cc7
mov edi, 1
jmp 0x486ccb
cmp al, 0x2b
jne 0x486cd2
lea eax, [esi + 1]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00485530
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
js 0x485ef3
mov ecx, dword [esp + 0x18]
cmp byte [ecx], bl
jne 0x485ef3
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [eax + 0x58]
cmp ecx, 0x25
jne 0x486d65
cmp ebp, 0x39a
jb 0x486df3
ja 0x485ef3
cmp ebx, 0x2028830
jb 0x486df3
ja 0x485ef3
test edi, edi
jne 0x486d51
cmp esi, 0x343cfff
jmp 0x486ded
cmp edi, 1
jne 0x486df3
cmp esi, 0x343d000
jmp 0x486ded
cmp ecx, 0x23
jne 0x486d96
test ebp, ebp
jne 0x485ef3
cmp ebx, 0x15
jb 0x486df3
ja 0x485ef3
test edi, edi
jne 0x486d89
cmp esi, 0x2d48aff
jmp 0x486ded
cmp edi, 1
jne 0x486df3
cmp esi, 0x2d48b00
jmp 0x486ded
cmp ecx, 0x27
jne 0x486dc4
test ebx, ebx
jne 0x485ef3
test ebp, ebp
jne 0x485ef3
cmp edi, 1
jne 0x486db8
cmp esi, 0x8000
jmp 0x486ded
test edi, edi
jne 0x486df3
cmp esi, 0x7fff
jmp 0x486ded
cmp ecx, 0x29
jne 0x486df3
test ebx, ebx
jne 0x485ef3
test ebp, ebp
jne 0x485ef3
cmp edi, 1
jne 0x486de6
cmp esi, 0x80
jmp 0x486ded
test edi, edi
jne 0x486df3
cmp esi, 0x7f
ja 0x485ef3
cmp dword [esp + 0x10], 0
je 0x486f36
push ecx
call fcn.00485430
add esp, 4
test eax, eax
je 0x486f36
mov ecx, dword [eax + 0x18]
and ecx, 0xfffffffe
mov dword [eax + 8], esi
or ecx, edi
mov dword [eax + 0xc], ebx
and ecx, 0xffffff01
mov dword [eax + 0x10], ebp
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x1c]
jmp 0x486f2d
mov dword [esp + 0x1c], esi
test esi, esi
je 0x485ef3
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00485530
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
js 0x485ef3
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], bl
jne 0x485ef3
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
cmp edi, 0x26
jne 0x486ea7
cmp ebx, 0x734
jb 0x486f05
ja 0x485ef3
cmp esi, 0x4051061
jb 0x486f05
ja 0x485ef3
cmp ebp, 0x91beff
jmp 0x486eff
cmp edi, 0x24
jne 0x486ec7
test ebx, ebx
jne 0x485ef3
cmp esi, 0x2a
jb 0x486f05
ja 0x485ef3
cmp ebp, 0x5a915ff
jmp 0x486eff
cmp edi, 0x28
jne 0x486ee4
test esi, esi
jne 0x485ef3
test ebx, ebx
jne 0x485ef3
cmp ebp, 0xffff
jmp 0x486eff
cmp edi, 0x2a
jne 0x486f05
test esi, esi
jne 0x485ef3
test ebx, ebx
jne 0x485ef3
cmp ebp, 0xff
ja 0x485ef3
cmp dword [esp + 0x10], 0
je 0x486f36
push edi
call fcn.00485430
add esp, 4
test eax, eax
je 0x486f36
and dword [eax + 0x18], 0xffffff00
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ebx
mov byte [eax + 0x19], cl
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x486f48
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0062fc3e
add esp, 0x40
ret