Function at 0x405a40
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
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x405f2d
cmp eax, 0x7c
je 0x405f2d
cmp eax, 0x29
jne 0x405a7c
cmp dword [esi + 0x10], 0
jne 0x405f2d
test dword [esi + 0x50], 0x10000000
je 0x405f3d
cmp eax, 0x2e
jne 0x405b58
push 0x14
call fcn.00408f30
mov ecx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 4], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
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 edx, dword [eax + 0xc]
test edx, edx
je 0x405ae2
mov dword [ecx + 0xc], edx
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 edx, dword [esi + 8]
cmp eax, edx
je 0x405d31
cmp byte [eax], 0x5c
jne 0x405d2e
lea ecx, [eax + 1]
cmp ecx, edx
je 0x405d27
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x405b25
mov bl, byte [ecx]
cmp bl, 0x28
je 0x405d11
cmp bl, 0x29
je 0x405d11
test dl, 0x10
jne 0x405d27
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x405d11
cmp dl, 0x7d
jne 0x405d27
mov dl, 1
test dl, dl
cmovne eax, ecx
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.004048d0
jmp 0x405f18
cmp eax, 0x5c
jne 0x405cba
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x405ba9
cmp byte [eax], 0x5c
jne 0x405ba6
lea ecx, [eax + 1]
cmp ecx, edx
je 0x405b9f
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x405b8a
mov bl, byte [ecx]
cmp bl, 0x28
je 0x405b9b
cmp bl, 0x29
je 0x405b9b
test dl, 0x10
jne 0x405b9f
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x405b9b
cmp dl, 0x7d
jne 0x405b9f
mov dl, 1
jmp 0x405ba1
xor dl, dl
test dl, dl
cmovne eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004048d0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x405c2f
cmp byte [esi + 0x48], 0x62
jne 0x405c2f
push 0x14
call fcn.00408f30
mov ecx, eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
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 edx, dword [eax + 0xc]
test edx, edx
je 0x405c1d
mov dword [ecx + 0xc], edx
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.004059e0
jmp 0x405f1f
test eax, eax
je 0x405cae
cmp byte [esi + 0x48], 0x42
jne 0x405cae
push 0x14
call fcn.00408f30
mov ecx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 4], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
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 edx, dword [eax + 0xc]
test edx, edx
je 0x405c96
mov dword [ecx + 0xc], edx
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.004059e0
jmp 0x405f1f
mov ecx, esi
call fcn.00406a20
jmp 0x405f18
cmp eax, 0x5b
jne 0x405d3d
mov ecx, esi
call fcn.004059e0
mov ecx, esi
call fcn.00406930
cmp dword [esi + 0x4c], 0x5d
jne 0x405f44
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x405d31
cmp byte [eax], 0x5c
jne 0x405d2e
lea ecx, [eax + 1]
cmp ecx, edx
je 0x405d27
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x405d00
mov bl, byte [ecx]
cmp bl, 0x28
je 0x405d11
cmp bl, 0x29
je 0x405d11
test dl, 0x10
jne 0x405d27
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x405d11
cmp dl, 0x7d
jne 0x405d27
mov dl, 1
test dl, dl
cmovne eax, ecx
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.004048d0
jmp 0x405f18
xor dl, dl
test dl, dl
cmovne eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004048d0
jmp 0x405f18
cmp eax, 0x28
jne 0x405e86
mov ecx, esi
call fcn.004059e0
inc dword [esi + 0x10]
mov eax, dword [esi + 0x50]
test eax, 0x8000000
jne 0x405d64
cmp dword [esi + 0x4c], 0x29
je 0x405f3d
test al, 0x20
je 0x405db5
cmp dword [esi + 0x4c], 0x3f
jne 0x405db5
mov ecx, esi
call fcn.004059e0
mov edi, dword [esi + 0x4c]
mov ecx, esi
call fcn.004059e0
cmp edi, 0x3a
je 0x405dbe
cmp edi, 0x21
jne 0x405d9c
push 1
mov ecx, esi
call fcn.00407940
dec dword [esi + 0x10]
xor bl, bl
jmp 0x405e1d
cmp edi, 0x3d
jne 0x405f4b
push 0
mov ecx, esi
call fcn.00407940
dec dword [esi + 0x10]
xor bl, bl
jmp 0x405e1d
test dword [esi + 0x40], 0x200
je 0x405dc7
mov ecx, esi
call fcn.004078b0
jmp 0x405e18
inc dword [esi + 0xc]
lea ecx, [esi + 0x24]
push dword [esi + 0xc]
call fcn.00404e30
mov ecx, esi
mov ebx, eax
call fcn.00404a70
push ebx
lea ecx, [esi + 0x24]
call fcn.00404d90
mov eax, dword [esi + 0xc]
push ecx
xor ecx, ecx
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [esi + 0x14]
call fcn.00404230
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 0x405f3d
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x405e72
cmp byte [eax], 0x5c
jne 0x405e6f
lea ecx, [eax + 1]
cmp ecx, edx
je 0x405e68
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x405e53
mov dl, byte [ecx]
cmp dl, 0x28
je 0x405e64
cmp dl, 0x29
je 0x405e64
mov edx, dword [esi + 0x50]
test dl, 0x10
jne 0x405e68
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x405e64
cmp dl, 0x7d
jne 0x405e68
mov dl, 1
jmp 0x405e6a
xor dl, dl
test dl, dl
cmovne eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004048d0
test bl, bl
je 0x405f1f
jmp 0x405f18
cmp eax, 0x5e
jne 0x405ead
push 0x14
call fcn.00408f30
mov ecx, eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], 2
jmp 0x405bdd
cmp eax, 0x24
jne 0x405ed4
push 0x14
call fcn.00408f30
mov ecx, eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], 3
jmp 0x405bdd
cmp eax, 0x2a
je 0x405f36
cmp eax, 0x2b
je 0x405f36
cmp eax, 0x3f
je 0x405f36
cmp eax, 0x7b
je 0x405f36
cmp eax, 0x7d
jne 0x405ef6
test dword [esi + 0x50], 0x10000000
je 0x405f52
cmp eax, 0x5d
jne 0x405f04
test dword [esi + 0x50], 0x10000000
je 0x405f44
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00406d40
mov ecx, esi
call fcn.004059e0
mov ecx, esi
call fcn.00406bb0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x405a57
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.004048c0
push 5
call fcn.004048c0
push 4
call fcn.004048c0
push 0xe
call fcn.004048c0
push 6
call fcn.004048c0
int3