Function at 0x10027250
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x10]
cmp byte [edx], 0x25
jne 0x10027635
mov ecx, dword [esi + 0xac]
lea eax, [ecx + 1]
cmp eax, 0x11
push ebp
mov ebp, 1
ja case.default.0x10027283
movzx eax, byte [eax + 0x1002764c]
jmp dword [eax*4 + 0x10027638]
xor ecx, ecx
mov edx, 0x12
call fcn.10021a70
pop ebp
pop esi
ret
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x100272ac
cmp ecx, 0xffffffff
je case.0x10027283.2
push 0
push str.PEReference_in_prolog_n
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
push 0x13
mov ebp, 1
push ebp
push 0
push esi
push 0
push 0
push 0
mov dword [esi + 0x54], 0x13
call sym.libxml2.dll___xmlRaiseError
mov eax, dword [esi + 0x120]
add esp, 0x44
test eax, eax
mov dword [esi + 0xc], 0
jne case.0x10027283.2
mov dword [esi + 0xd4], ebp
pop ebp
pop esi
ret
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x10027314
cmp ecx, 0xffffffff
je case.0x10027283.2
push 0
push str.PEReference_in_epilog_n
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
push 0x14
mov ebp, 1
push ebp
push 0
push esi
push 0
push 0
push 0
mov dword [esi + 0x54], 0x14
call sym.libxml2.dll___xmlRaiseError
mov eax, dword [esi + 0x120]
add esp, 0x44
test eax, eax
mov dword [esi + 0xc], 0
jne case.0x10027283.2
mov dword [esi + 0xd4], ebp
pop ebp
pop esi
ret
mov eax, dword [esi + 0x60]
test eax, eax
jne 0x10027379
cmp dword [esi + 0x28], ebp
je case.0x10027283.2
mov al, byte [edx + 1]
cmp al, 0x20
je case.0x10027283.2
cmp al, 9
jb 0x10027390
cmp al, 0xa
jbe case.0x10027283.2
cmp al, 0xd
je case.0x10027283.2
test al, al
je case.0x10027283.2
push ebx
push edi
push esi
call sym.libxml2.dll_xmlNextChar
push esi
call sym.libxml2.dll_xmlParseName
add esp, 8
mov ebx, eax
call sym.libxml2.dll___xmlParserDebugEntities
cmp dword [eax], 0
je 0x100273d7
call sym.libxml2.dll___xmlGenericError
mov edi, eax
call sym.libxml2.dll___xmlGenericErrorContext
mov ecx, dword [eax]
push ebx
push str.PEReference:__s_n
push ecx
call dword [edi]
add esp, 0xc
xor edi, edi
cmp ebx, edi
jne 0x1002740f
cmp dword [esi + 0xd4], edi
je 0x100273f2
cmp dword [esi + 0xac], 0xffffffff
je 0x10027632
push edi
push str.PEReference:_no_name_n
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 3
mov dword [esi + 0x54], 0x18
push 0x18
jmp 0x10027611
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 0x10]
cmp byte [eax], 0x3b
jne 0x100275e8
push esi
call sym.libxml2.dll_xmlNextChar
mov eax, dword [esi]
add esp, 4
cmp eax, edi
je 0x10027444
mov eax, dword [eax + 0x60]
cmp eax, edi
je 0x10027444
mov ecx, dword [esi + 4]
push ebx
push ecx
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x100274c0
cmp dword [esi + 0x1c], ebp
je 0x100274a7
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x10027457
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x100274a7
mov eax, dword [esi + 0x68]
test eax, eax
je 0x10027487
mov eax, dword [esi + 0x70]
test eax, eax
je 0x10027487
push str.PEReference:____s__not_found_n
xor eax, eax
mov ecx, ebx
mov edx, 0x1b
call fcn.100492d0
add esp, 4
pop edi
pop ebx
pop ebp
mov dword [esi + 0x64], 0
pop esi
ret
push 0x1b
mov edx, ebx
push esi
xor ecx, ecx
mov ebx, str.PEReference:____s__not_found_n
call fcn.10021ea0
add esp, 8
pop edi
pop ebx
pop ebp
mov dword [esi + 0x64], 0
pop esi
ret
push str.PEReference:____s__not_found_n
mov eax, ebx
mov ecx, 0x1a
call fcn.10022010
add esp, 4
pop edi
pop ebx
pop ebp
pop esi
ret
mov edx, dword [esi + 0x24]
cmp dword [edx + 0x28], 0x100230e0
je 0x100274e4
mov eax, edi
mov ecx, esi
call fcn.100230f0
push eax
push esi
call sym.libxml2.dll_xmlPushInput
add esp, 8
pop edi
pop ebx
pop ebp
pop esi
ret
mov eax, dword [edi + 0x30]
cmp eax, 4
je 0x1002750a
cmp eax, 5
je 0x1002750a
push str.PEReference:__s_is_not_a_parameter_entity_n
mov eax, ebx
mov ecx, 0x1e
call fcn.10022010
add esp, 4
pop edi
pop ebx
pop ebp
pop esi
ret
push edi
push esi
call sym.libxml2.dll_xmlNewEntityInputStream
push eax
push esi
call sym.libxml2.dll_xmlPushInput
add esp, 0x10
test eax, eax
jl 0x10027632
mov eax, dword [esi + 0x124]
test eax, eax
jne 0x10027543
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
cmp ecx, 0xfa
jge 0x10027543
call fcn.100257e0
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
sub edx, ebx
cmp edx, 4
jl 0x10027596
mov ecx, ebx
mov dl, byte [ecx]
mov byte [esp + 0x14], dl
mov ecx, dword [eax + 0x10]
mov dl, byte [ecx + 1]
mov byte [esp + 0x15], dl
mov ecx, dword [eax + 0x10]
mov dl, byte [ecx + 2]
mov byte [esp + 0x16], dl
mov eax, dword [eax + 0x10]
mov cl, byte [eax + 3]
lea edx, [esp + 0x14]
push 4
push edx
mov byte [esp + 0x1f], cl
call sym.libxml2.dll_xmlDetectCharEncoding
add esp, 8
test eax, eax
je 0x10027596
push eax
push esi
call sym.libxml2.dll_xmlSwitchEncoding
add esp, 8
cmp dword [edi + 0x30], 5
jne 0x10027632
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3c
jne 0x10027632
cmp byte [eax + 1], 0x3f
jne 0x10027632
cmp byte [eax + 2], 0x78
jne 0x10027632
cmp byte [eax + 3], 0x6d
jne 0x10027632
cmp byte [eax + 4], 0x6c
jne 0x10027632
mov al, byte [eax + 5]
cmp al, 0x20
je 0x100275da
cmp al, 9
jb 0x100275d6
cmp al, 0xa
jbe 0x100275da
cmp al, 0xd
jne 0x10027632
push esi
call sym.libxml2.dll_xmlParseTextDecl
add esp, 4
pop edi
pop ebx
pop ebp
pop esi
ret
cmp dword [esi + 0xd4], edi
je 0x100275f9
cmp dword [esi + 0xac], 0xffffffff
je 0x10027632
push edi
push str.PEReference:_expecting___n
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 3
mov dword [esi + 0x54], 0x19
push 0x19
push ebp
push edi
push esi
push edi
push edi
push edi
call sym.libxml2.dll___xmlRaiseError
mov eax, dword [esi + 0x120]
add esp, 0x44
cmp eax, edi
mov dword [esi + 0xc], edi
jne 0x10027632
mov dword [esi + 0xd4], ebp
pop edi
pop ebx
pop ebp
pop esi
ret