Function at 0x10283d90
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x8c
mov eax, dword [0x106499c8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebp
push edi
mov edi, dword [esp + 0x98]
xor ebp, ebp
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x10]
cmp byte [ecx], 0x25
jne case.0x10283dd5.2
mov eax, dword [edi + 0xac]
inc eax
cmp eax, 0x11
ja case.default.0x10283dd5
movzx eax, byte [eax + 0x102842a0]
jmp dword [eax*4 + 0x1028428c]
push 0
push 0x12
push edi
call fcn.1026f4e0
add esp, 0xc
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret
push 0
push 0x13
push edi
call fcn.1026f4e0
add esp, 0xc
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret
push 0
push 0x14
push edi
call fcn.1026f4e0
add esp, 0xc
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret
cmp dword [edi + 0x60], ebp
jne 0x10283e57
cmp dword [edi + 0x28], 1
je case.0x10283dd5.2
mov al, byte [ecx + 1]
cmp al, 0x20
je case.0x10283dd5.2
cmp al, 9
jb 0x10283e6e
cmp al, 0xa
jbe case.0x10283dd5.2
cmp al, 0xd
je case.0x10283dd5.2
test al, al
je case.0x10283dd5.2
push ebx
push edi
call sym.php5.dll_xmlNextChar
push edi
call sym.php5.dll_xmlParseName
add esp, 8
mov ebx, eax
call sym.php5.dll___xmlParserDebugEntities
cmp dword [eax], ebp
je 0x10283eb6
push esi
call sym.php5.dll___xmlGenericError
mov esi, eax
call sym.php5.dll___xmlGenericErrorContext
push ebx
push str.PEReference:__s_n
push dword [eax]
mov eax, dword [esi]
call eax
add esp, 0xc
pop esi
test ebx, ebx
jne 0x10283f25
push 0x80
lea eax, [esp + 0x15]
push ebx
push eax
mov byte [esp + 0x1c], bl
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [edi + 0xd4], ebp
je 0x10283ee6
cmp dword [edi + 0xac], 0xffffffff
je 0x10284274
push str.PEReference:_no_name
push 0x1061a878
lea eax, [esp + 0x18]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll__snprintf]
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
mov dword [edi + 0x54], 0x18
push 0x18
jmp 0x1028424c
mov eax, dword [edi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3b
jne 0x102841e8
push edi
call sym.php5.dll_xmlNextChar
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x10283f55
mov eax, dword [eax + 0x60]
test eax, eax
je 0x10283f55
push ebx
push dword [edi + 4]
call eax
add esp, 8
mov ebp, eax
cmp dword [edi + 0xac], 0xffffffff
je 0x10284274
test ebp, ebp
jne 0x10284048
cmp dword [edi + 0x1c], 1
je 0x10284010
cmp dword [edi + 0x58], ebp
jne 0x10283f82
cmp dword [edi + 0x5c], ebp
je 0x10284010
cmp dword [edi + 0x68], 0
je 0x10283fcf
cmp dword [edi + 0x70], 0
je 0x10283fcf
push 0
push ebx
push str.PEReference:____s__not_found_n
push 0x1b
push edi
call fcn.102fac70
add esp, 0x14
mov dword [edi + 0x64], 0
push 0
push 0
push 0
push edi
call fcn.10283b40
add esp, 0x10
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret
push 0
push ebx
push str.PEReference:____s__not_found_n
push 0x1b
push edi
call fcn.10285a40
add esp, 0x14
mov dword [edi + 0x64], 0
push 0
push 0
push 0
push edi
call fcn.10283b40
add esp, 0x10
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret
push ebx
push str.PEReference:____s__not_found_n
push 0x1a
push edi
call fcn.1026fa20
add esp, 0x10
push 0
push 0
push 0
push edi
call fcn.10283b40
add esp, 0x10
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret
mov eax, dword [edi + 0x24]
cmp dword [eax + 0x28], 0x1026d1a0
je 0x1028407d
push ebp
push edi
call fcn.10270670
push eax
push edi
call sym.php5.dll_xmlPushInput
add esp, 0x10
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret
mov eax, dword [ebp + 0x30]
cmp eax, 4
je 0x102840b3
cmp eax, 5
je 0x102840b8
push ebx
push str.PEReference:__s_is_not_a_parameter_entity_n
push 0x1e
push edi
call fcn.1026fa20
add esp, 0x10
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret
cmp eax, 5
jne 0x102840d1
test byte [edi + 0x168], 0x1e
jne 0x102840d1
cmp dword [edi + 0x10], 0
jne 0x102840d1
cmp dword [edi + 0x68], 0
je 0x10284274
push ebp
push edi
call sym.php5.dll_xmlNewEntityInputStream
push eax
push edi
call sym.php5.dll_xmlPushInput
add esp, 0x10
test eax, eax
js 0x10284274
cmp dword [edi + 0x124], 0
jne 0x1028410d
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
cmp ecx, 0xfa
jge 0x1028410d
push edi
call fcn.1026fb10
add esp, 4
cmp dword [edi + 0xac], 0xffffffff
je 0x10284274
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
sub eax, edx
cmp eax, 4
jl 0x1028416f
movzx eax, byte [edx]
mov byte [esp + 0xc], al
mov eax, dword [ecx + 0x10]
push 4
movzx eax, byte [eax + 1]
mov byte [esp + 0x11], al
mov eax, dword [ecx + 0x10]
movzx eax, byte [eax + 2]
mov byte [esp + 0x12], al
mov eax, dword [ecx + 0x10]
movzx eax, byte [eax + 3]
mov byte [esp + 0x13], al
lea eax, [esp + 0x10]
push eax
call sym.php5.dll_xmlDetectCharEncoding
add esp, 8
test eax, eax
je 0x1028416f
push eax
push edi
call sym.php5.dll_xmlSwitchEncoding
add esp, 8
cmp dword [ebp + 0x30], 5
jne 0x10284274
mov eax, dword [edi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3c
jne 0x10284274
cmp byte [eax + 1], 0x3f
jne 0x10284274
cmp byte [eax + 2], 0x78
jne 0x10284274
cmp byte [eax + 3], 0x6d
jne 0x10284274
cmp byte [eax + 4], 0x6c
jne 0x10284274
mov al, byte [eax + 5]
cmp al, 0x20
je 0x102841c7
cmp al, 9
jb 0x102841bf
cmp al, 0xa
jbe 0x102841c7
cmp al, 0xd
jne 0x10284274
push edi
call sym.php5.dll_xmlParseTextDecl
add esp, 4
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret
push 0x80
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [edi + 0xd4], ebp
je 0x10284212
cmp dword [edi + 0xac], 0xffffffff
je 0x10284274
push str.PEReference:_expecting__
push 0x1061a878
lea eax, [esp + 0x18]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll__snprintf]
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
mov dword [edi + 0x54], 0x19
push 0x19
push 1
push 0
push edi
push 0
push 0
push 0
call fcn.10260ef0
add esp, 0x54
mov dword [edi + 0xc], ebp
cmp dword [edi + 0x120], ebp
jne 0x10284274
mov dword [edi + 0xd4], 1
pop ebx
mov ecx, dword [esp + 0x90]
pop edi
pop ebp
xor ecx, esp
call fcn.10311bec
add esp, 0x8c
ret