Function at 0x40a370
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
cmp dword [esi + 0x4c], 0xffffffff
je 0x40a8bc
nop word [eax + eax]
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x40a8bc
cmp eax, 0x29
jne 0x40a3b8
cmp dword [esi + 0x10], 0
jne 0x40a8bc
test dword [esi + 0x50], 0x10000000
je 0x40a8c5
cmp eax, 0x2e
jne 0x40a46f
push 0x14
call fcn.0043c7ea
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 5
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40a40e
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40a463
cmp word [eax], 0x5c
jne 0x40a460
add eax, 2
cmp eax, ecx
je 0x40a458
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40a442
movzx edx, word [eax]
cmp edx, 0x28
je 0x40a454
cmp edx, 0x29
je 0x40a454
test cl, 0x10
jne 0x40a458
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x40a454
cmp ecx, 0x7d
jne 0x40a458
mov cl, 1
jmp 0x40a45a
xor cl, cl
test cl, cl
je 0x40a460
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.00408e10
jmp 0x40a8a9
cmp eax, 0x5c
jne 0x40a571
mov ecx, esi
call fcn.0040a320
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x40a4f2
cmp word [esi + 0x48], 0x62
jne 0x40a4f2
push 0x14
call fcn.0043c7ea
mov ecx, eax
mov dword [ecx + 4], 4
mov dword [ecx], vtable.std::_Node_base.0
add esp, 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40a4dd
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov ecx, esi
call fcn.0040a320
jmp 0x40a8b0
test eax, eax
je 0x40a565
cmp word [esi + 0x48], 0x42
jne 0x40a565
push 0x14
call fcn.0043c7ea
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40a54a
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov eax, ecx
mov dword [esi + 0x28], ecx
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040a320
jmp 0x40a8b0
mov ecx, esi
call fcn.0040be10
jmp 0x40a8a9
cmp eax, 0x5b
jne 0x40a6c1
mov ecx, esi
call fcn.0040a320
lea ecx, [esi + 0x24]
call fcn.0040cfe0
cmp dword [esi + 0x4c], 0x5e
jne 0x40a5e9
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40a5e2
cmp word [eax], 0x5c
jne 0x40a5df
add eax, 2
cmp eax, ecx
je 0x40a5d7
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40a5c1
movzx edx, word [eax]
cmp edx, 0x28
je 0x40a5d3
cmp edx, 0x29
je 0x40a5d3
test cl, 0x10
jne 0x40a5d7
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x40a5d3
cmp ecx, 0x7d
jne 0x40a5d7
mov cl, 1
jmp 0x40a5d9
xor cl, cl
test cl, cl
je 0x40a5df
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.00408e10
test dword [esi + 0x50], 0x20000000
je 0x40a658
cmp dword [esi + 0x4c], 0x5d
jne 0x40a658
mov eax, dword [esi + 0x2c]
mov ebx, 0x5d
and eax, 0x100
je 0x40a616
mov eax, dword [esi + 0x30]
push ebx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
movzx ebx, ax
mov edi, dword [esi + 0x28]
cmp dword [edi + 0x18], 0
jne 0x40a639
push 0x20
call fcn.0043c7ea
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 0x18]
movzx edx, bx
mov eax, edx
and edx, 7
shr eax, 3
add ecx, eax
movzx eax, byte [ecx]
bts eax, edx
mov byte [ecx], al
mov ecx, esi
call fcn.0040a320
mov ecx, esi
call fcn.0040ca40
cmp dword [esi + 0x4c], 0x5d
jne 0x40a8cc
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40a6b5
cmp word [eax], 0x5c
jne 0x40a6b2
add eax, 2
cmp eax, ecx
je 0x40a6aa
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40a694
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x40a6a6
cmp ecx, 0x29
je 0x40a6a6
test dl, 0x10
jne 0x40a6aa
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x40a6a6
cmp ecx, 0x7d
jne 0x40a6aa
mov cl, 1
jmp 0x40a6ac
xor cl, cl
test cl, cl
je 0x40a6b2
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.00408e10
jmp 0x40a8a9
cmp eax, 0x28
jne 0x40a831
mov ecx, esi
call fcn.0040a320
inc dword [esi + 0x10]
mov eax, dword [esi + 0x50]
test eax, 0x8000000
jne 0x40a6e8
cmp dword [esi + 0x4c], 0x29
je 0x40a8c5
test al, 0x20
je 0x40a759
cmp dword [esi + 0x4c], 0x3f
jne 0x40a759
mov ecx, esi
call fcn.0040a320
mov edi, dword [esi + 0x4c]
mov ecx, esi
call fcn.0040a320
cmp edi, 0x3a
jne 0x40a728
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.0040a930
mov ecx, esi
mov edi, eax
call fcn.00408fc0
push edi
mov ecx, ebx
call fcn.00409240
jmp 0x40a7c5
cmp edi, 0x21
jne 0x40a740
push 1
mov ecx, esi
call fcn.0040cfb0
dec dword [esi + 0x10]
xor bl, bl
jmp 0x40a7ca
cmp edi, 0x3d
jne 0x40a8d3
push 0
mov ecx, esi
call fcn.0040cfb0
dec dword [esi + 0x10]
xor bl, bl
jmp 0x40a7ca
test dword [esi + 0x40], 0x200
je 0x40a77f
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.0040a930
mov ecx, esi
mov edi, eax
call fcn.00408fc0
push edi
mov ecx, ebx
call fcn.00409240
jmp 0x40a7c5
inc dword [esi + 0xc]
lea ecx, [esi + 0x24]
push dword [esi + 0xc]
call fcn.004092d0
mov ecx, esi
mov ebx, eax
call fcn.00408fc0
push ebx
lea ecx, [esi + 0x24]
call fcn.00409240
mov eax, dword [esi + 0xc]
push ecx
inc eax
lea ecx, [esi + 0x14]
push eax
call fcn.00409b10
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x14]
and edx, 0x1f
shr eax, 5
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
dec dword [esi + 0x10]
mov bl, 1
cmp dword [esi + 0x4c], 0x29
jne 0x40a8c5
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40a820
cmp word [eax], 0x5c
jne 0x40a81d
add eax, 2
cmp eax, ecx
je 0x40a815
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40a7ff
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x40a811
cmp ecx, 0x29
je 0x40a811
test dl, 0x10
jne 0x40a815
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x40a811
cmp ecx, 0x7d
jne 0x40a815
mov cl, 1
jmp 0x40a817
xor cl, cl
test cl, cl
je 0x40a81d
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.00408e10
test bl, bl
je 0x40a8b0
jmp 0x40a8a9
cmp eax, 0x5e
jne 0x40a84b
push 0x14
call fcn.0043c7ea
mov ecx, eax
mov dword [ecx + 4], 2
jmp 0x40a4a0
cmp eax, 0x24
jne 0x40a865
push 0x14
call fcn.0043c7ea
mov ecx, eax
mov dword [ecx + 4], 3
jmp 0x40a4a0
cmp eax, 0x2a
je 0x40a8e1
cmp eax, 0x2b
je 0x40a8e1
cmp eax, 0x3f
je 0x40a8e1
cmp eax, 0x7b
je 0x40a8e1
cmp eax, 0x7d
jne 0x40a887
test dword [esi + 0x50], 0x10000000
je 0x40a8da
cmp eax, 0x5d
jne 0x40a895
test dword [esi + 0x50], 0x10000000
je 0x40a8cc
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040c0e0
mov ecx, esi
call fcn.0040a320
mov ecx, esi
call fcn.0040bfa0
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x40a390
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.00408e00
push 4
call fcn.00408e00
push 0xe
call fcn.00408e00
push 6
call fcn.00408e00
push 0xa
call fcn.00408e00
int3