Function at 0x10018b20
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x10]
cmp byte [edx], 0x25
jne case.0x10018b55.2
mov ecx, dword [esi + 0xac]
lea eax, [ecx + 1]
cmp eax, 0x11
ja case.default.0x10018b55
movzx eax, byte [eax + 0x10018f04]
jmp dword [eax*4 + 0x10018ef0]
push 0
mov edx, 0x12
mov ecx, esi
call fcn.10016970
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xd4], 0
je 0x10018b86
cmp ecx, 0xffffffff
je case.0x10018b55.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
mov dword [esi + 0x54], 0x13
push 0x13
jmp 0x10018ebb
cmp dword [esi + 0xd4], 0
je 0x10018bbd
cmp ecx, 0xffffffff
je case.0x10018b55.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
mov dword [esi + 0x54], 0x14
push 0x14
jmp 0x10018ebb
cmp dword [esi + 0x60], 0
jne 0x10018bf2
cmp dword [esi + 0x28], 1
je case.0x10018b55.2
mov al, byte [edx + 1]
cmp al, 0x20
je case.0x10018b55.2
cmp al, 9
jb 0x10018c09
cmp al, 0xa
jbe case.0x10018b55.2
cmp al, 0xd
je case.0x10018b55.2
test al, al
je case.0x10018b55.2
push esi
call sym.dspconv.dll_xmlNextChar
add esp, 4
push esi
call sym.dspconv.dll_xmlParseName
add esp, 4
mov edi, eax
cmp dword [sym.dspconv.dll_xmlParserDebugEntities], 0
je 0x10018c4b
push edi
push str.PEReference:__s_n
push dword [sym.dspconv.dll_xmlGenericErrorContext]
call dword [sym.dspconv.dll_xmlGenericError]
add esp, 0xc
test edi, edi
jne 0x10018c89
cmp dword [esi + 0xd4], edi
je 0x10018c64
cmp dword [esi + 0xac], 0xffffffff
je case.0x10018b55.2
push 0
push str.PEReference:_no_name_n
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
mov dword [esi + 0x54], 0x18
push 0x18
jmp 0x10018ebb
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3b
jne 0x10018e89
push esi
call sym.dspconv.dll_xmlNextChar
mov eax, dword [esi]
add esp, 4
test eax, eax
je 0x10018e06
mov eax, dword [eax + 0x60]
test eax, eax
je 0x10018e06
push edi
push dword [esi + 4]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10018e06
mov ecx, dword [esi + 0x24]
cmp dword [ecx + 0x28], 0x10018a10
je 0x10018cef
mov edx, ebx
mov ecx, esi
call fcn.10018a20
push eax
push esi
call sym.dspconv.dll_xmlPushInput
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x30]
cmp eax, 4
je 0x10018d18
cmp eax, 5
je 0x10018d18
push edi
push str.PEReference:__s_is_not_a_parameter_entity_n
mov edx, 0x1e
mov ecx, esi
call fcn.10016fd0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sym.dspconv.dll_xmlNewEntityInputStream
push eax
push esi
call sym.dspconv.dll_xmlPushInput
add esp, 0x10
test eax, eax
js case.0x10018b55.2
cmp dword [esi + 0x124], 0
jne 0x10018d52
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
cmp ecx, 0xfa
jge 0x10018d52
mov ecx, esi
call fcn.10018260
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub eax, ecx
cmp eax, 4
jl 0x10018d9e
movzx eax, byte [ecx]
mov byte [esp + 0xc], al
movzx eax, byte [ecx + 1]
mov byte [esp + 0xd], al
movzx eax, byte [ecx + 2]
mov byte [esp + 0xe], al
movzx eax, byte [ecx + 3]
mov byte [esp + 0xf], al
lea eax, [esp + 0xc]
push 4
push eax
call sym.dspconv.dll_xmlDetectCharEncoding
add esp, 8
test eax, eax
je 0x10018d9e
push eax
push esi
call sym.dspconv.dll_xmlSwitchEncoding
add esp, 8
cmp dword [ebx + 0x30], 5
jne case.0x10018b55.2
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3c
jne case.0x10018b55.2
cmp byte [eax + 1], 0x3f
jne case.0x10018b55.2
cmp byte [eax + 2], 0x78
jne case.0x10018b55.2
cmp byte [eax + 3], 0x6d
jne case.0x10018b55.2
cmp byte [eax + 4], 0x6c
jne case.0x10018b55.2
mov al, byte [eax + 5]
cmp al, 0x20
je 0x10018df6
cmp al, 9
jb 0x10018dee
cmp al, 0xa
jbe 0x10018df6
cmp al, 0xd
jne case.0x10018b55.2
push esi
call sym.dspconv.dll_xmlParseTextDecl
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1c], 1
je 0x10018e6d
cmp dword [esi + 0x58], 0
jne 0x10018e18
cmp dword [esi + 0x5c], 0
je 0x10018e6d
cmp dword [esi + 0x68], 0
je 0x10018e49
cmp dword [esi + 0x70], 0
je 0x10018e49
push 0
push edi
push str.PEReference:____s__not_found_n
mov edx, 0x1b
mov ecx, esi
call fcn.10016e40
add esp, 0xc
mov dword [esi + 0x64], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push edi
push str.PEReference:____s__not_found_n
mov edx, 0x1b
mov ecx, esi
call fcn.10016da0
add esp, 0xc
mov dword [esi + 0x64], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push str.PEReference:____s__not_found_n
mov edx, 0x1a
mov ecx, esi
call fcn.10016fd0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xd4], 0
je 0x10018e9b
cmp dword [esi + 0xac], 0xffffffff
je case.0x10018b55.2
push 0
push str.PEReference:_expecting___n
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
mov dword [esi + 0x54], 0x19
push 0x19
push 1
push 0
push esi
push 0
push 0
push 0
call sym.dspconv.dll___xmlRaiseError
add esp, 0x44
mov dword [esi + 0xc], 0
cmp dword [esi + 0x120], 0
jne case.0x10018b55.2
mov dword [esi + 0xd4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret