Function at 0x40a060
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x348
mov eax, dword [0x5e68f0]
xor eax, esp
mov dword [esp + 0x344], eax
mov eax, dword [ecx + 8]
push ebx
push ebp
push esi
mov esi, edx
xor edx, edx
mov dword [esi + 4], eax
mov dword [esi + 0xc], edx
mov eax, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x24], eax
lea eax, [ebp + eax*2]
movzx ebp, word [eax]
push edi
or ebx, 0xffffffff
xor edi, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
test bp, bp
jne 0x40a0cd
mov dword [esi + 8], edx
mov dword [esi], edx
lea eax, [edx - 2]
jmp 0x40a794
movzx ebp, bp
test ebp, ebp
je 0x40a463
test edi, edi
je 0x40a1b8
push ebp
push str.__t_n_r__
call fcn.0050d647
add esp, 8
test eax, eax
je 0x40a235
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub esi, dword [eax + 0xc]
sar esi, 1
sub esi, edi
test ebx, ebx
jne 0x40a117
lea ecx, [esi + edi - 1]
mov dword [eax], edi
mov dword [eax + 4], ecx
jmp 0x40a1aa
mov eax, dword [esp + 0x20]
add eax, 0x10
mov eax, dword [eax]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or edx, eax
jge 0x40a141
mov ecx, dword [esp + 0x20]
push esi
add ecx, 0x10
call fcn.004018a0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0xc]
lea ecx, [esi + esi]
push ecx
lea ecx, [eax + edi*2]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
add eax, 0x10
push ecx
push edx
call fcn.00512fb0
add esp, 0xc
mov eax, esi
cmp esi, 0xffffffff
jne 0x40a184
mov eax, dword [esp + 0x20]
add eax, 0x10
mov eax, dword [eax]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40a18c
push ecx
push eax
call fcn.0050ddbd
add esp, 8
test eax, eax
jl 0x40a846
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x10]
add ecx, 0x10
cmp eax, dword [edx - 8]
jg 0x40a846
mov dword [edx - 0xc], eax
mov ecx, dword [ecx]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x14], 0
je 0x40a3fd
cmp ebp, 0x3e
jne 0x40a2a3
test dl, 0xc0
jne 0x40a2ba
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sar eax, 1
mov dword [esp + 0x28], eax
cmp ecx, 1
jne 0x40a249
mov dword [esp + 0x14], 0
cmp ebx, ecx
jne 0x40a295
cmp dword [esp + 0x2c], 0x2f
jne 0x40a295
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40a228
push eax
push str.__t_n_r_
call fcn.0050d647
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x40a295
mov eax, dword [esp + 0x20]
or dword [eax + 0xc], 0x10000
jmp 0x40a295
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x1c], eax
jmp 0x40a450
cmp eax, ecx
jle 0x40a447
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea eax, [ecx + ecx]
sub esi, eax
lea eax, [esi + 2]
mov esi, ecx
mov ecx, dword [esp + 0x14]
sub ecx, eax
lea esp, [esp]
sub esi, 1
je 0x40a28d
mov dx, word [eax]
mov bp, word [ecx + eax]
add eax, 2
cmp dx, bp
mov edx, dword [esp + 0x10]
je 0x40a270
jmp 0x40a447
mov dword [esp + 0x14], 0
test dl, 0x20
je 0x40a77a
jmp 0x40a447
cmp ebp, 0x3c
jne 0x40a2ba
cmp ebx, 2
je 0x40a850
cmp ebx, 0xffffffff
je 0x40a850
test bl, 1
je 0x40a3d0
test dl, 0xc0
je 0x40a31a
cmp ebp, 0x22
jne 0x40a2f0
test dl, dl
jns 0x40a3c2
mov eax, dword [esp + 0x2c]
xor edx, 0x80
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
jmp 0x40a447
cmp ebp, 0x27
jne 0x40a3c2
test dl, 0x40
je 0x40a3c2
mov eax, dword [esp + 0x2c]
xor edx, 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
jmp 0x40a447
cmp ebp, 0x22
jne 0x40a346
test edx, 0x100
je 0x40a3c2
mov eax, dword [esp + 0x2c]
xor edx, 0x180
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
jmp 0x40a447
cmp ebp, 0x27
jne 0x40a36e
test edx, 0x100
je 0x40a3c2
mov eax, dword [esp + 0x2c]
xor edx, 0x140
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
jmp 0x40a447
cmp ebp, 0x3d
jne 0x40a39c
cmp dword [esp + 0x2c], ebp
je 0x40a39c
test edx, 0x100
jne 0x40a3a4
mov eax, dword [esp + 0x2c]
xor edx, 0x100
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
jmp 0x40a447
test edx, 0x100
je 0x40a3c2
push ebp
push str.__t_n_r
call fcn.0050d647
add esp, 8
test eax, eax
jne 0x40a3be
xor dword [esp + 0x10], 0x100
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
jmp 0x40a447
test bl, 0x40
je 0x40a447
cmp ebp, 0x22
jne 0x40a3eb
test dl, 0x40
jne 0x40a447
xor edx, 0x80
mov dword [esp + 0x10], edx
jmp 0x40a447
cmp ebp, 0x27
jne 0x40a447
test dl, dl
js 0x40a447
xor edx, 0x40
mov dword [esp + 0x10], edx
jmp 0x40a447
test edx, edx
je 0x40a7ad
test dl, 0x10
je 0x40a4a9
cmp ebp, 0x3c
je 0x40a863
push ebp
push str.__t_n_r
call fcn.0050d647
add esp, 8
test eax, eax
jne 0x40a443
xor dword [esp + 0x10], 0x10
mov ebx, 2
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0x5c014c
mov edx, dword [esp + 0x10]
add dword [esp + 0x1c], 2
mov eax, dword [esp + 0x1c]
movzx ebp, word [eax]
test ebp, ebp
jne 0x40a0d8
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub eax, dword [ecx + 0xc]
sar eax, 1
dec eax
mov dword [esp + 0x28], eax
cmp ebx, 4
je 0x40a77a
cmp ebx, 2
je 0x40a77a
mov eax, 0x5c0044
test dl, 0x20
jne 0x40a816
cmp ebx, 0x40
je 0x40a816
cmp ebx, 1
jne 0x40a7e7
mov eax, str.Element_tag
jmp 0x40a81b
test dl, 1
je 0x40a5b0
mov eax, 1
xor edx, eax
mov dword [esp + 0x10], edx
cmp ebp, 0x60
ja 0x40a590
cmp ebp, 0x40
jbe 0x40a4d4
cmp ebp, 0x5b
jb 0x40a590
cmp ebp, 0x5f
je 0x40a590
cmp ebp, 0x3a
je 0x40a590
cmp ebp, 0x2f
jne 0x40a50d
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub edi, dword [ecx + 0xc]
xor ebx, ebx
sar edi, 1
mov dword [esp + 0x14], 0x5c0150
mov dword [esp + 0x18], eax
add edi, eax
jmp 0x40a447
cmp ebp, 0x21
jne 0x40a51e
or edx, 2
mov dword [esp + 0x10], edx
jmp 0x40a447
cmp ebp, 0x3f
jne 0x40a54a
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub edi, dword [ecx + 0xc]
mov dword [esp + 0x14], 0x5bfe3c
sar edi, 1
mov dword [esp + 0x18], 2
lea ebx, [ebp - 0x2f]
add edi, eax
jmp 0x40a447
mov edx, dword [esp + 0x28]
push edx
push 0x5c0154
push str.Incorrect__s_at_offset__d
lea edx, [esp + 0x108]
mov dword [esp + 0x20], 0x5c0150
mov dword [esp + 0x24], eax
call fcn.0040b630
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0xfc]
push eax
add ecx, 0x10
call fcn.00407cf0
or ebx, 0xffffffff
jmp 0x40a443
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub edi, dword [ecx + 0xc]
mov dword [esp + 0x14], 0x5c0150
mov dword [esp + 0x18], eax
mov ebx, eax
sar edi, 1
jmp 0x40a447
test dl, 2
je 0x40a663
xor edx, 2
mov dword [esp + 0x10], edx
cmp ebp, 0x2d
jne 0x40a5d1
or edx, 4
mov dword [esp + 0x10], edx
jmp 0x40a447
cmp ebp, 0x5b
jne 0x40a5e7
test dl, 0x20
jne 0x40a5fd
or edx, 8
mov dword [esp + 0x10], edx
jmp 0x40a447
cmp ebp, 0x44
jne 0x40a5fd
test dl, 0x20
jne 0x40a5fd
or edx, 0x20
mov dword [esp + 0x10], edx
jmp 0x40a447
push ebp
push 0x5c01b0
call fcn.0050d647
add esp, 8
mov dword [esp + 0x14], 0x5c0150
mov dword [esp + 0x18], 1
test eax, eax
je 0x40a629
mov ebx, 0x40
jmp 0x40a443
mov edx, dword [esp + 0x28]
push edx
push str.__tag
push str.Incorrect__s_at_offset__d
lea edx, [esp + 0x298]
call fcn.0040b630
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x28c]
push eax
add ecx, 0x10
call fcn.00407cf0
or ebx, 0xffffffff
jmp 0x40a443
test dl, 4
je 0x40a6d6
xor edx, 4
mov dword [esp + 0x10], edx
cmp ebp, 0x2d
jne 0x40a68c
mov dword [esp + 0x14], 0x5c01c4
mov dword [esp + 0x18], 3
lea ebx, [ebp - 0xd]
jmp 0x40a447
mov ecx, dword [esp + 0x28]
push ecx
push str.comment_tag
push str.Incorrect__s_at_offset__d
lea edx, [esp + 0x1d0]
mov dword [esp + 0x20], 0x5c0150
mov dword [esp + 0x24], 1
call fcn.0040b630
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x1c4]
push edx
add ecx, 0x10
call fcn.00407cf0
or ebx, 0xffffffff
jmp 0x40a443
test dl, 8
je 0x40a743
xor edx, 8
mov dword [esp + 0x10], edx
cmp ebp, 0x43
jne 0x40a6ff
mov dword [esp + 0x14], 0x5c01e4
mov dword [esp + 0x18], 3
lea ebx, [ebp - 0x3b]
jmp 0x40a447
mov eax, dword [esp + 0x28]
push eax
push 0x5c0044
push str.Incorrect__s_at_offset__d
lea edx, [esp + 0x40]
mov dword [esp + 0x20], 0x5c0150
mov dword [esp + 0x24], 1
call fcn.0040b630
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
add ecx, 0x10
call fcn.00407cf0
or ebx, 0xffffffff
jmp 0x40a443
test dl, 0x20
je 0x40a447
cmp ebp, 0x3c
jne 0x40a75d
or edx, 1
mov dword [esp + 0x10], edx
jmp 0x40a447
cmp ebp, 0x3e
jne 0x40a447
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub eax, dword [ecx + 0xc]
lea ebx, [ebp + 2]
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
inc eax
mov dword [edx + 8], eax
sub eax, dword [ecx + 4]
mov dword [ecx], ebx
mov dword [ecx + 8], eax
mov eax, ebx
mov ecx, dword [esp + 0x354]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050c2f2
add esp, 0x348
ret
cmp ebp, 0x3c
jne 0x40a7bf
mov dword [esp + 0x10], 1
jmp 0x40a443
push ebp
push str.__t_n_r
mov ebx, 4
call fcn.0050d647
add esp, 8
test eax, eax
je 0x40a42e
mov dword [esp + 0x10], 0x10
jmp 0x40a443
test ebx, ebx
jne 0x40a7f2
mov eax, str.Element_end_tag
jmp 0x40a81b
cmp ebx, 8
jne 0x40a7fe
mov eax, str.CDATA_Section
jmp 0x40a81b
cmp ebx, 0x10
jne 0x40a80a
mov eax, str.Processing_instruction
jmp 0x40a81b
cmp ebx, 0x20
jne 0x40a81b
mov eax, 0x5c00e0
jmp 0x40a81b
mov eax, str.Doctype
mov edx, dword [esi + 4]
push edx
push eax
push str._s_at_offset__d_unterminated
lea edx, [esp + 0x40]
or ebx, 0xffffffff
call fcn.0040b630
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea ecx, [esi + 0x10]
call fcn.00407cf0
jmp 0x40a77a
push 0x80070057
call fcn.00401920
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub eax, dword [ecx + 0xc]
sar eax, 1
dec eax
jmp 0x40a776
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
sub eax, dword [edx + 0xc]
mov ebx, 4
sar eax, 1
dec eax
jmp 0x40a776