Function at 0x412030
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor edx, edx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 8]
mov dword [ecx + 4], esi
mov dword [ecx + 0xc], edx
mov ecx, dword [edi + 8]
mov esi, dword [edi + 0xc]
xor eax, eax
lea ecx, [esi + ecx*2]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
or ebx, 0xffffffff
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], ecx
nop
mov ecx, dword [ebp - 0xc]
movzx esi, word [ecx]
cmp esi, edx
jne 0x412113
sub ecx, dword [edi + 0xc]
sar ecx, 1
mov dword [edi + 8], ecx
mov ecx, dword [edi + 0x1c]
cmp ecx, edx
je 0x412740
mov edx, dword [ecx + 0xd4]
mov dword [ebp - 0x24], edx
call fcn.00411e90
test al, al
je 0x4120f8
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [edi + 8]
mov ecx, dword [ecx + 0xd4]
sub edx, eax
test ecx, ecx
je 0x4120d9
sub eax, ecx
cmp dword [ebp - 0x14], 0
mov dword [esi + 4], eax
je 0x4120cb
sub dword [ebp - 0x14], ecx
jmp 0x4120d6
cmp dword [ebp - 0x20], 0
je 0x4120d6
sub dword [edi], ecx
sub dword [edi + 4], ecx
sub dword [edi + 8], ecx
mov eax, dword [esi + 4]
add eax, edx
mov edx, dword [edi + 0x1c]
mov ecx, dword [edx + 0x58]
cmp dword [ecx + 0x14], 8
jb 0x4120ec
mov ecx, dword [ecx]
lea eax, [ecx + eax*2]
mov dword [edi + 0xc], ecx
movzx esi, word [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x412108
mov ecx, dword [edi + 0x1c]
mov dword [ecx + 0xd4], eax
mov eax, dword [ebp - 4]
test esi, esi
je 0x412740
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x412159
lea edx, [esi - 9]
cmp edx, 0x35
ja 0x41247f
movsx edx, byte [esi + 0x54497b]
test edx, edx
je 0x41247f
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
mov dword [edi], ecx
sar eax, 1
sub eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [eax + ecx - 1]
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
test edx, edx
je 0x4123d8
cmp esi, 0x3e
jne 0x412221
test al, 0xc0
jne 0x412238
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x10]
sar eax, 1
inc eax
mov dword [edi + 8], eax
cmp ecx, 1
jne 0x4121c7
xor edx, edx
mov dword [ebp - 8], edx
cmp ebx, ecx
jne 0x4121fc
cmp dword [ebp - 0x18], 0x2f
jne 0x4121fc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4121bb
test dword [ebp - 4], 0x200
je 0x4121bb
lea ecx, [eax - 9]
cmp ecx, 0x1e
ja 0x4121fc
movsx eax, byte [eax + 0x54495b]
test eax, eax
je 0x4121fc
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
jmp 0x4121fc
dec eax
cmp eax, ecx
jle 0x4121fc
mov esi, dword [ebp - 0xc]
lea eax, [ecx + ecx]
sub esi, eax
lea eax, [esi + 2]
mov esi, edx
mov dword [ebp - 0x24], ecx
sub esi, eax
dec dword [ebp - 0x24]
je 0x4121f7
mov cx, word [eax]
mov dx, word [esi + eax]
add eax, 2
cmp cx, dx
je 0x4121de
mov edx, dword [ebp - 8]
jmp 0x4121fc
xor edx, edx
mov dword [ebp - 8], edx
and dword [ebp - 4], 0xfffffdff
test edx, edx
jne 0x41247c
test byte [ebp - 4], 0x20
je 0x4126d8
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 2
jmp 0x412070
cmp esi, 0x3c
jne 0x412238
cmp ebx, 2
je 0x4127ef
cmp ebx, 0xffffffff
je 0x4127ef
test bl, 1
je 0x41238d
test eax, 0x2c0
je 0x4122d6
cmp esi, 0x22
jne 0x412271
test al, al
jns 0x412294
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x80
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412070
cmp esi, 0x27
jne 0x412294
test al, 0x40
je 0x412294
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x40
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412070
test eax, 0x200
je 0x412379
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x412379
movsx ecx, byte [esi + 0x544207]
test ecx, ecx
je 0x412379
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412070
cmp esi, 0x22
jne 0x412302
test eax, 0x100
je 0x412379
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x180
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412070
cmp esi, 0x27
jne 0x41232a
test eax, 0x100
je 0x412379
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x140
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412070
cmp esi, 0x3d
jne 0x412357
cmp dword [ebp - 0x18], esi
je 0x412357
test eax, 0x100
jne 0x41235e
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
xor eax, 0x100
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412070
test eax, 0x100
je 0x412379
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x412371
movsx ecx, byte [esi + 0x544207]
test ecx, ecx
jne 0x412379
xor eax, 0x300
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], 2
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
xor edx, edx
jmp 0x412070
test bl, 0x40
je 0x41247f
cmp esi, 0x22
jne 0x4123b6
test al, 0x40
jne 0x41247f
add dword [ebp - 0xc], 2
xor eax, 0x80
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412070
cmp esi, 0x27
jne 0x41247f
test al, al
js 0x41247f
add dword [ebp - 0xc], 2
xor eax, 0x40
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412070
test eax, eax
je 0x4126f1
test al, 0x10
je 0x412423
cmp esi, 0x3c
je 0x4127fc
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x412400
movsx ecx, byte [esi + 0x544207]
test ecx, ecx
jne 0x41247f
xor eax, 0x10
mov dword [ebp - 4], eax
mov ebx, 2
add dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0x5445c8
mov dword [ebp - 0x10], 1
xor edx, edx
jmp 0x412070
test al, 1
je 0x412521
mov ecx, 1
xor eax, ecx
mov dword [ebp - 4], eax
cmp esi, 0x60
ja 0x4124fc
cmp esi, 0x40
jbe 0x41244c
cmp esi, 0x5b
jb 0x4124fc
cmp esi, 0x5f
je 0x4124fc
cmp esi, 0x3a
je 0x4124fc
cmp esi, 0x2f
jne 0x41248a
mov dword [ebp - 8], 0x5445b4
mov dword [ebp - 0x10], ecx
xor ebx, ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
sar eax, 1
add eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 2
xor edx, edx
jmp 0x412070
cmp esi, 0x21
jne 0x4124a0
add dword [ebp - 0xc], 2
or eax, 2
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412070
cmp esi, 0x3f
jne 0x4124b8
mov dword [ebp - 8], 0x5445d4
mov dword [ebp - 0x10], 2
lea ebx, [esi - 0x2f]
jmp 0x41246f
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 - 0x10], ecx
mov dword [eax], str.first_tag_syntax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov dword [ebp - 8], 0x5445b4
call fcn.00411200
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 4]
add esp, 0x18
or ebx, 0xffffffff
xor edx, edx
jmp 0x412070
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
add dword [ebp - 0xc], 2
sar eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 0x5445b4
mov dword [ebp - 0x10], ecx
mov ebx, ecx
xor edx, edx
jmp 0x412070
test al, 2
je 0x4125f9
xor eax, 2
mov dword [ebp - 4], eax
cmp esi, 0x2d
jne 0x412545
add dword [ebp - 0xc], 2
or eax, 4
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412070
test al, 0x20
je 0x4125a0
lea edx, [esi - 0x41]
cmp edx, 0xd
ja 0x41257a
movsx ecx, byte [esi + 0x5448ef]
test ecx, ecx
je 0x41257a
add dword [ebp - 0xc], 2
mov dword [ebp - 8], 0x5445b4
mov dword [ebp - 0x10], 1
mov ebx, 0x40
xor edx, edx
jmp 0x412070
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 - 0x10], 1
mov dword [eax], str.doctype_tag_syntax
jmp 0x4124d5
cmp esi, 0x5b
jne 0x4125b6
add dword [ebp - 0xc], 2
or eax, 8
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412070
cmp esi, 0x44
jne 0x4125cc
add dword [ebp - 0xc], 2
or eax, 0x20
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412070
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
mov dword [ebp - 0x10], 1
push eax
jmp 0x4124dc
test al, 4
je 0x412651
xor eax, 4
mov dword [ebp - 4], eax
cmp esi, 0x2d
jne 0x412624
add dword [ebp - 0xc], 2
mov dword [ebp - 8], 0x5445cc
mov dword [ebp - 0x10], 3
lea ebx, [esi - 0xd]
xor edx, edx
jmp 0x412070
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
add edx, 0x10
mov dword [ebp - 0x10], 1
mov dword [eax], str.comment_tag_syntax
push edx
jmp 0x4124dc
test al, 8
je 0x4126a2
xor eax, 8
mov dword [ebp - 4], eax
cmp esi, 0x43
jne 0x41267c
add dword [ebp - 0xc], 2
mov dword [ebp - 8], 0x5445ac
mov dword [ebp - 0x10], 3
lea ebx, [esi - 0x3b]
xor edx, edx
jmp 0x412070
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 - 0x10], 1
mov dword [eax], str.cdata_section_syntax
jmp 0x4124d5
test al, 0x20
je 0x41247f
cmp esi, 0x3c
jne 0x4126c0
add dword [ebp - 0xc], 2
or eax, 1
mov dword [ebp - 4], eax
xor edx, edx
jmp 0x412070
cmp esi, 0x3e
jne 0x41247f
mov eax, dword [ebp - 0xc]
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x3c
jne 0x41270b
add dword [ebp - 0xc], 2
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
xor edx, edx
jmp 0x412070
lea edx, [esi - 9]
mov ebx, 4
cmp edx, 0x17
ja 0x412406
movsx ecx, byte [esi + 0x544207]
test ecx, ecx
je 0x412406
add dword [ebp - 0xc], 2
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 4]
xor edx, edx
jmp 0x412070
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
cmp dword [edi + 8], edx
jne 0x412766
pop edi
pop esi
mov dword [ecx + 8], 0
mov dword [ecx], 0
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 4
je 0x4126d8
cmp ebx, 2
je 0x4126d8
mov ecx, 0x54487c
test al, 0x20
jne 0x4127c1
cmp ebx, 0x40
je 0x4127c1
cmp ebx, 1
jne 0x412792
mov ecx, str.start_tag
jmp 0x4127c6
test ebx, ebx
jne 0x41279d
mov ecx, str.end_tag
jmp 0x4127c6
cmp ebx, 8
jne 0x4127a9
mov ecx, str.cdata_section
jmp 0x4127c6
cmp ebx, 0x10
jne 0x4127b5
mov ecx, str.processing_instruction
jmp 0x4127c6
cmp ebx, 0x20
jne 0x4127c6
mov ecx, str.comment
jmp 0x4127c6
mov ecx, str.document_type
or ebx, 0xffffffff
push ebx
push edx
push 2
push ecx
mov eax, esp
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], str.unterminated_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
call fcn.00411200
add esp, 0x18
jmp 0x4126d8
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
sar eax, 1
jmp 0x4126d5
mov eax, dword [ebp - 0xc]
sub eax, dword [edi + 0xc]
mov ebx, 4
sar eax, 1
jmp 0x4126d5