Function at 0x4ecbc0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push esi
push edi
lea edi, [ebp - 0x260]
mov ecx, 0x98
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x55370c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
movsx eax, byte [edx]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4ecc6d
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
mov eax, 0xfffffffe
jmp 0x4ed5a1
mov eax, 1
test eax, eax
je 0x4ed578
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jne 0x4ecd68
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax + 0xc]
sub ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x10], 4
je 0x4ecd63
cmp dword [ebp - 0x10], 2
je 0x4ecd63
mov dword [ebp - 0x30], 0x52798c
mov edx, dword [ebp - 8]
and edx, 0x20
jne 0x4eccc5
cmp dword [ebp - 0x10], 0x40
jne 0x4eccce
mov dword [ebp - 0x30], str.Doctype
jmp 0x4ecd17
cmp dword [ebp - 0x10], 1
jne 0x4eccdd
mov dword [ebp - 0x30], str.Element_tag
jmp 0x4ecd17
cmp dword [ebp - 0x10], 0
jne 0x4eccec
mov dword [ebp - 0x30], str.Element_end_tag
jmp 0x4ecd17
cmp dword [ebp - 0x10], 8
jne 0x4eccfb
mov dword [ebp - 0x30], str.CDATA_Section
jmp 0x4ecd17
cmp dword [ebp - 0x10], 0x10
jne 0x4ecd0a
mov dword [ebp - 0x30], str.Processing_instruction
jmp 0x4ecd17
cmp dword [ebp - 0x10], 0x20
jne 0x4ecd17
mov dword [ebp - 0x30], str.Comment
mov dword [ebp - 0x10], 0xffffffff
mov esi, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x30]
push edx
push str._s_at_offset__d_unterminated
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
jmp 0x4ed578
cmp dword [ebp - 0x18], 0
je 0x4ece41
movsx edx, byte [ebp - 0x2c]
push edx
push str.__t_n_r__
call fcn.004f1990
add esp, 8
test eax, eax
je 0x4ece2a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax + 0xc]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0x10], 0
jne 0x4ecdc1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx - 1]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp 0x4ece13
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x18]
push ecx
mov esi, esp
mov edx, dword [ebp - 0xa0]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
cmp esi, esp
call fcn.004f90e1
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x4ece41
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004f19f0
add esp, 4
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
jmp 0x4ecc6d
cmp dword [ebp - 0xc], 0
je 0x4ed0cc
cmp dword [ebp - 0x2c], 0x3e
jne 0x4ecf77
mov edx, dword [ebp - 8]
and edx, 0xc0
jne 0x4ecf77
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x14], 1
jne 0x4ecebc
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x10], 1
jne 0x4eceb7
cmp dword [ebp - 0x1c], 0x2f
jne 0x4eceb7
cmp dword [ebp - 0x20], 0
je 0x4ecea5
movsx edx, byte [ebp - 0x20]
push edx
push 0x527a0c
call fcn.004f1990
add esp, 8
test eax, eax
je 0x4eceb7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
or ecx, 0x10000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc], ecx
jmp 0x4ecf5f
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
jle 0x4ecf5f
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
sub ecx, 1
mov dword [ebp - 0xac], ecx
je 0x4ecf4f
mov edx, dword [ebp - 0xa8]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0xa4]
movsx edx, byte [ecx]
mov ecx, dword [ebp - 0xa8]
add ecx, 1
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 1
mov dword [ebp - 0xa4], ecx
cmp edx, eax
jne 0x4ecf3a
mov dword [ebp - 0x260], 1
jmp 0x4ecf44
mov dword [ebp - 0x260], 0
cmp dword [ebp - 0x260], 0
je 0x4ecf4f
jmp 0x4ecee9
cmp dword [ebp - 0xac], 0
jne 0x4ecf5f
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
jne 0x4ecf72
mov edx, dword [ebp - 8]
and edx, 0x20
jne 0x4ecf72
jmp 0x4ed578
jmp 0x4ed0c7
cmp dword [ebp - 0x2c], 0x3c
jne 0x4ecf9d
cmp dword [ebp - 0x10], 2
je 0x4ecf89
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4ecf9d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax + 0xc]
sub ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x4ed578
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x4ed08a
mov eax, dword [ebp - 8]
and eax, 0xc0
je 0x4ecfee
cmp dword [ebp - 0x2c], 0x22
jne 0x4ecfd2
mov ecx, dword [ebp - 8]
and ecx, 0x80
je 0x4ecfd2
mov edx, dword [ebp - 8]
xor edx, 0x80
mov dword [ebp - 8], edx
jmp 0x4ecfe9
cmp dword [ebp - 0x2c], 0x27
jne 0x4ecfe9
mov eax, dword [ebp - 8]
and eax, 0x40
je 0x4ecfe9
mov ecx, dword [ebp - 8]
xor ecx, 0x40
mov dword [ebp - 8], ecx
jmp 0x4ed07c
cmp dword [ebp - 0x2c], 0x22
jne 0x4ed00c
mov edx, dword [ebp - 8]
and edx, 0x100
je 0x4ed00c
mov eax, dword [ebp - 8]
xor eax, 0x180
mov dword [ebp - 8], eax
jmp 0x4ed07c
cmp dword [ebp - 0x2c], 0x27
jne 0x4ed02b
mov ecx, dword [ebp - 8]
and ecx, 0x100
je 0x4ed02b
mov edx, dword [ebp - 8]
xor edx, 0x140
mov dword [ebp - 8], edx
jmp 0x4ed07c
cmp dword [ebp - 0x2c], 0x3d
jne 0x4ed04f
cmp dword [ebp - 0x1c], 0x3d
je 0x4ed04f
mov eax, dword [ebp - 8]
and eax, 0x100
jne 0x4ed04f
mov ecx, dword [ebp - 8]
xor ecx, 0x100
mov dword [ebp - 8], ecx
jmp 0x4ed07c
mov edx, dword [ebp - 8]
and edx, 0x100
je 0x4ed07c
movsx eax, byte [ebp - 0x2c]
push eax
push 0x527a14
call fcn.004f1990
add esp, 8
test eax, eax
jne 0x4ed07c
mov ecx, dword [ebp - 8]
xor ecx, 0x100
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
jmp 0x4ed0c7
mov ecx, dword [ebp - 0x10]
and ecx, 0x40
je 0x4ed0c7
cmp dword [ebp - 0x2c], 0x22
jne 0x4ed0ad
mov edx, dword [ebp - 8]
and edx, 0x40
jne 0x4ed0ad
mov eax, dword [ebp - 8]
xor eax, 0x80
mov dword [ebp - 8], eax
jmp 0x4ed0c7
cmp dword [ebp - 0x2c], 0x27
jne 0x4ed0c7
mov ecx, dword [ebp - 8]
and ecx, 0x80
jne 0x4ed0c7
mov edx, dword [ebp - 8]
xor edx, 0x40
mov dword [ebp - 8], edx
jmp 0x4ed561
cmp dword [ebp - 8], 0
je 0x4ed500
mov eax, dword [ebp - 8]
and eax, 0x10
je 0x4ed14b
cmp dword [ebp - 0x2c], 0x3c
jne 0x4ed0ff
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
sub edx, dword [ecx + 0xc]
sub edx, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], 4
jmp 0x4ed578
movsx eax, byte [ebp - 0x2c]
push eax
push 0x527a1c
call fcn.004f1990
add esp, 8
test eax, eax
jne 0x4ed146
mov ecx, dword [ebp - 8]
xor ecx, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0x527a24
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 2
xor edx, edx
je 0x4ed146
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax + 0xc]
sub ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x4ed4fe
mov edx, dword [ebp - 8]
and edx, 1
je 0x4ed28b
mov eax, dword [ebp - 8]
xor eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 0x2c], 0x60
ja 0x4ed17e
cmp dword [ebp - 0x2c], 0x40
jbe 0x4ed172
cmp dword [ebp - 0x2c], 0x5b
jb 0x4ed17e
cmp dword [ebp - 0x2c], 0x5f
je 0x4ed17e
cmp dword [ebp - 0x2c], 0x3a
jne 0x4ed1ad
mov dword [ebp - 0xc], 0x527a28
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 1
mov ecx, 1
test ecx, ecx
je 0x4ed1a8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
jmp 0x4ed286
cmp dword [ebp - 0x2c], 0x2f
jne 0x4ed1e5
mov dword [ebp - 0xc], 0x527a2c
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
mov ecx, 2
test ecx, ecx
je 0x4ed1e0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
sub eax, dword [edx + 0xc]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x4ed286
cmp dword [ebp - 0x2c], 0x21
jne 0x4ed1f9
mov ecx, dword [ebp - 8]
or ecx, 2
mov dword [ebp - 8], ecx
jmp 0x4ed286
cmp dword [ebp - 0x2c], 0x3f
jne 0x4ed22e
mov dword [ebp - 0xc], 0x527a30
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 0x10
mov edx, 2
test edx, edx
je 0x4ed22c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax + 0xc]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x4ed286
mov dword [ebp - 0xc], 0x527a34
mov dword [ebp - 0x14], 1
mov esi, esp
mov edx, dword [ebp - 0x24]
push edx
push 0x527a38
push 0x527a4c
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4ed4fe
mov edx, dword [ebp - 8]
and edx, 2
je 0x4ed389
mov eax, dword [ebp - 8]
xor eax, 2
mov dword [ebp - 8], eax
cmp dword [ebp - 0x2c], 0x2d
jne 0x4ed2b4
mov ecx, dword [ebp - 8]
or ecx, 4
mov dword [ebp - 8], ecx
jmp 0x4ed384
cmp dword [ebp - 0x2c], 0x5b
jne 0x4ed2d0
mov edx, dword [ebp - 8]
and edx, 0x20
jne 0x4ed2d0
mov eax, dword [ebp - 8]
or eax, 8
mov dword [ebp - 8], eax
jmp 0x4ed384
cmp dword [ebp - 0x2c], 0x44
jne 0x4ed2ec
mov ecx, dword [ebp - 8]
and ecx, 0x20
jne 0x4ed2ec
mov edx, dword [ebp - 8]
or edx, 0x20
mov dword [ebp - 8], edx
jmp 0x4ed384
movsx eax, byte [ebp - 0x2c]
push eax
push 0x527a68
call fcn.004f1990
add esp, 8
test eax, eax
je 0x4ed32c
mov dword [ebp - 0xc], 0x527a6c
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x40
xor ecx, ecx
je 0x4ed32a
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
sub eax, dword [edx + 0xc]
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x4ed384
mov dword [ebp - 0xc], 0x527a70
mov dword [ebp - 0x14], 1
mov esi, esp
mov ecx, dword [ebp - 0x24]
push ecx
push str.__tag
push 0x527a7c
lea edx, [ebp - 0x180]
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4ed4fe
mov ecx, dword [ebp - 8]
and ecx, 4
je 0x4ed42b
mov edx, dword [ebp - 8]
xor edx, 4
mov dword [ebp - 8], edx
cmp dword [ebp - 0x2c], 0x2d
jne 0x4ed3ce
mov dword [ebp - 0xc], 0x527a98
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], 0x20
xor eax, eax
je 0x4ed3cc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
sub edx, dword [ecx + 0xc]
sub edx, 1
mov dword [ebp - 0x18], edx
jmp 0x4ed426
mov dword [ebp - 0xc], 0x527a9c
mov dword [ebp - 0x14], 1
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
push str.comment_tag
push 0x527aac
lea ecx, [ebp - 0x1ec]
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea edx, [ebp - 0x1ec]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4ed4fe
mov eax, dword [ebp - 8]
and eax, 8
je 0x4ed4ca
mov ecx, dword [ebp - 8]
xor ecx, 8
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x2c], 0x43
jne 0x4ed470
mov dword [ebp - 0xc], 0x527ac8
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], 8
xor edx, edx
je 0x4ed46e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax + 0xc]
sub ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x4ed4c8
mov dword [ebp - 0xc], 0x527acc
mov dword [ebp - 0x14], 1
mov esi, esp
mov edx, dword [ebp - 0x24]
push edx
push 0x527ad0
push str.Incorrect__s_at_offset__d
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x258]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4ed4fe
mov edx, dword [ebp - 8]
and edx, 0x20
je 0x4ed4fe
cmp dword [ebp - 0x2c], 0x3c
jne 0x4ed4e3
mov eax, dword [ebp - 8]
or eax, 1
mov dword [ebp - 8], eax
jmp 0x4ed4fe
cmp dword [ebp - 0x2c], 0x3e
jne 0x4ed4fe
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
sub edx, dword [ecx + 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], 0x40
jmp 0x4ed578
jmp 0x4ed561
cmp dword [ebp - 0x2c], 0x3c
jne 0x4ed511
mov eax, dword [ebp - 8]
or eax, 1
mov dword [ebp - 8], eax
jmp 0x4ed561
mov dword [ebp - 0x10], 4
movsx ecx, byte [ebp - 0x2c]
push ecx
push str.__t_n_r
call fcn.004f1990
add esp, 8
test eax, eax
je 0x4ed539
mov edx, dword [ebp - 8]
or edx, 0x10
mov dword [ebp - 8], edx
jmp 0x4ed561
mov dword [ebp - 0xc], 0x527af8
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 2
xor eax, eax
je 0x4ed561
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
sub edx, dword [ecx + 0xc]
sub edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004f19f0
add esp, 4
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
jmp 0x4ecc6d
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 8]
sub edx, dword [ecx + 4]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
push edx
mov ecx, ebp
push eax
lea edx, [0x4ed5cd]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 4]
call fcn.004f90d3
pop edi
pop esi
add esp, 0x260
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret