Function at 0x40efaf
Capabilities:
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x34c
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp + 0x74], eax
mov eax, dword [edi + 8]
or dword [ebp - 0x2b4], 0xffffffff
xor edx, edx
push ebx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], edx
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0xc]
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x2c4], eax
movzx eax, word [ebx]
push esi
xor esi, esi
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 0x2d0], edx
cmp ax, dx
jne 0x40f022
push 0xfffffffffffffffe
mov dword [ecx + 8], edx
mov dword [ecx], edx
pop eax
jmp 0x40f6e9
movzx eax, ax
mov dword [ebp - 0x2b8], eax
cmp eax, edx
je 0x40f36c
jmp 0x40f037
xor edx, edx
cmp esi, edx
je 0x40f099
push dword [ebp - 0x2b8]
push str.__t_n_r__
call fcn.00451545
pop ecx
pop ecx
test eax, eax
je 0x40f359
mov ecx, dword [edi + 0xc]
mov eax, ebx
sub eax, ecx
sar eax, 1
sub eax, esi
cmp dword [ebp - 0x2b4], 0
jne 0x40f074
lea eax, [eax + esi - 1]
mov dword [edi], esi
mov dword [edi + 4], eax
jmp 0x40f087
push eax
lea eax, [ecx + esi*2]
mov ecx, dword [ebp - 0x2c8]
push eax
add ecx, 0x10
call fcn.00401f62
xor edx, edx
xor esi, esi
mov dword [ebp - 0x2d0], edx
mov dword [ebp - 0x2cc], edx
jmp 0x40f09b
xor edx, edx
cmp dword [ebp - 0x2bc], edx
je 0x40f2f8
mov eax, dword [ebp - 0x2b8]
cmp eax, 0x3e
jne 0x40f191
test byte [ebp - 0x2b0], 0xc0
jne 0x40f1b0
mov ecx, dword [ebp - 0x2c0]
mov eax, ebx
sub eax, dword [edi + 0xc]
sar eax, 1
mov dword [ebp - 0x2c4], eax
cmp ecx, 1
jne 0x40f127
mov dword [ebp - 0x2bc], edx
cmp dword [ebp - 0x2b4], ecx
jne 0x40f17f
cmp dword [ebp - 0x2cc], 0x2f
jne 0x40f17f
cmp dword [ebp - 0x2d0], edx
je 0x40f118
push dword [ebp - 0x2d0]
push str.__t_n_r_
call fcn.00451545
pop ecx
pop ecx
test eax, eax
je 0x40f17f
mov eax, dword [ebp - 0x2c8]
or dword [eax + 0xc], 0x10000
jmp 0x40f17f
cmp eax, ecx
jle 0x40f173
lea eax, [ecx + ecx]
mov edx, ebx
sub edx, eax
mov dword [ebp - 0x2b8], ecx
mov ecx, dword [ebp - 0x2bc]
lea eax, [edx + 2]
sub ecx, eax
mov dword [ebp - 0x2d4], ecx
jmp 0x40f151
mov ecx, dword [ebp - 0x2d4]
dec dword [ebp - 0x2b8]
je 0x40f16b
mov dx, word [eax]
mov cx, word [ecx + eax]
inc eax
inc eax
cmp dx, cx
je 0x40f14b
xor edx, edx
jmp 0x40f173
xor edx, edx
mov dword [ebp - 0x2bc], edx
cmp dword [ebp - 0x2bc], edx
jne 0x40f359
test byte [ebp - 0x2b0], 0x20
je 0x40f6cb
jmp 0x40f359
cmp eax, 0x3c
jne 0x40f1b0
cmp dword [ebp - 0x2b4], 2
je 0x40f7ac
cmp dword [ebp - 0x2b4], 0xffffffff
je 0x40f7ac
test byte [ebp - 0x2b4], 1
je 0x40f2ae
test byte [ebp - 0x2b0], 0xc0
je 0x40f209
cmp eax, 0x22
jne 0x40f1e7
test byte [ebp - 0x2b0], 0x80
je 0x40f297
xor dword [ebp - 0x2b0], 0x80
jmp 0x40f297
cmp eax, 0x27
jne 0x40f297
test byte [ebp - 0x2b0], 0x40
je 0x40f297
xor dword [ebp - 0x2b0], 0x40
jmp 0x40f297
cmp eax, 0x22
jne 0x40f226
test dword [ebp - 0x2b0], 0x100
je 0x40f297
xor dword [ebp - 0x2b0], 0x180
jmp 0x40f297
cmp eax, 0x27
jne 0x40f243
test dword [ebp - 0x2b0], 0x100
je 0x40f297
xor dword [ebp - 0x2b0], 0x140
jmp 0x40f297
cmp eax, 0x3d
jne 0x40f265
cmp dword [ebp - 0x2cc], eax
je 0x40f265
mov ecx, 0x100
test dword [ebp - 0x2b0], ecx
jne 0x40f265
xor dword [ebp - 0x2b0], ecx
jmp 0x40f297
test dword [ebp - 0x2b0], 0x100
je 0x40f297
push dword [ebp - 0x2b8]
push str.__t_n_r
call fcn.00451545
pop ecx
test eax, eax
mov eax, dword [ebp - 0x2b8]
pop ecx
jne 0x40f297
xor dword [ebp - 0x2b0], 0x100
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], eax
jmp 0x40f359
test byte [ebp - 0x2b4], 0x40
je 0x40f359
cmp dword [ebp - 0x2b8], 0x22
jne 0x40f2dd
test byte [ebp - 0x2b0], 0x40
jne 0x40f359
xor dword [ebp - 0x2b0], 0x80
jmp 0x40f359
cmp dword [ebp - 0x2b8], 0x27
jne 0x40f359
test byte [ebp - 0x2b0], 0x80
jne 0x40f359
xor dword [ebp - 0x2b0], 0x40
jmp 0x40f359
cmp dword [ebp - 0x2b0], edx
je 0x40f6fa
test byte [ebp - 0x2b0], 0x10
je 0x40f3c6
cmp dword [ebp - 0x2b8], 0x3c
je 0x40f7b7
push dword [ebp - 0x2b8]
push str.__t_n_r
call fcn.00451545
pop ecx
pop ecx
test eax, eax
jne 0x40f359
xor dword [ebp - 0x2b0], 0x10
mov dword [ebp - 0x2b4], 2
mov dword [ebp - 0x2c0], 1
mov dword [ebp - 0x2bc], 0x47e22c
inc ebx
inc ebx
movzx eax, word [ebx]
mov dword [ebp - 0x2b8], eax
test eax, eax
jne 0x40f035
sub ebx, dword [edi + 0xc]
sar ebx, 1
dec ebx
cmp dword [ebp - 0x2b4], 4
mov dword [ebp - 0x2c4], ebx
je 0x40f6cb
cmp dword [ebp - 0x2b4], 2
je 0x40f6cb
test byte [ebp - 0x2b0], 0x20
mov ecx, 0x47e124
jne 0x40f774
mov eax, dword [ebp - 0x2b4]
cmp eax, 0x40
je 0x40f774
cmp eax, 1
jne 0x40f745
mov ecx, str.Element_tag
jmp 0x40f779
test byte [ebp - 0x2b0], 1
je 0x40f4c6
mov ecx, dword [ebp - 0x2b8]
xor eax, eax
inc eax
xor dword [ebp - 0x2b0], eax
cmp ecx, 0x60
ja 0x40f4a4
cmp ecx, 0x40
jbe 0x40f3f9
cmp ecx, 0x5b
jb 0x40f4a4
cmp ecx, 0x5f
je 0x40f4a4
cmp ecx, 0x3a
je 0x40f4a4
cmp ecx, 0x2f
jne 0x40f428
mov dword [ebp - 0x2bc], 0x47e230
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2b4], edx
jmp 0x40f45c
cmp ecx, 0x21
jne 0x40f439
or dword [ebp - 0x2b0], 2
jmp 0x40f359
cmp ecx, 0x3f
jne 0x40f469
mov dword [ebp - 0x2bc], 0x47df48
mov dword [ebp - 0x2c0], 2
mov dword [ebp - 0x2b4], 0x10
mov esi, ebx
sub esi, dword [edi + 0xc]
sar esi, 1
inc esi
jmp 0x40f359
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x2ac]
push 0x47e234
push str.Incorrect__s_at_offset__d
push eax
mov dword [ebp - 0x2bc], 0x47e230
mov dword [ebp - 0x2c0], 1
call fcn.00455f41
lea eax, [ebp - 0x2ac]
jmp 0x40f669
mov esi, ebx
sub esi, dword [edi + 0xc]
mov dword [ebp - 0x2bc], 0x47e230
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2b4], eax
sar esi, 1
jmp 0x40f359
test byte [ebp - 0x2b0], 2
je 0x40f58b
xor dword [ebp - 0x2b0], 2
cmp dword [ebp - 0x2b8], 0x2d
jne 0x40f4ef
or dword [ebp - 0x2b0], 4
jmp 0x40f359
cmp dword [ebp - 0x2b8], 0x5b
jne 0x40f50d
test byte [ebp - 0x2b0], 0x20
jne 0x40f52b
or dword [ebp - 0x2b0], 8
jmp 0x40f359
cmp dword [ebp - 0x2b8], 0x44
jne 0x40f52b
test byte [ebp - 0x2b0], 0x20
jne 0x40f52b
or dword [ebp - 0x2b0], 0x20
jmp 0x40f359
push dword [ebp - 0x2b8]
push 0x47e290
call fcn.00451545
pop ecx
pop ecx
mov dword [ebp - 0x2bc], 0x47e230
mov dword [ebp - 0x2c0], 1
test eax, eax
je 0x40f564
mov dword [ebp - 0x2b4], 0x40
jmp 0x40f359
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x1e4]
push str.__tag
push str.Incorrect__s_at_offset__d
push eax
call fcn.00455f41
lea eax, [ebp - 0x1e4]
jmp 0x40f669
test byte [ebp - 0x2b0], 4
je 0x40f5ff
xor dword [ebp - 0x2b0], 4
cmp dword [ebp - 0x2b8], 0x2d
jne 0x40f5c7
mov dword [ebp - 0x2bc], 0x47e2a4
mov dword [ebp - 0x2c0], 3
mov dword [ebp - 0x2b4], 0x20
jmp 0x40f359
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x11c]
push str.comment_tag
push str.Incorrect__s_at_offset__d
push eax
mov dword [ebp - 0x2bc], 0x47e230
mov dword [ebp - 0x2c0], 1
call fcn.00455f41
lea eax, [ebp - 0x11c]
jmp 0x40f669
test byte [ebp - 0x2b0], 8
je 0x40f687
push 8
pop eax
xor dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b8], 0x43
jne 0x40f639
mov dword [ebp - 0x2bc], 0x47e2c4
mov dword [ebp - 0x2c0], 3
mov dword [ebp - 0x2b4], eax
jmp 0x40f359
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x54]
push 0x47e124
push str.Incorrect__s_at_offset__d
push eax
mov dword [ebp - 0x2bc], 0x47e230
mov dword [ebp - 0x2c0], 1
call fcn.00455f41
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x2c8]
add esp, 0x10
push eax
add ecx, 0x10
call fcn.004039d0
or dword [ebp - 0x2b4], 0xffffffff
jmp 0x40f359
test byte [ebp - 0x2b0], 0x20
je 0x40f359
cmp dword [ebp - 0x2b8], 0x3c
jne 0x40f6a9
or dword [ebp - 0x2b0], 1
jmp 0x40f359
cmp dword [ebp - 0x2b8], 0x3e
jne 0x40f359
sub ebx, dword [edi + 0xc]
mov dword [ebp - 0x2b4], 0x40
sar ebx, 1
mov dword [ebp - 0x2c4], ebx
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2c8]
inc eax
mov dword [edi + 8], eax
sub eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044eff8
add ebp, 0x78
leave
ret
cmp dword [ebp - 0x2b8], 0x3c
jne 0x40f712
mov dword [ebp - 0x2b0], 1
jmp 0x40f359
push dword [ebp - 0x2b8]
mov dword [ebp - 0x2b4], 4
push str.__t_n_r
call fcn.00451545
pop ecx
pop ecx
test eax, eax
je 0x40f33b
mov dword [ebp - 0x2b0], 0x10
jmp 0x40f359
test eax, eax
jne 0x40f750
mov ecx, str.Element_end_tag
jmp 0x40f779
cmp eax, 8
jne 0x40f75c
mov ecx, str.CDATA_Section
jmp 0x40f779
cmp eax, 0x10
jne 0x40f768
mov ecx, str.Processing_instruction
jmp 0x40f779
cmp eax, 0x20
jne 0x40f779
mov ecx, str.Comment
jmp 0x40f779
mov ecx, str.Doctype
mov esi, dword [ebp - 0x2c8]
push dword [esi + 4]
or dword [ebp - 0x2b4], 0xffffffff
push ecx
lea eax, [ebp - 0x54]
push str._s_at_offset__d_unterminated
push eax
call fcn.00455f41
add esp, 0x10
lea eax, [ebp - 0x54]
push eax
lea ecx, [esi + 0x10]
call fcn.004039d0
jmp 0x40f6cb
sub ebx, dword [edi + 0xc]
sar ebx, 1
dec ebx
jmp 0x40f6c5
sub ebx, dword [edi + 0xc]
mov dword [ebp - 0x2b4], 4
sar ebx, 1
dec ebx
jmp 0x40f6c5