Function at 0x4097b0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov edx, dword [edi + 8]
xor ecx, ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
push ebx
push esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
or ebx, 0xffffffff
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
lea ebx, [ebx]
movzx esi, word [eax]
cmp esi, ecx
jne 0x40987c
sub eax, dword [edi + 0xc]
mov esi, dword [edi + 0x1c]
sar eax, 1
mov dword [edi + 8], eax
cmp esi, ecx
je 0x409ed0
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x24], eax
call fcn.00409120
test al, al
je 0x409ed0
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 8]
mov eax, dword [eax + 0xa4]
sub edx, ecx
sub eax, dword [ebp - 0x24]
je 0x40985b
sub ecx, eax
cmp dword [ebp - 0x14], 0
mov dword [esi + 4], ecx
je 0x40984d
sub dword [ebp - 0x14], eax
jmp 0x409858
cmp dword [ebp - 0x20], 0
je 0x409858
sub dword [edi], eax
sub dword [edi + 4], eax
sub dword [edi + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x28]
mov ecx, dword [ecx]
add eax, edx
lea eax, [ecx + eax*2]
mov dword [edi + 0xc], ecx
movzx esi, word [eax]
mov dword [ebp - 0x10], eax
test esi, esi
je 0x409ed0
cmp dword [ebp - 0x14], 0
je 0x4098c9
push esi
push str.__t_n_r__
call fcn.0041fd3d
add esp, 8
test eax, eax
je 0x4098bc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub eax, dword [edi + 0xc]
mov dword [edi], edx
sar eax, 1
sub eax, edx
lea edx, [eax + edx - 1]
mov dword [edi + 4], edx
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
jmp 0x4098ce
mov eax, dword [ebp - 0x10]
add eax, 2
xor ecx, ecx
jmp 0x4097e7
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp dword [ebp - 8], edx
je 0x409b14
cmp esi, 0x3e
jne 0x409991
mov eax, dword [ebp - 4]
test al, 0xc0
jne 0x4099ab
sub ecx, dword [edi + 0xc]
sar ecx, 1
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 8], eax
cmp ecx, 1
jne 0x409931
mov dword [ebp - 8], edx
cmp ebx, ecx
jne 0x409979
cmp dword [ebp - 0x18], 0x2f
jne 0x409979
cmp dword [ebp - 0x1c], edx
je 0x409925
mov eax, dword [ebp - 0x1c]
push eax
push str.__t_n_r_
call fcn.0041fd3d
add esp, 8
test eax, eax
je 0x409979
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
jmp 0x409979
dec eax
cmp eax, ecx
jle 0x409b55
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
lea edx, [ecx + ecx]
sub eax, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 8]
add eax, 2
sub ecx, eax
dec dword [ebp - 0x24]
je 0x409972
mov dx, word [eax]
mov si, word [ecx + eax]
add eax, 2
cmp dx, si
je 0x409950
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
mov dword [ebp - 8], 0
test byte [ebp - 4], 0x20
je 0x409e6e
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x3c
jne 0x4099a8
cmp ebx, 2
je 0x409f80
cmp ebx, 0xffffffff
je 0x409f80
mov eax, dword [ebp - 4]
test bl, 1
je 0x409ad3
test al, 0xc0
je 0x409a12
cmp esi, 0x22
jne 0x4099e4
test al, al
jns 0x409abc
add dword [ebp - 0x10], 2
xor eax, 0x80
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x27
jne 0x409abc
test al, 0x40
je 0x409abc
add dword [ebp - 0x10], 2
xor eax, 0x40
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x22
jne 0x409a41
test eax, 0x100
je 0x409abc
add dword [ebp - 0x10], 2
xor eax, 0x180
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x27
jne 0x409a6c
test eax, 0x100
je 0x409abc
add dword [ebp - 0x10], 2
xor eax, 0x140
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x3d
jne 0x409a9c
cmp dword [ebp - 0x18], esi
je 0x409a9c
test eax, 0x100
jne 0x409aa3
add dword [ebp - 0x10], 2
xor eax, 0x100
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
xor ecx, ecx
jmp 0x4097f0
test eax, 0x100
je 0x409abc
push esi
push str.__t_n_r
call fcn.0041fd3d
add esp, 8
test eax, eax
jne 0x409abc
xor dword [ebp - 4], 0x100
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
xor ecx, ecx
jmp 0x4097f0
test bl, 0x40
je 0x409b55
cmp esi, 0x22
jne 0x409af7
test al, 0x40
jne 0x409b55
add dword [ebp - 0x10], 2
xor eax, 0x80
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x27
jne 0x409b55
test al, al
js 0x409b55
add dword [ebp - 0x10], 2
xor eax, 0x40
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
mov eax, dword [ebp - 4]
cmp eax, edx
je 0x409e86
test al, 0x10
je 0x409b63
cmp esi, 0x3c
je 0x409f8d
push esi
push str.__t_n_r
call fcn.0041fd3d
add esp, 8
test eax, eax
jne 0x409b55
xor dword [ebp - 4], 0x10
mov ebx, 2
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x43ff34
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
test al, 1
je 0x409c52
mov edx, 1
xor dword [ebp - 4], edx
cmp esi, 0x60
ja 0x409c30
cmp esi, 0x40
jbe 0x409b8a
cmp esi, 0x5b
jb 0x409c30
cmp esi, 0x5f
je 0x409c30
cmp esi, 0x3a
je 0x409c30
cmp esi, 0x2f
jne 0x409bc7
add dword [ebp - 0x10], 2
mov eax, ecx
sub eax, dword [edi + 0xc]
xor ebx, ebx
sar eax, 1
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], 0x43ff38
mov dword [ebp - 0xc], edx
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x21
jne 0x409bde
add dword [ebp - 0x10], 2
or dword [ebp - 4], 2
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x3f
jne 0x409c0e
add dword [ebp - 0x10], 2
mov eax, ecx
sub eax, dword [edi + 0xc]
mov dword [ebp - 8], 0x43ff3c
sar eax, 1
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], 2
lea ebx, [esi - 0x2f]
xor ecx, ecx
jmp 0x4097f0
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [ebp - 0xc], edx
mov dword [eax], str.first_tag_syntax
jmp 0x409d98
sub ecx, dword [edi + 0xc]
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
sar ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0x43ff38
mov dword [ebp - 0xc], edx
mov ebx, edx
xor ecx, ecx
jmp 0x4097f0
test al, 2
je 0x409d49
xor eax, 2
mov dword [ebp - 4], eax
cmp esi, 0x2d
jne 0x409c79
add dword [ebp - 0x10], 2
or eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
test al, 0x20
je 0x409ccf
push esi
push 0x43ff68
call fcn.0041fd3d
add esp, 8
mov dword [ebp - 8], 0x43ff38
mov dword [ebp - 0xc], 1
test eax, eax
je 0x409cb0
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov ebx, 0x40
xor ecx, ecx
jmp 0x4097f0
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.doctype_tag_syntax
jmp 0x409e15
cmp esi, 0x5b
jne 0x409ce8
add dword [ebp - 0x10], 2
or eax, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x44
jne 0x409d01
add dword [ebp - 0x10], 2
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
mov edx, dword [edi + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.exclamation_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov dword [ebp - 8], 0x43ff38
mov dword [ebp - 0xc], 1
call fcn.00406570
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
add esp, 0x18
or ebx, 0xffffffff
xor ecx, ecx
jmp 0x4097f0
test al, 4
je 0x409dbf
xor eax, 4
mov dword [ebp - 4], eax
cmp esi, 0x2d
jne 0x409d77
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], 0x43ffc8
mov dword [ebp - 0xc], 3
lea ebx, [esi - 0xd]
xor ecx, ecx
jmp 0x4097f0
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [ebp - 0xc], 1
mov dword [eax], str.comment_tag_syntax
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
mov dword [ebp - 8], 0x43ff38
call fcn.00406570
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
add esp, 0x18
or ebx, 0xffffffff
xor ecx, ecx
jmp 0x4097f0
test al, 8
je 0x409e35
xor eax, 8
mov dword [ebp - 4], eax
cmp esi, 0x43
jne 0x409ded
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], 0x43fff8
mov dword [ebp - 0xc], 3
lea ebx, [esi - 0x3b]
xor ecx, ecx
jmp 0x4097f0
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [ebp - 8], 0x43ff38
mov dword [ebp - 0xc], 1
mov dword [eax], str.cdata_section_syntax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
call fcn.00406570
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
add esp, 0x18
or ebx, 0xffffffff
xor ecx, ecx
jmp 0x4097f0
test al, 0x20
je 0x409b55
cmp esi, 0x3c
jne 0x409e56
add dword [ebp - 0x10], 2
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
jmp 0x4097f0
cmp esi, 0x3e
jne 0x409b55
mov eax, dword [ebp - 0x10]
sub eax, dword [edi + 0xc]
lea ebx, [esi + 2]
sar eax, 1
inc eax
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
sub ecx, dword [eax + 4]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x3c
jne 0x409ea0
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
xor ecx, ecx
jmp 0x4097f0
push esi
push str.__t_n_r
mov ebx, 4
call fcn.0041fd3d
add esp, 8
test eax, eax
je 0x409b42
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0x10
xor ecx, ecx
jmp 0x4097f0
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
cmp dword [edi + 8], esi
jne 0x409ef5
pop esi
mov dword [eax + 8], 0
mov dword [eax], 0
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 4
je 0x409e6e
cmp ebx, 2
je 0x409e6e
test byte [ebp - 4], 0x20
mov ecx, 0x43fe40
jne 0x409f52
cmp ebx, 0x40
je 0x409f52
cmp ebx, 1
jne 0x409f23
mov ecx, str.start_tag
jmp 0x409f57
test ebx, ebx
jne 0x409f2e
mov ecx, str.end_tag
jmp 0x409f57
cmp ebx, 8
jne 0x409f3a
mov ecx, str.cdata_section
jmp 0x409f57
cmp ebx, 0x10
jne 0x409f46
mov ecx, str.processing_instruction
jmp 0x409f57
cmp ebx, 0x20
jne 0x409f57
mov ecx, str.comment
jmp 0x409f57
mov ecx, str.document_type
mov edx, dword [ebp + 8]
or ebx, 0xffffffff
push ebx
push esi
push 2
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
add edx, 0x10
push edx
mov dword [eax], str.unterminated_tag_syntax
call fcn.00406570
add esp, 0x18
jmp 0x409e6e
sub ecx, dword [edi + 0xc]
sar ecx, 1
mov dword [edi + 8], ecx
jmp 0x409e6e
sub ecx, dword [edi + 0xc]
mov ebx, 4
sar ecx, 1
mov dword [edi + 8], ecx
jmp 0x409e6e