Function at 0x411730
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
xor eax, eax
or edx, 0xffffffff
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x20], eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
push edi
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], ebx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
lea edi, [eax + ecx*2]
nop dword [eax]
movzx esi, word [edi]
test esi, esi
jne 0x411845
mov esi, dword [esp + 0x18]
sub edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
sar edi, 1
mov dword [esi + 8], edi
test ecx, ecx
je 0x41181b
mov edi, dword [ecx + 0xa4]
call fcn.004110f0
test al, al
je 0x411817
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov eax, dword [edx + 8]
mov esi, dword [esi + 4]
sub eax, esi
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 0xa4]
sub ecx, edi
je 0x4117f4
mov eax, dword [ebp + 8]
sub esi, ecx
mov dword [eax + 4], esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4117e5
sub eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x4117f1
cmp dword [esp + 0x24], 0
je 0x4117f1
sub dword [edx], ecx
sub dword [edx + 4], ecx
sub dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x1c]
add ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
lea edi, [eax + ecx*2]
mov dword [edx + 0xc], eax
movzx esi, word [edi]
test esi, esi
jne 0x411849
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
cmp dword [esi + 8], edi
jne 0x411e2e
mov dword [ecx + 8], 0
mov eax, 0xfffffffe
mov dword [ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0
je 0x41189d
push esi
push str.__t_n_r__
call fcn.0055d757
add esp, 8
test eax, eax
je 0x411891
mov edx, dword [esp + 0x18]
mov eax, edi
mov ecx, dword [esp + 0x1c]
sub eax, dword [edx + 0xc]
sar eax, 1
mov dword [esp + 0x24], eax
dec eax
sub dword [esp + 0x24], ecx
mov dword [edx], ecx
xor ecx, ecx
mov dword [edx + 4], eax
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
jmp 0x4118a1
mov edx, dword [esp + 0xc]
add edi, 2
jmp 0x411780
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x10], 0
je 0x411aed
cmp esi, 0x3e
jne 0x411971
test bl, 0xc0
jne 0x411995
mov ecx, dword [esp + 0x14]
mov eax, edi
sub eax, dword [edx + 0xc]
sar eax, 1
inc eax
mov dword [edx + 8], eax
cmp ecx, 1
jne 0x41190d
mov dword [esp + 0x10], 0
cmp dword [esp + 0xc], ecx
jne 0x41195c
cmp dword [esp + 0x20], 0x2f
jne 0x41195c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x411901
push eax
push str.__t_n_r_
call fcn.0055d757
add esp, 8
test eax, eax
je 0x41195c
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
jmp 0x41195c
dec eax
cmp eax, ecx
jle 0x411e22
mov esi, dword [esp + 0x14]
lea eax, [ecx + ecx]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x10]
lea edx, [ecx + 2]
sub eax, edx
mov dword [esp + 0x2c], eax
nop
sub esi, 1
je 0x411954
mov ax, word [eax + edx]
mov cx, word [edx]
add edx, 2
cmp cx, ax
mov eax, dword [esp + 0x2c]
je 0x411930
mov edx, dword [esp + 0xc]
add edi, 2
jmp 0x411780
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0xc]
test bl, 0x20
je 0x411dcd
add edi, 2
jmp 0x411780
mov edx, dword [esp + 0xc]
cmp esi, 0x3c
jne 0x411999
cmp edx, 2
je 0x411984
cmp edx, 0xffffffff
jne 0x411999
mov esi, dword [esp + 0x18]
sub edi, dword [esi + 0xc]
sar edi, 1
mov dword [esi + 8], edi
jmp 0x411dd1
mov edx, dword [esp + 0xc]
test dl, 1
je 0x411aac
test bl, 0xc0
je 0x4119f7
cmp esi, 0x22
jne 0x4119ce
test bl, bl
jns 0x411a98
mov eax, dword [esp + 0x20]
xor ebx, 0x80
mov dword [esp + 0x28], eax
add edi, 2
mov dword [esp + 0x20], esi
jmp 0x411780
cmp esi, 0x27
jne 0x411a98
test bl, 0x40
je 0x411a98
mov eax, dword [esp + 0x20]
xor ebx, 0x40
mov dword [esp + 0x28], eax
add edi, 2
mov dword [esp + 0x20], esi
jmp 0x411780
cmp esi, 0x22
jne 0x411a22
test ebx, 0x100
je 0x411a98
mov eax, dword [esp + 0x20]
xor ebx, 0x180
mov dword [esp + 0x28], eax
add edi, 2
mov dword [esp + 0x20], esi
jmp 0x411780
cmp esi, 0x27
jne 0x411a49
test ebx, 0x100
je 0x411a98
mov eax, dword [esp + 0x20]
xor ebx, 0x140
mov dword [esp + 0x28], eax
add edi, 2
mov dword [esp + 0x20], esi
jmp 0x411780
cmp esi, 0x3d
jne 0x411a74
cmp eax, esi
je 0x411a74
test ebx, 0x100
jne 0x411a7c
mov eax, dword [esp + 0x20]
xor ebx, 0x100
mov dword [esp + 0x28], eax
add edi, 2
mov dword [esp + 0x20], esi
jmp 0x411780
test ebx, 0x100
je 0x411a98
push esi
push str.__t_n_r
call fcn.0055d757
mov edx, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x411a98
xor ebx, 0x100
mov eax, dword [esp + 0x20]
add edi, 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
jmp 0x411780
test dl, 0x40
je 0x411e26
cmp esi, 0x22
jne 0x411ad1
test bl, 0x40
jne 0x411e26
xor ebx, 0x80
add edi, 2
jmp 0x411780
cmp esi, 0x27
jne 0x411e26
test bl, bl
js 0x411e26
xor ebx, 0x40
add edi, 2
jmp 0x411780
test ebx, ebx
je 0x411dea
test bl, 0x10
je 0x411b3c
cmp esi, 0x3c
je 0x411eb3
push esi
push str.__t_n_r
call fcn.0055d757
add esp, 8
test eax, eax
jne 0x411e22
xor ebx, 0x10
mov edx, 2
mov dword [esp + 0x10], 0x5c5c74
mov dword [esp + 0x14], 1
add edi, edx
mov dword [esp + 0xc], edx
jmp 0x411780
test bl, 1
je 0x411c1c
xor ebx, 1
cmp esi, 0x60
ja 0x411bec
cmp esi, 0x40
jbe 0x411b5f
cmp esi, 0x5b
jb 0x411bec
cmp esi, 0x5f
je 0x411bec
cmp esi, 0x3a
je 0x411bec
cmp esi, 0x2f
jne 0x411b86
mov dword [esp + 0x10], 0x5c5c78
xor edx, edx
mov dword [esp + 0x14], 1
jmp 0x411bb4
cmp esi, 0x21
jne 0x411b9a
mov edx, dword [esp + 0xc]
or ebx, 2
add edi, 2
jmp 0x411780
cmp esi, 0x3f
jne 0x411bd0
mov dword [esp + 0x10], 0x5c5c7c
mov edx, 0x10
mov dword [esp + 0x14], 2
mov esi, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0xc], edx
sub eax, dword [esi + 0xc]
sar eax, 1
inc eax
add edi, 2
mov dword [esp + 0x1c], eax
jmp 0x411780
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.first_tag_syntax
jmp 0x411d74
mov esi, dword [esp + 0x18]
mov eax, edi
mov edx, 1
mov dword [esp + 0x10], 0x5c5c78
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], edx
sub eax, dword [esi + 0xc]
sar eax, 1
add edi, 2
mov dword [esp + 0x1c], eax
jmp 0x411780
test bl, 2
je 0x411ce8
xor ebx, 2
cmp esi, 0x2d
jne 0x411c3c
mov edx, dword [esp + 0xc]
or ebx, 4
add edi, 2
jmp 0x411780
test bl, 0x20
je 0x411ca4
push esi
push 0x5c5ca8
call fcn.0055d757
add esp, 8
test eax, eax
je 0x411c5a
mov edx, 0x40
jmp 0x411c88
mov esi, dword [esp + 0x18]
xor edx, edx
push 0xffffffffffffffff
push dword [esi + 8]
push ecx
mov eax, esp
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.doctype_tag_syntax
call fcn.0040eba0
add esp, 0x10
or edx, 0xffffffff
mov dword [esp + 0xc], edx
add edi, 2
mov dword [esp + 0x10], 0x5c5c78
mov dword [esp + 0x14], 1
jmp 0x411780
cmp esi, 0x5b
jne 0x411cb8
mov edx, dword [esp + 0xc]
or ebx, 8
add edi, 2
jmp 0x411780
cmp esi, 0x44
jne 0x411ccc
mov edx, dword [esp + 0xc]
or ebx, 0x20
add edi, 2
jmp 0x411780
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.exclamation_tag_syntax
jmp 0x411d74
test bl, 4
je 0x411d2f
xor ebx, 4
cmp esi, 0x2d
jne 0x411d16
mov edx, 0x20
mov dword [esp + 0x10], 0x5c5d08
mov dword [esp + 0x14], 3
add edi, 2
mov dword [esp + 0xc], edx
jmp 0x411780
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.comment_tag_syntax
jmp 0x411d74
test bl, 8
je 0x411da3
xor ebx, 8
cmp esi, 0x43
jne 0x411d5d
mov edx, 8
mov dword [esp + 0x10], 0x5c5d38
mov dword [esp + 0x14], 3
add edi, 2
mov dword [esp + 0xc], edx
jmp 0x411780
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.cdata_section_syntax
mov ecx, dword [ebp + 8]
xor edx, edx
add ecx, 0x10
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x5c5c78
call fcn.0040eba0
or edx, 0xffffffff
add esp, 0x10
mov dword [esp + 0xc], edx
add edi, 2
jmp 0x411780
test bl, 0x20
je 0x411e22
cmp esi, 0x3c
jne 0x411dbc
mov edx, dword [esp + 0xc]
or ebx, 1
add edi, 2
jmp 0x411780
cmp esi, 0x3e
jne 0x411e22
sub edi, dword [edx + 0xc]
sar edi, 1
inc edi
mov dword [edx + 8], edi
lea edx, [esi + 2]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
pop edi
pop esi
sub ecx, dword [eax + 4]
mov dword [eax + 8], ecx
mov dword [eax], edx
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x3c
jne 0x411dfe
mov edx, dword [esp + 0xc]
lea ebx, [esi - 0x3b]
add edi, 2
jmp 0x411780
mov eax, 4
push esi
push str.__t_n_r
mov dword [esp + 0x14], eax
call fcn.0055d757
add esp, 8
test eax, eax
je 0x411b1c
mov ebx, 0x10
mov edx, dword [esp + 0xc]
add edi, 2
jmp 0x411780
cmp edx, 4
je 0x411dd1
cmp edx, 2
je 0x411dd1
mov ecx, 0x5c5b80
test bl, 0x20
jne 0x411e82
cmp edx, 0x40
je 0x411e82
cmp edx, 1
jne 0x411e53
mov ecx, str.start_tag
jmp 0x411e87
test edx, edx
jne 0x411e5e
mov ecx, str.end_tag
jmp 0x411e87
cmp edx, 8
jne 0x411e6a
mov ecx, str.cdata_section
jmp 0x411e87
cmp edx, 0x10
jne 0x411e76
mov ecx, str.processing_instruction
jmp 0x411e87
cmp edx, 0x20
jne 0x411e87
mov ecx, str.comment
jmp 0x411e87
mov ecx, str.document_type
push 0xffffffffffffffff
push edi
push ecx
mov eax, esp
mov edx, 2
push ecx
mov dword [eax], ecx
mov eax, esp
mov ecx, dword [ebp + 8]
mov dword [eax], str.unterminated_tag_syntax
lea ecx, [ecx + 0x10]
call fcn.0040eba0
add esp, 0x10
or edx, 0xffffffff
jmp 0x411dd1
sub edi, dword [edx + 0xc]
sar edi, 1
mov dword [edx + 8], edi
mov edx, 4
jmp 0x411dcd